ClamAV and mappaer error

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

rpl
Posts: 15
Joined: Tue Mar 14, 2006 12:49 pm
Location: Jena

ClamAV and mappaer error

Postby rpl » Mon Jun 26, 2006 10:14 am

Hi. I installed and configured ClamAV 0.88.2 following the Technical Note from the Knowledge Base on a Suse 10 OSS x64 system.

Restarting the service router I got following error ( # tail -f fatal)

ERROR Service Router(Service Router) Mon Jun 26 16:00:32 2006
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received: 220 Virus Scanning Client Ready
Pid of logging process: 22135

In the daemon.stderr I found:
# tail daemon.stderr
/var/opt/scalix/rules/omvscan.map: line 976: return: can only `return' from a function or sourced script

Further information:
/var/opt/scalix/rules # ls -l
-rw-r--r-- 1 root root 172 2006-06-26 14:59 ALL-ROUTES.VIR
-rw-r--r-- 1 root root 67 2006-06-26 15:01 ndninfo.txt
-r-xr-xr-x 1 root root 35644 2006-06-26 15:05 omvscan.map

/var/opt/scalix/rules # cat ALL-ROUTES.VIR
VIRUS-UNCLEANED=1 ACTION=REJECT NDN-INFO=!ndninfo.txt
VIRUS-UNCLEANED=0 VIRUS-FOUND=1 ACTION=ALLOW NOTIFY="A virus was found in this message. It wasasuccessfully cleaned."

/var/opt/scalix/rules # cat ndninfo.txt
A virus was found in your message. Scan your computer for viruses.
hermes:/var/opt/scalix/rules #

The omvscan.map is unchanged copied from ..../examples/general.
Any further information neede?
Thanks for help.

rpl
Posts: 15
Joined: Tue Mar 14, 2006 12:49 pm
Location: Jena

clamd.conf

Postby rpl » Mon Jun 26, 2006 12:42 pm

Reviewing the /etc/clamd.conf I found, that the used logfile /var/log/clamd was missing.
# touch /var/log/clamd
# chown vscan:vscan /var/log/clamd
# /etc/init.d/clamd stop
# /etc/init.d/clamd strt
# omoff -d 0 rtr
# omon rtr

Now virus scanning works fine.
Reiner


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 7 guests

cron