Operating System - HP-UX
1838661 Members
7877 Online
110128 Solutions
New Discussion

HPUX 10.20 Missing Semaphores

 
Michael Mcgurl
New Member

HPUX 10.20 Missing Semaphores

ipcs command does not return any message queues, shared
memory or semaphores on a machine known to be
using semaphores when the command was invoked.

What needs to be done to get ipcs to return the
normal result set. ipcrm was not used to clear semaphores.

Any suggestions?
2 REPLIES 2
Paul Hite_2
Frequent Advisor

Re: HPUX 10.20 Missing Semaphores

Well, first of all /usr/bin/ipcs must have its groups set to sys and must have
a mode of 2555. That is, it must be setgid to sys.

Both /dev/kmem and /stand/vmunix must be readable by the group sys.

Finally, /stand/vmunix must be an image of the currently executing kernel. If
you rebuild the kernel and create a new /stand/vmunix, programs like ipcs will
possibly fail until after a reboot.

If it's not one of these, then I'm stumped.
Steve White_2
New Member

Re: HPUX 10.20 Missing Semaphores

I had a server running 10.20 and was unable to get ipcs to work properly. I ended up applying a patch to the posix shell and it then worked fine.