Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Tips and Tricks _ Smbstatus

Posted by: Robert83 Mar 28 2004, 07:01 AM

Hi,

you have this error when typing smbstatus?

CODE
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


I was using Samba 3.x.x and had the same error, I've solved it like this :
1. get the latest samba-client [yum install samba-client]
2. smbclient -L host -U user
3. smbclient //server/share -U user
4. ls
5. quit

type again smbstatus and everything is working now smile.gif

Sincerely
Robert B

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)