Post by WinstonI need help .. How could i solve this samba error ?
Please advice me .
Samba version 2.2.1a
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 assume that you're doing it with smbstatus, am I right?
Only thing that comes to my mind is to check file/dir perms:
~ $ ls -l /var/lock/samba/ -a
razem 99
drwxr-xr-x 2 root root 1024 gru 19 13:54 .
drwxr-xr-x 5 root root 1024 gru 19 01:02 ..
-rw-r--r-- 1 root root 696 gru 19 10:35 brlock.tdb
-rw-r--r-- 1 root root 1200 gru 19 13:54 browse.dat
-rw-r--r-- 1 root root 40960 gru 19 13:55 connections.tdb
-rw-r--r-- 1 root root 8192 gru 19 13:55 locking.tdb
-rw------- 1 root root 696 gru 17 21:25 messages.tdb
-rw-r--r-- 1 root root 20 gru 17 21:25 nmbd.pid
-rw------- 1 root root 8192 gru 19 10:35 ntdrivers.tdb
-rw------- 1 root root 8192 gru 19 10:35 printing.tdb
-rw-r--r-- 1 root root 8192 gru 19 13:53 sessionid.tdb
-rw------- 1 root root 8192 gru 19 10:35 share_info.tdb
-rw-r--r-- 1 root root 20 gru 17 21:25 smbd.pid
-rw-r--r-- 1 root root 8192 gru 17 21:25 unexpected.tdb
-rw-r--r-- 1 root root 1738 gru 19 13:54 wins.dat
What about that?
--
Tomasz Orzechowski