hello this could be the problem check this out I don't know where the locking databases are on your server, but mine are in /var/lock/samba. This is defined by the "lock directory" directive in the smb.conf file. If you don't have that directive explicitly defined in yours then it's using the default, which you can look up in the smb.conf(5) manual page.
Now that you know what the lock directory is, make sure it exists. If it does not exist, create it. If it exists, you probably have a permission error. My /var/lock/samba has the permission bits u=rwx,g=rx,o=rx (0755) and ownership root.root. That should fix it. If it doesn't let me know and I'll crack my brain. Don't forget to restart the Samba daemon via the /etc/rc.d/init.d script. from http://lists.q-linux.com/pipermail/ph-linux-newbie/2001-October/004351.html kasonovas (dharnaj sheth ) http://linuxdhanraj.tripod.com --- Deepak Bajaj <[EMAIL PROTECTED]> wrote: > Hi all > I have installed RH linux 7.2 server.After making > the > required changes to smb.conf file started samba > with start service smb. > Using smbstatus at the terminal i get an error: > Failed to open byte range locking database. > Error: Failed to initialize locking database > cant initialise locking module-exiting. > > I created locking.tdb file using the command > touch /var/cache/samba/locking.tdb as this file was > missing.Still the same error. > The linux machine is visible in the network > neighbour > hood of all the windows machines but on clicking the > linux machine i get a message network path not > found. > I tried to get samba working with all the lock set > to > off but still the same error. > > The changes made to smb.conf file are correct as i > have crosschecked with samba man pages serveral > times. > > I tried to same excersise with RH linux 7.3 but > again > the same errors > > I am stuck with this problem since over a > month.Please > if somebody could help me with this. > > Regards > > Deepak > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > > ================================================ > To unsubscribe, send email to [EMAIL PROTECTED] > with unsubscribe in subject header. Check archives > at http://www.mail-archive.com/ilugd%40wpaa.org > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ================================================ To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org