Hi I am running samba 2.0.5 on a Sun Sparc machine. I had Samba running until recently when the root and other passwords were changed. Now it doesn't work. Using SWAT, I get the the following error: Couldn't to open status lock file /usr/local/samba/var/locks/STATUS..LCK I can create the file manually using # touch STATUS..LCK This gets rid of the error, but it still doesn't work I raised the debug level for smbd to 3 using the following command: # smbd -D -d 3 Here is the output of the log.smb file 1 [2001/02/18 18:20:14, 1] smbd/server.c:main(628) 2 smbd version 2.0.5 started. 3 Copyright Andrew Tridgell 1992-1998 4 [2001/02/18 18:20:14, 2] smbd/server.c:main(632) 5 uid=0 gid=0 euid=0 egid=0 6 [2001/02/18 18:20:14, 3] param/loadparm.c:init_globals(855) 7 Initialising global parameters 8 [2001/02/18 18:20:14, 3] param/params.c:pm_process(538) 9 params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf" 10 [2001/02/18 18:20:14, 3] param/loadparm.c:do_section(2224) 11 Processing section "[global]" 12 doing parameter workgroup = TESTGROUP 13 doing parameter encrypt passwords = Yes 14 [2001/02/18 18:20:14, 2] param/loadparm.c:do_section(2241) 15 Processing section "[tmp]" 16 doing parameter comment = temporary files 17 doing parameter path = /tmp 18 [2001/02/18 18:20:14, 2] param/loadparm.c:do_section(2241) 19 Processing section "[sybase]" 20 doing parameter path = /export/home/sybase 21 doing parameter read only = No 22 [2001/02/18 18:20:14, 3] param/loadparm.c:lp_load(2563) 23 pm_process() returned Yes 24 [2001/02/18 18:20:14, 3] param/loadparm.c:lp_add_ipc(1537) 25 adding IPC service 26 [2001/02/18 18:20:14, 2] lib/interface.c:interpret_interfaces(213) 27 Added interface ip=200.1.1.67 bcast=200.1.1.255 nmask=255.255.255.0 28 [2001/02/18 18:20:14, 1] smbd/files.c:file_init(216) 29 file_init: Information only: requested 10000 open files, 1014 are available. 30 [2001/02/18 18:20:14, 3] smbd/server.c:main(680) 31 loaded services 32 [2001/02/18 18:20:14, 3] smbd/server.c:main(688) 33 Becoming a daemon. 34 [2001/02/18 18:20:14, 3] lib/util_sock.c:open_socket_in(898) 35 bind succeeded on port 139 36 [2001/02/18 18:20:14, 2] smbd/server.c:open_sockets(183) 37 waiting for a connection 38 [2001/02/18 18:20:46, 0] locking/shmem_sysv.c:sysv_shm_open(597) 39 ERROR: root did not create the semaphore 40 [2001/02/18 18:20:46, 0] locking/locking.c:locking_init(174) 41 ERROR: Failed to initialise share modes 42 [2001/02/18 18:20:46, 0] locking/shmem_sysv.c:sysv_shm_open(597) 43 ERROR: root did not create the semaphore 44 [2001/02/18 18:20:46, 0] locking/locking.c:locking_init(174) 45 ERROR: Failed to initialise share modes Thanks in advance