Page 1 of 1

HELP!! Service router error

Posted: Fri Oct 20, 2006 11:26 am
by smjhays
I cannot send or receive emails (even if I send one to myself). I looked around in the SAC and found the Service Router service to be red. Here's the error log:

ERROR Service Router(Service Router) 10.20.06 11:23:31
[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 76: Option FixStaleSocket requires boolean argument.


ERROR Service Router(Service Router) 10.20.06 11:23:31
[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) 10.20.06 11:23:31
[OM 5183] A Mapper error has been detected.
<- cvc_enhCnvString
<- rsl_GetRuleValue
-> rsl_GetRuleValue
-> cvc_enhCnvString
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.0.0.196-beta/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.0.0.196-beta/src/lib/rsl/rsl_match.c:244[100,5183]


SERIOUS ERROR Service Router(Service Router) 10.20.06 11:23:31
[OM 5183] A Mapper error has been detected.
<- rsl_GetRuleValue
-> rsl_GetRuleValue
-> cvc_enhCnvString
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.0.0.196-beta/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.0.0.196-beta/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/11.0.0.196-beta/src/lib/rsl/rsl_match.c:1446[100,5183]

Ideas???

Posted: Fri Oct 20, 2006 12:41 pm
by dkelly
Option FixStaleSocket requires boolean argument.


This means that there is a problem with your clamav .conf file in /etc/

Have you updated it recently ?

Cheers

Dave

Posted: Fri Oct 20, 2006 12:45 pm
by smjhays
yes, i have updated. My conf file is actually located in /usr/local/etc, I don't know if that makes a difference?

Posted: Fri Oct 20, 2006 12:46 pm
by dkelly
It doesn't really make a difference where it is but, basically, you have an invalid value for FixStaleSocket

Cheers

Dave

Posted: Fri Oct 20, 2006 1:20 pm
by smjhays
I installed the previous version of clamav, and commented out the section having to do with FixStaleSocket in the clamd.conf file. I start up the router and still get the following error:

ERROR Service Router(Service Router) 10.20.06 13:13:52
[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 Can't connect to clamd.


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

Before you ask, yes clamav does belong to the scalix group.

Any thoughts??

Posted: Fri Oct 20, 2006 1:20 pm
by smjhays
I installed the previous version of clamav, and commented out the section having to do with FixStaleSocket in the clamd.conf file. I start up the router and still get the following error:

ERROR Service Router(Service Router) 10.20.06 13:13:52
[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 Can't connect to clamd.


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

Before you ask, yes clamav does belong to the scalix group.

Any thoughts??

Posted: Fri Oct 20, 2006 1:22 pm
by dkelly
Can't connect to clamd


This means that clamd isn't running.

Cheers

Dave

Posted: Fri Oct 20, 2006 1:56 pm
by smjhays
clamd is running:

[root@mail ~]# ps aux | grep clamd
clamav 1825 0.0 1.0 21712 16128 ? Ss 13:50 0:00 clamd

Posted: Fri Oct 20, 2006 2:29 pm
by dkelly
Can you post the output from

Code: Select all

lsof -p 1825 | grep TCP


Cheers

Dave

Posted: Fri Oct 20, 2006 2:31 pm
by smjhays
dkelly wrote:Can you post the output from

Code: Select all

lsof -p 1825 | grep TCP


Cheers

Dave


nothing.

Posted: Fri Oct 20, 2006 2:45 pm
by smjhays
Interesting:

[root@mail ~]# clamdscan /etc/passwd
connect(): No such file or directory
ERROR: Can't connect to clamd.

----------- SCAN SUMMARY -----------
Infected files: 0
Time: 0.002 sec (0 m 0 s)

Posted: Fri Oct 20, 2006 3:05 pm
by dkelly
Check that

Code: Select all

TCPSocket 3310
is uncommented in your clamd.conf file and restart clamd if you need to make the change.

Cheers

Dave