Page 1 of 1

Service Router Errors

Posted: Thu Feb 23, 2006 1:44 pm
by axsom1
Hello,

Our server is backed up offline, so we shut down Scalix nightly. This morning I noticed a message in the corrupt messages queue from 02/22/2006 at 17:58. Since we shut down Scalix at midnight, I though a resubmit would do the trick but it still ends up in the corrupt message queue.

Here are the errors returned to /var/opt/scalix/logs/fatal:

ERROR Service Router (Service Router) 02.23.06 09:28:13
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply Received: 271 No viruses found
Pid of logging process 32335



ERROR Service Router (Service Router) 02.23.06 09:38:13
[OM 5183] A mapper error has been detected.
Pid of logging process: 32335
Current errno value: 4



ERROR Service Router (Service Router) 02.23.06 09:38:13
[OM 5183] A mapper error has been detected.
Pid of logging process: 32335


Is this an error with the virus scanning script? This is the only message I'm having a problem with, everything else seems to be working.

We are running Scalix 9.2.1 and the client that sent this is on connect 9.4.2.

Thanks,
John

Posted: Thu Feb 23, 2006 1:55 pm
by axsom1
So I disabled virus scanning and the email went through without any problems.

The attached file was a .ppt. Is there some setting in ClamAV or in omvscan.map that I should modify to prevent this?

The audit log shows this file as being 24850432 in size..is this bytes or kbytes?

We don't have any restrictions on file size...but maybe I'm missing something.

Thanks,
John

Posted: Sat Feb 25, 2006 7:58 am
by florian
The file size is in bytes; however, it might be large enough that the virus scanner runs into a timeout. There is a general.cfg parameter to modify this timeout; unfortunately, I don't have it on me right now and my current network situation here in South Africa does not allow me to access our VPN to check it out, so maybe someone else could jump in here.

Hope this helps,
Florian.

Posted: Sat Feb 25, 2006 9:44 am
by florian
OK, in the meantime I've made it to the airport and my VPN works here.... :-)

Please add the following line to your /var/opt/scalix/sys/general.cfg file:

Code: Select all

RSL_MAPPER_READ_TIMEOUT=120


This is the timeout for the virus scanner interface in seconds; believe the default is 30 which is to short for some emails, also depending on the speed of your machine.

You need to restart the service router to activate the change:

Code: Select all

omoff -d 0 -w router; omon -w router


Finally, your messages that didn't make it and got the router to abort or shurtdown, will probably be on the ERROR queue; this can be checked by issueing the following command:

Code: Select all

omstat -q ERROR


In case you find messages there, these can be resubmitted for delivery using the

Code: Select all

omresub -q ERROR


command. Should you rather want to delete them, add a "-i" option to the omresub command line and it will prompt you for resubmit/delete for every message.

Hope this helps,
Florian.

Posted: Mon Feb 27, 2006 12:22 pm
by axsom1
Thanks Florian...I will give this a try.

John