Page 1 of 1

Messages on the Scalix SMERR Queue

Posted: Mon Jan 02, 2006 12:10 pm
by rudi
Hi,

there was a problem with the connection (VPN) between two scalix servers. The scalix servers synchronisize there directorys (DIRSYNC). Now I have these messages in the SMERR Queue:

94497 +DIRSYNC / ost, MSG L DIRECTORY SYNCHRONIZATION - 12.29.05
96321 +DIRSYNC / ost, MSG L DIRECTORY SYNCHRONIZATION - 12.30.05

Is this a problem or can I delete this error queue.

Thanks for help!

Posted: Mon Jan 02, 2006 1:20 pm
by florian
the ERROR and SMERR queues are "holds" for messages being blocked for correctable configuration (or networking!) errors.

In normal case, you would just resubmit the message using the omresub command.

In the specific example, these seem to be message related to scalix-2-scalix directory/address book synchronisation. The DIRSYNC service will resend those after a timeout, so losing those message won't hurt too much. omresub will also enable you to delete the messages.

Both, SMERR and ERROR queues should regularly be checked for stuck messages. The ommaint script provided as an example monitoring script will include those checks. It can be found in the Scalix Admin Resource Kit subdirectory on your CD or in your tarball.

Cheers,
Florian.

[OM 0] Fatal Error

Posted: Thu Mar 30, 2006 3:54 am
by rudi
Hi,

I have a problem with the sendmail error queue:

omstat -q smerr:

omstat : [OM 1001] OM
omstat : [OM 1001] Transaction File record size is out of bounds
2909249 +DIRSYNC / mail, MSG L DIRECTORY SYNCHRONIZATION - 03.28.06
2909121 +DIRSYNC / mail, MSG L DIRECTORY SYNCHRONIZATION - 03.28.06

When I want to resub the messages, there comes the following error:

omresub -q smerr:

omresub : [OM 0] Fatal Error
Please check the LOG files

Why happens this. How can I delete the mail from the error queue?

Thanks for help!!!

Posted: Thu Mar 30, 2006 4:10 am
by florian
Nice...... ;-) Actually not so much.

You might want to try /opt/scalix/diag/omqdump

When the initial welcome message appears, enter A40E (will not be echoed) and hit return; you should get to the main menu.

That should be "pretty" self-explaining, at least for deleting/purging messages off the queue.

However, the usual disclaimers apply; this is a low-level diagnostics too that can cause damage and actually lose data for you if used incorrectly. Please use with caution.

Let us know if you got anywhere with this...

Florian.

Posted: Thu Mar 30, 2006 11:20 am
by rudi
Hi,

Ok, I start the program /opt/scalix/diag/omqdump and enter A40E, choose the option D for deleting msgs from queue. Next is to enter SMERR an after that I have to enter at the prompt "Repeats (0):" something.

What I have to enter here?

Posted: Thu Mar 30, 2006 12:05 pm
by axsom1
I think thats for the number of messages to delete. If you have 2 messages in the error queue you want to delete enter 2.

I'm not 100% sure though...haven't used the tool in forever.

John

Posted: Tue Apr 11, 2006 6:48 am
by rudi
Yes, this is the number of messages. But when I want enter the program /opt/scalix/diag/omqdump I have to enter A41E not A40E.

Well, the messages was deleted from the queue.

Posted: Wed Apr 12, 2006 6:54 am
by florian
As it's a well known secret anyone, I might also post it here.

The password for omqdump (to keep the uninitated out, this is secured through required root-level shell access really) is always of the form

A<XX>E

where <XX> is the current day of the month+10, so today it would actually be A22E.

:-)
Florian.