Problem solved. An old post from Lars pointed me to ipcs.hpbin.sys and
Samba's problem turned out to be an abandoned semaphore or shared memory.
As manager.sys type ipcs.hpbin -a
To release items type (ID listed by ipcs)
for message queues ipcrm.hpbin q,ID
for shared memory ipcrm.hpbin m,ID
for semaphores ipcrm.hpbin s,ID
Doing this with no jobs or other sessions running makes abandoned items
easy to locate. For those who missed the memo, these are resources that
can be left hanging particularly by using abortjob instead of kill when
stopping Apache or Samba.
Others have posted the kill commands. Here's one for Apache.
xeq sh.hpbin.sys "-c 'kill -TERM `cat /APACHE/PUB/logs/httpd.pid`'"
Frank Gribbin
On Wed, 12 Mar 2003 13:04:44 -0500, Frank Gribbin
<[log in to unmask]> wrote:
>Hi All,
>
>This morning I rebooted (powered off, start norecovery) in order to wake a
>sleeping tape drive and since then have been unable to see the HP's Samba
>shares. The log.smb below shows 2 successful opens yesterday and the first
>2 unsuccessful ones today. Historically, the first semgid has been 125.
>
>Also, SWAT won't deliver a Status screen while Apache and Reflection work
>fine.
>
>Any ideas would be appreciated ?
>
>Regards,
>
>Frank Gribbin
>Potter Anderson & Corroon LLP
>
>
>[2003/03/11 09:01:04, 1] smbd/server.c:main(641)
> smbd version 2.0.7 started.
> Copyright Andrew Tridgell 1992-1998
>[2003/03/11 09:01:05, 0] locking/shmem_sysv.c:sysv_shm_open(601)
> ERROR: root did not create the semaphore: semgid=125, rootgid=0
>[2003/03/11 09:01:05, 0] locking/shmem_sysv.c:sysv_shm_open(700)
> ERROR: root did not create the shmem
>[2003/03/11 09:01:06, 1] lib/system.c:sys_chroot(408)
> WARNING: no chroot!
>[2003/03/11 09:38:53, 1] smbd/server.c:main(641)
> smbd version 2.0.7 started.
> Copyright Andrew Tridgell 1992-1998
>[2003/03/11 09:38:53, 0] locking/shmem_sysv.c:sysv_shm_open(601)
> ERROR: root did not create the semaphore: semgid=125, rootgid=0
>[2003/03/11 09:38:53, 0] locking/shmem_sysv.c:sysv_shm_open(700)
> ERROR: root did not create the shmem
>[2003/03/11 09:38:53, 1] lib/system.c:sys_chroot(408)
> WARNING: no chroot!
>[2003/03/12 09:19:14, 1] smbd/server.c:main(641)
> smbd version 2.0.7 started.
> Copyright Andrew Tridgell 1992-1998
>[2003/03/12 09:19:15, 0] locking/shmem_sysv.c:sysv_shm_open(601)
> ERROR: root did not create the semaphore: semgid=1, rootgid=0
>[2003/03/12 09:19:15, 0] locking/shmem_sysv.c:sysv_shm_open(622)
> ERROR shmctl : can't IPC_SET. Error was Operation not permitted
>[2003/03/12 09:19:15, 0] locking/locking.c:locking_init(174)
> ERROR: Failed to initialise share modes
>[2003/03/12 09:19:15, 1] smbd/server.c:main(641)
> smbd version 2.0.7 started.
> Copyright Andrew Tridgell 1992-1998
>[2003/03/12 09:19:16, 0] locking/shmem_sysv.c:sysv_shm_open(601)
> ERROR: root did not create the semaphore: semgid=1, rootgid=0
>[2003/03/12 09:19:16, 0] locking/shmem_sysv.c:sysv_shm_open(622)
> ERROR shmctl : can't IPC_SET. Error was Operation not permitted
>[2003/03/12 09:19:16, 0] locking/locking.c:locking_init(174)
> ERROR: Failed to initialise share modes
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|