Page 1 of 1

Service Router Error

Posted: Tue Mar 20, 2007 7:17 am
by bsk
SERIOUS ERROR Service Router(Service Router) 03.20.07 12:14:59
[OM 5183] A Mapper error has been detected.
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.0.2/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.0.2/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/11.0.2/src/lib/rsl/rsl_match.c:1454[100,5183]

What is the problem?

Posted: Tue Mar 20, 2007 7:20 am
by ScalixSupport
Hi!

Seems you tried to configure Anti-Virus software, and Service Router crashes when it gets
permission denied error for scanning message. What else did you do or am I wrong?

Thanks,
Subir

Posted: Tue Mar 20, 2007 7:26 am
by bsk
Yes thats rigth. I am configured ClamAV but vscan is add to the scalix group. What can I do?

Posted: Tue Mar 20, 2007 7:29 am
by bsk
Thatr is the complete Error Log

ERROR Service Router(Service Router) 03.20.07 12:24:28
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: <none - expect greeting reply>
Reply received: 503 "ClamAV" cannot scan Scalix-owned file Access denied. ERROR


ERROR Service Router(Service Router) 03.20.07 12:24:28
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received: 220 Virus Scanning Client Ready


ERROR Service Router(Service Router) 03.20.07 12:24:28
[OM 5183] A Mapper error has been detected.
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.0.2/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.0.2/src/lib/rsl/rsl_match.c:244[100,5183]

Posted: Tue Mar 20, 2007 7:38 am
by ScalixSupport
Hi!

In /etc/clamd.conf, you need to make two changes,

Code: Select all

AllowSupplementaryGroups yes
TCPAddr 192.168.103.113

Note: the value for property TCPAddr should be your Scalix Server IP address.

Once you have done this, restart clamd service, and restart Service Router using the
commands below:

Code: Select all

omoff -wd 0 sr
omon sr


Thanks,
Subir

Posted: Tue Mar 20, 2007 7:55 am
by bsk
Thank you very much!

problem is solved!

Posted: Tue Mar 20, 2007 7:59 am
by ScalixSupport
You are always welcome. :)

- Subir

Posted: Sat Mar 31, 2007 3:03 am
by mmondok
I tried the suggestion above, but I'm still receiving these errors (vscan is a member of the Scalix group, too):

ERROR Service Router(Service Router) 03.31.07 03:01:22
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: <none - expect greeting reply>
Reply received: 503 "ClamAV" cannot scan Scalix-owned file Parse error at line 149: Option AllowSupplementaryGroups doesn't support arguments (got 'yes').


ERROR Service Router(Service Router) 03.31.07 03:01:22
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received: Can't parse the configuration file.


ERROR Service Router(Service Router) 03.31.07 03:01:22
[OM 5183] A Mapper error has been detected.
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/scalix-MAIN/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/scalix-MAIN/src/lib/rsl/rsl_match.c:244[100,5183]


SERIOUS ERROR Service Router(Service Router) 03.31.07 03:01:22
[OM 5183] A Mapper error has been detected.
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
-> rsl_CheckRuleValue
<- rsl_CheckRuleValue
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/scalix-MAIN/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/scalix-MAIN/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/scalix-MAIN/src/lib/rsl/rsl_match.c:1454[100,5183]

Posted: Mon Apr 02, 2007 2:50 am
by ScalixSupport
Hi mmondok!

Can you start a new forum post, with the informations such as what Scalix version you
use, the ClamAV version installed on the server, OS you use, and result for the commands
below:
omstat -a
omstat -s
ps ax | grep clam

Thanks,
Subir

clamav 0.90.2-1 and scalix 11.0.3

Posted: Wed May 02, 2007 12:37 am
by dconti
hi Guys,
i noticed same problem with CLamav 0.90.2-1 and Scalix 11.0.3.
after a reboot, the Service Router does not start properly.
If I issue a service scalix restart, then the Service Router will start.
If I changed the /etc/rc3.d startup order, then scalix will also start properly

Seems this is all happening due to wrong timing in the bootup sequence.

thanks
dino

Posted: Wed May 02, 2007 12:58 am
by ScalixSupport
Hi Dino!

Thanks for the information. For others, could you tell us what should be the correct order
then?

Thanks,
Subir

Posted: Wed May 02, 2007 1:05 am
by dconti
Hi Subir,
i have done the following:
cd /etc/rc3.d
mv S61clamd S41clamd
mv S81scalix S99scalix

then rebooted the server.
After a complete reboot i checked with "omstat -s" and service router was started.
That gives also the time when services were started which was just a few seconds after clamd which can be seen in /var/log/messages.

I have installed Scalix 11.03 + clamav-0.90-2.1 for about 5 times to make sure i am not messing it up and the only instance where i did not have to make this change is in a VMware setup.
Thanks
dino

Posted: Wed May 23, 2007 1:10 pm
by leiw

Posted: Thu May 24, 2007 2:29 am
by ScalixSupport
Hi!

We have a bug that has been fixed for ClamAV documentation:
http://bugzilla.scalix.com/show_bug.cgi?id=15031

Thanks,
Subir

Protection during Database-Load

Posted: Tue May 29, 2007 5:01 am
by peter-ulrich
I noticed the same Problem while starting the Linux-Server. The Problem is, that the Time to load the Virus-Signatures takes about 30 Sec's on my Systen. Now when Scalix starts, the Clamav-Engine is not yet ready.

I solfed this Problem on Startup by adding a Sleep-Command to the Clamav-Startup-Script, but the same Problem ocurs, when the Signatures are updated per 'freshclam' and the Database must reload again.

This takes again 30 Sec's where no Scanner is available and so all Mail passing the System in this Period is going to the ERROR-Queue where it must be resubmitted with

omresub -q ERROR

Now i am going to script around the Reloading-Problem to get the Mail-System work properly.

Best Regards

P. Ulrich