ommon reports stale error queue emails

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

ommon reports stale error queue emails

Postby burhankhalid » Sat Apr 08, 2006 5:10 am

Hello:

I am an issue where ommon's email output is showing me Error Queue contents that no longer exist? Meaning I cannot using omresub to send the message through because it cannot find the message by the reference number.

Also, the messages are quite old (they are showing from 04.04.06) how can I purge these messages from the log?

Thanks :)

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Apr 10, 2006 3:55 am

If you want to delete them, you can use either omqdump from the command line (though it is a dangerous tool if used incorrectly), or you can delete it via SAC (Server Info, select the server name, expand Other Queues and select the queue in question. This will allow you to remove them).

Of course, if they're no longer in the queue, then there's something else wrong :)

omstat -q <queuename> will give you a list of contents on a queue, and ommon uses this internally.

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Mon Apr 10, 2006 5:51 am

That's just it -- SAC shows no messages in the queue, but ommon is showing them in its email. Its showing them as stuck on the error queue:

Code: Select all

                                       
                                       
             Scalix Monitor Output on Mon Apr 10 12:00:05 AST 2006
                      Sending computer is avalon.am-ul.com
                                       
                                       
                                       
                                       
      --------------------------------------------------------------------
                                       
                         Scalix's Error Queue Contents
                                       
                                       

-------------------

Reference Number:    200020                                                   
Message Id:          DB9042DFF17B4C49B3E0DBB3D58A930EFB107A(a)okrs0003.amers.i
Sender:              jxbryson / internet                                       
                     DDT1=RFC-822; DDV1=jxbryson@bechtel.c;                   
Subject:             Blond joke?                                               
Message Type:        MSG                                                       
Sent:                04.04.06                                               

[ ... many more trimmed ... ]


Then, when you check the queue :

Code: Select all

[root@avalon ~]# omstat -s | grep -Ei 'router|local|internet|sendmail'
Service Router                Started        04.04.06       0
Local Delivery                Started        04.04.06       0
Internet Mail Gateway         Started        04.04.06       0
Local Client Interface        Enabled        04.04.06       0
[root@avalon ~]# omstat -q SMERR
omstat : There are no messages on the queue

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Apr 10, 2006 8:06 am

It may be in the ERROR queue instead of SMERR. I suggest you check that as well.

Or you can use omqdump to show a summary of all queues (option s) to see if there are any queues with messages on them.

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Tue Apr 11, 2006 2:32 am

For some reason omqdump doesn't work for me. I am logged in as root, but it just hangs after the warning message, and then gives this error:

omqdump : [OM 11795] Access Denied!

I checked the man page, and I saw the option -p and I passed the root password to that, but still getting the same message.

I managed to clear the queue from the SAC.

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

Postby florian » Wed Apr 12, 2006 7:00 am

Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests