[Samba] locking.tdb - Failed to open byte range locking database

Gerald Carter jerry at samba.org
Fri Jul 26 08:45:02 GMT 2002

On Tue, 23 Jul 2002 bob.reven at unix1.trinity.ox.ac.uk wrote:

> 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? 

They are created by smbd as needed (when it needs to record 
lock information).  Ignore the error message reported by smbstatus.

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list