Page 1 of 1

Cannot clear error queue

Posted: Tue Oct 11, 2011 7:45 am
by RickC
Hi,

I seem to have an invalid message on my error queue and cannot remove it -

Option?l
Queue (ERROR):
Skips (0):
Repeats (99999):
Msg File = ~/data/0000057/0pkld6j
Access Count = 1
omqdump : [SYS 2] No such file or directory
Priority = Normal
TF Info Flags = 0
Filter Route =
Attach File #1 = ~/data/0000057/0pkld6h
Attach File #2 = ~/data/0000057/0pkld6k

****
Done


I have checked the directory and the message does not exist. how am I able to clear or reset the queue? Because it doesn't seem to exist, I cannot delete it or zap it.

Thanks,

Rick

Re: Cannot clear error queue

Posted: Tue Oct 11, 2011 9:58 am
by les
Can you see it with "omstat -q error"

If so then you should be able to view/delete messages from the error queue in sac. If not this page should help....

http://www.scalix.com/wiki/index.php?title=Delete_messages_from_a_queue_using_omstat

the queue name for the error queue is "error".

Re: Cannot clear error queue (resolved)

Posted: Tue Oct 11, 2011 10:20 am
by RickC
Thanks, that script did the trick!