[Samba] Re: Failed to open byte range locking database

Gerald Carter jerry at samba.org
Mon May 6 12:44:02 GMT 2002


On Fri, 3 May 2002, David W. Chapman Jr. wrote:

> On Fri, May 03, 2002 at 10:56:49AM -0500, David W. Chapman Jr. wrote:
> > I found this in my log.nmbd with -d10
> > 
> > [2002/05/03 10:54:04, 8] lib/util.c:fcntl_lock(1302)
> >   fcntl_lock 4 8 0 1 3
> > [2002/05/03 10:54:04, 8] lib/util.c:fcntl_lock(1340)
> >   fcntl_lock: Lock call successful
> > [2002/05/03 10:54:04, 5] tdb/tdbutil.c:tdb_log(492)
> >   tdb(unknown): tdb_brlock failed (fd=5) at offset 4 rw_type=3 
> > lck_type=8
> > [2002/05/03 10:54:04, 3] nmbd/nmbd.c:main(861)
> 
> Apparently smbd or nmbd(whichever creates it), isn't creating 
> locking.tdb
> 
> When I take a locking.tdb from another machine, it seems to work 
> great.  I'm running FreeBSD 4.5-STABLE and this is with samba.2.2.4

Easy to reproduce.  I'll fix it soon.










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-technical mailing list