Daniel_Casey@jbhunt.com
2000-Dec-14 19:06 UTC
samba on solaris 2.8 not creating STATUS..LCK file
Subject says it all. If I start Samba with smbd -D and look at /usr/local/samba/var/log.smb I get: [2000/12/14 12:56:38, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 1014 are available. Pretty normal I believe, but if I type smbstatus, I get: Couldn't open status file /usr/local/samba/var/locks/STATUS..LCK The file isn't there and ps -ef | grep smbd shows the process running. Any ideas? Thanks, Daniel
Daniel, On Thu, 14 Dec 2000 13:06:18 -0600, Daniel_Casey@jbhunt.com wrote:>Subject says it all. If I start Samba with smbd -D >and look at /usr/local/samba/var/log.smb I get: > >[2000/12/14 12:56:38, 1] smbd/files.c:file_init(216) > file_init: Information only: requested 10000 open files, 1014 are >available. > >Pretty normal I believe, but if I type smbstatus, I get: > >Couldn't open status file /usr/local/samba/var/locks/STATUS..LCKPretty normal (and pretty confusing :-). First mount something. Then retype smbstatus. STATUS..LCK is created with the first mount. Regards, Robert -- --------------------------------------------------------------- Robert.Dahlem@gmx.net Fax +49-69-432647 --------------------------------------------------------------- Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email software; far better than Outlook. Try it sometime.
Daniel_Casey@jbhunt.com
2000-Dec-15 01:26 UTC
samba on solaris 2.8 not creating STATUS..LCK file
Well, I tried to make a connection to /tmp on my Samba server and log.smb shows: [2000/12/14 19:22:45, 0] locking/shmem_sysv.c:sysv_shm_open(597) ERROR: root did not create the semaphore [2000/12/14 19:22:45, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2000/12/14 19:22:45, 0] locking/shmem_sysv.c:sysv_shm_open(597) ERROR: root did not create the semaphore [2000/12/14 19:22:45, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes Here's my definition in smb.conf: [tmp] comment = Temporary file space path = /tmp read only = no public = yes "Robert Dahlem" To: "Daniel_Casey@jbhunt.com" <Daniel_Casey@jbhunt.com>, <Robert.Dahle "samba@us5.samba.org" <samba@us5.samba.org> m@gmx.net> cc: Subject: Re: samba on solaris 2.8 not creating STATUS..LCK file 12/14/2000 18:46 Please respond to "Robert Dahlem" Daniel, On Thu, 14 Dec 2000 13:06:18 -0600, Daniel_Casey@jbhunt.com wrote:>Subject says it all. If I start Samba with smbd -D >and look at /usr/local/samba/var/log.smb I get: > >[2000/12/14 12:56:38, 1] smbd/files.c:file_init(216) > file_init: Information only: requested 10000 open files, 1014 are >available. > >Pretty normal I believe, but if I type smbstatus, I get: > >Couldn't open status file /usr/local/samba/var/locks/STATUS..LCKPretty normal (and pretty confusing :-). First mount something. Then retype smbstatus. STATUS..LCK is created with the first mount. Regards, Robert -- --------------------------------------------------------------- Robert.Dahlem@gmx.net Fax +49-69-432647 --------------------------------------------------------------- Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email software; far better than Outlook. Try it sometime.
Daniel, On Thu, 14 Dec 2000 19:26:59 -0600, Daniel_Casey@jbhunt.com wrote:>Well, I tried to make a connection to /tmp on my >Samba server and log.smb shows: > >[2000/12/14 19:22:45, 0] locking/shmem_sysv.c:sysv_shm_open(597) > ERROR: root did not create the semaphore >[2000/12/14 19:22:45, 0] locking/locking.c:locking_init(174) > ERROR: Failed to initialise share modesThis is something completely different (STATUS..LCK is just something that follows) and a serious problem with Samba on your system. If this is Samba 2.0.5a or earlier, it is a known problem. Please upgrade to 2.0.7 in this case. Regards, Robert -- --------------------------------------------------------------- Robert.Dahlem@gmx.net Fax +49-69-432647 --------------------------------------------------------------- Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email software; far better than Outlook. Try it sometime.
Daniel, This may seem like a stupid question but does the complete path exist? i.e.. the directory /usr/local/samba/var/locks/ Scott. Message: 33 Subject: samba on solaris 2.8 not creating STATUS..LCK file To: samba@us5.samba.org From: Daniel_Casey@jbhunt.com Date: Thu, 14 Dec 2000 13:06:18 -0600 Subject says it all. If I start Samba with smbd -D and look at /usr/local/samba/var/log.smb I get: [2000/12/14 12:56:38, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 1014 are available. Pretty normal I believe, but if I type smbstatus, I get: Couldn't open status file /usr/local/samba/var/locks/STATUS..LCK The file isn't there and ps -ef | grep smbd shows the process running. Any ideas? Thanks, Daniel -- __________________________________________________________________ Scott Lawson Systems Manager Department Of Information Services St. George's Hospital Medical School Tooting London SW17 0RE UK P: 44 (0)208 725 2896 F: 44 (0)208 725 3583 mailto:s.lawson@sghms.ac.uk http://www.sghms.ac.uk Quote of the week : "The difference between 'involvement' and 'commitment' is like a bacon-and-eggs breakfast: the chicken was 'involved' - the pig was 'committed'." __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: s.lawson.vcf Type: text/x-vcard Size: 319 bytes Desc: Card for Scott Lawson Url : http://lists.samba.org/archive/samba/attachments/20001215/b681c168/s.lawson.vcf
Daniel_Casey@jbhunt.com
2000-Dec-15 15:30 UTC
samba on solaris 2.8 not creating STATUS..LCK file
Not a stupid question. Yes, the path exists. Scott Lawson <s.lawson@sgh To: Daniel_Casey@jbhunt.com ms.ac.uk> cc: samba@samba.org Subject: RE : samba on solaris 2.8 not creating STATUS..LCK file 12/15/2000 03:33 Daniel, This may seem like a stupid question but does the complete path exist? i.e.. the directory /usr/local/samba/var/locks/ Scott. Message: 33 Subject: samba on solaris 2.8 not creating STATUS..LCK file To: samba@us5.samba.org From: Daniel_Casey@jbhunt.com Date: Thu, 14 Dec 2000 13:06:18 -0600 Subject says it all. If I start Samba with smbd -D and look at /usr/local/samba/var/log.smb I get: [2000/12/14 12:56:38, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 1014 are available. Pretty normal I believe, but if I type smbstatus, I get: Couldn't open status file /usr/local/samba/var/locks/STATUS..LCK The file isn't there and ps -ef | grep smbd shows the process running. Any ideas? Thanks, Daniel -- __________________________________________________________________ Scott Lawson Systems Manager Department Of Information Services St. George's Hospital Medical School Tooting London SW17 0RE UK P: 44 (0)208 725 2896 F: 44 (0)208 725 3583 mailto:s.lawson@sghms.ac.uk http://www.sghms.ac.uk Quote of the week : "The difference between 'involvement' and 'commitment' is like a bacon-and-eggs breakfast: the chicken was 'involved' - the pig was 'committed'." __________________________________________________________________ (See attached file: s.lawson.vcf) -------------- next part -------------- A non-text attachment was scrubbed... Name: s.lawson.vcf Type: application/octet-stream Size: 331 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20001215/4e90af37/s.lawson.obj
Daniel, You've probably already checked this but... 1. Check the directory permissions in the path to the STATUS..LCK file. 2. Check the STATUS..LCK file permissions. Make sure the permissions are such that the smb process can open and read all directories in the path and the STATUS..LCK file itself. Dennis