[Samba] Samba 2.2.5 - can't initialize locking module`

Ben Griffith bgriffit at email.unc.edu
Thu Aug 1 09:36:02 GMT 2002


-----[ mrambo at lsd.k12.mi.us wrote on 08/01/02 12:20:06 PM -0400 ]-----

--> [root at fvserver samba]# smbstatus
-->
--> 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
-->
-->
--> Does anyone know what causes this and how to correct it?

I have seen this after upgrades as well. It seems to go away if I do:

	smbclient -L host -U user

This should return a list of the shares on the server. It usually seems to 
clear the locking error. If not, then actually connect to one of those 
shares:

	smbclient //server/share -U user

This should log you in, you can 'ls' and look at the contents. Then 
'quit'. This has always worked for me.

HTH

     --Ben--

-----------------------
Ben Griffith
bgriffit at email.unc.edu
-----------------------




More information about the samba mailing list