CentOS 5, Scalix 11.2 & ClamAV: Mapper Error
Posted: Tue Nov 27, 2007 11:12 pm
Folks - I've just installed Scalix 11.2 on CentOS 5 and everything is working well EXCEPT that I cannot get the ClamAV antivirus working.
I've followed the directions at http://swifttide.com/scalix/Scalix_Setup.html and in the Scalix Administration Guide's Virus Protection chapter, scanned the Scalix Community Forums and Googled without any luck.
I've added clamav to the scalix group.
I've
I have the ALL-ROUTES.VIR file simply down to:
and ndinfo.txt is simply
The directory has the following permissions/owners/groups:
The error is:
Any idea of how to fix this? I really hate to be running without antivirus. And I can't get SpamAssassin implemented until I get the antivirus issue resolved!
Thanks
Mike
I've followed the directions at http://swifttide.com/scalix/Scalix_Setup.html and in the Scalix Administration Guide's Virus Protection chapter, scanned the Scalix Community Forums and Googled without any luck.
I've added clamav to the scalix group.
I've
Code: Select all
# cp /opt/scalix/examples/general/omvscan.map /var/opt/scalix/MYSERVER/s/rules/
# chown root /var/opt/scalix/MYSERVER/s/rules/omvscan.map
# chmod 555 /var/opt/scalix/MYSERVER/s/rules/omvscan.map
I have the ALL-ROUTES.VIR file simply down to:
Code: Select all
VIRUS-UNCLEANED=1 ACTION=REJECT NDN-INFO=!ndninfo.txtand ndinfo.txt is simply
Code: Select all
Rejected due to virusThe
Code: Select all
rulesCode: Select all
-rw-r--r-- 1 root root 54 Nov 27 23:01 ALL-ROUTES.VIR
-rw-r--r-- 1 root root 81 Nov 27 23:02 ndninfo.txt
-r-xr-xr-x 1 root root 35809 Nov 27 23:02 omvscan.map
The error is:
Code: Select all
ERROR Service Router(Service Router) 11.27.07 22:32:21
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received:
ERROR Service Router(Service Router) 11.27.07 22:32:21
[OM 5183] A Mapper error has been detected.
Current errno value: 4
<- rsl_GetRuleValue
-> rsl_GetRuleValue
<- rsl_GetRuleValue
-> rsl_GetRuleValue
<- rsl_GetRuleValue
-> rsl_GetRuleValue
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:398[100,5183]
SERIOUS ERROR Service Router(Service Router) 11.27.07 22:32:21
[OM 5183] A Mapper error has been detected.
-> rsl_GetRuleValue
<- rsl_GetRuleValue
-> rsl_GetRuleValue
<- rsl_GetRuleValue
-> rsl_GetRuleValue
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:1454[100,5183]
ERROR Service Router(Service Router) 11.27.07 23:07: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
ERROR Service Router(Service Router) 11.27.07 23:08:01
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received:
ERROR Service Router(Service Router) 11.27.07 23:08:01
[OM 5183] A Mapper error has been detected.
Current errno value: 4
<- rsl_GetRuleValue
-> rsl_GetRuleValue
-> cvc_enhCnvString
-> cvc_CnvStringTryIconv
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:398[100,5183]
SERIOUS ERROR Service Router(Service Router) 11.27.07 23:08:01
[OM 5183] A Mapper error has been detected.
-> rsl_GetRuleValue
-> cvc_enhCnvString
-> cvc_CnvStringTryIconv
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:1454[100,5183]
ERROR Service Router(Service Router) 11.27.07 23:32:23
[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
ERROR Service Router(Service Router) 11.27.07 23:32:54
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received:
ERROR Service Router(Service Router) 11.27.07 23:32:54
[OM 5183] A Mapper error has been detected.
Current errno value: 4
<- rsl_GetRuleValue
-> rsl_GetRuleValue
-> cvc_enhCnvString
-> cvc_CnvStringTryIconv
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:398[100,5183]
SERIOUS ERROR Service Router(Service Router) 11.27.07 23:32:54
[OM 5183] A Mapper error has been detected.
-> rsl_GetRuleValue
-> cvc_enhCnvString
-> cvc_CnvStringTryIconv
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:1454[100,5183]
ERROR Service Router(Service Router) 11.27.07 23:33: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
ERROR Service Router(Service Router) 11.27.07 23:33:52
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received:
ERROR Service Router(Service Router) 11.27.07 23:33:52
[OM 5183] A Mapper error has been detected.
Current errno value: 4
<- rsl_GetRuleValue
-> rsl_GetRuleValue
-> cvc_enhCnvString
-> cvc_CnvStringTryIconv
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:398[100,5183]
SERIOUS ERROR Service Router(Service Router) 11.27.07 23:33:52
[OM 5183] A Mapper error has been detected.
-> rsl_GetRuleValue
-> cvc_enhCnvString
-> cvc_CnvStringTryIconv
<- cvc_CnvStringTryIconv
<- cvc_enhCnvString
<- rsl_GetRuleValue
<- rsl_GetRuleSet
<- sr_CheckForVirusRule
-> vs_ScanInit
-> vs_ScanActive
<- vs_ScanActive
-> vs_omScanInit
-> vs_GenericScanInit
<- /build/11.2.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/11.2.0/src/lib/rsl/rsl_match.c:1454[100,5183]
ERROR Service Router(Service Router) 11.27.07 23:35:08
[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
Any idea of how to fix this? I really hate to be running without antivirus. And I can't get SpamAssassin implemented until I get the antivirus issue resolved!
Thanks
Mike