Messages on the Scalix SMERR Queue

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Messages on the Scalix SMERR Queue

Postby rudi » Mon Jan 02, 2006 12:10 pm

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!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Jan 02, 2006 1:20 pm

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.
Florian von Kurnatowski, Die Harder!

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

[OM 0] Fatal Error

Postby rudi » Thu Mar 30, 2006 3:54 am

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!!!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Mar 30, 2006 4:10 am

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.
Florian von Kurnatowski, Die Harder!

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Thu Mar 30, 2006 11:20 am

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?

axsom1
Posts: 69
Joined: Tue Aug 17, 2004 12:31 pm

Postby axsom1 » Thu Mar 30, 2006 12:05 pm

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

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Tue Apr 11, 2006 6:48 am

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.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Apr 12, 2006 6:54 am

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.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 17 guests