[Samba] locking.tdb - Failed to open byte range locking database
bob.reven at unix1.trinity.ox.ac.uk
bob.reven at unix1.trinity.ox.ac.uk
Tue Jul 23 10:09:02 GMT 2002
i have taken a default intel redhat 7.2 machine which came with
samba 2.2.1a and removed samba, samba-common, samba-client and
samba-swat.
i also removed /etc/samba and /var/lock/samba and all samba log files
i then installed the samba RPM for samba 2.2.5 from:
http://se.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.2/samba-2.2.5-
1.i386.rpm
i then installed this with rpm -ivh samba-2.2.5-1.i386.rpm and samba
appears to work but smbstatus reports the following:
Samba version 2.2.5
Service uid gid pid machine
----------------------------------------------
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting
the files locking.tdb and brlock.tdb are indeed missing. in fact looking in
/var/lock/samba i can only see:
-rw-r--r-- 1 root root 8192 Jul 23 16:43 connections.tdb
-rw------- 1 root root 696 Jul 23 16:43 messages.tdb
-rw-r--r-- 1 root root 8192 Jul 23 16:43 unexpected.tdb
why has locking.tdb not been created either by the RPM or more likely when
samba was started.
can anyone suggest how to resolve this?
any advice would be most appreciated
sincerely,
bob reven
More information about the samba
mailing list