Operating System - HP-UX
1824218 Members
3150 Online
109669 Solutions
New Discussion юеВ

semget failed for the semaphore

 
SOLVED
Go to solution
Ray Humpage
Frequent Advisor

semget failed for the semaphore

fbackup(1010): semget failed for the semaphore

I am getting a semaphore error.

Not sure why. I am only using 29?

# ipcs -sp|wc -l
29

semmni 500
semmns 511
semmnu 50
4 REPLIES 4
Hakan Aribas
Valued Contributor
Solution

Re: semget failed for the semaphore

Hi,

I think someone did "kill -9" to your fbackup. When a process was killed by "-9", system has not released the memory of this process. This probably also goes for other memory related resources (e.g. the shared memory segments). I am not exacty sure, but you have to reboot the system in order use fbackup again..
Robert-Jan Goossens
Honored Contributor

Re: semget failed for the semaphore

Hi Ray,

Check this doc.

Title: What is: fbackup(1010): semget failed for the semaphore error?
Document ID: KBRC00004061
Last Modified Date: 8/6/05

US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080080281

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080080281

Hope this helps,
Robert-Jan
Ray Humpage
Frequent Advisor

Re: semget failed for the semaphore

The fabackup was run by accident the other day and it was killed with a kill -9 because it wouldn't respond to any other kill command.

Is rebooting the only way to clear the memory? Can't I use IPCRM to free it? How do I identify which one to remove?
Hakan Aribas
Valued Contributor

Re: semget failed for the semaphore

Hi Ray,

Unfortunately, the only way is rebooting the system. May be another way, but I'm sorry I don't know..