Operating System - HP-UX
1832645 Members
3192 Online
110043 Solutions
New Discussion

Remove a particular message queue .

 
SOLVED
Go to solution
Ashley_23
Occasional Advisor

Remove a particular message queue .

Hi friends ,
I am using an application called ControlM server for scheduling on HP UX 11.00 .
The processes related to that got killed somehow , and now while starting i get an error message that .

WARNING ipc key: 0x00000063 is in use

None of the process related to controlm are running .
Then I did

# ipcs -q | grep controlm
T ID KEY MODE OWNER GROUP
q 143362 0x00000066 --rw-rw-rw- controlm controlm
q 69635 0x00000063 --rw-rw-rw- controlm controlm

Then i used ipcrm to kill those semid's .It says that sem id doesn't exists .I tried with the semkey option as well same error .

Please advise as what option should i use to remove these selected message queues .

Thanks in advance ...
3 REPLIES 3
Simon Hargrave
Honored Contributor

Re: Remove a particular message queue .

They are not semaphores they are message queues. Are you executing: -

# ipcrm -q 69635

If you are, what error are you getting in return?
Muthukumar_5
Honored Contributor
Solution

Re: Remove a particular message queue .

How did you try?

# ipcrm -q 14 (ipcrm -q ID)
# ipcrm -Q 362 (ipcrm -Q Key)

hth.
Easy to suggest when don't know about the problem!
Ashley_23
Occasional Advisor

Re: Remove a particular message queue .

Full points to Kumar , I used the ( ipcrm -q ) option and the message queue is killed .

Thanks for the quick answers ...
Bye..