Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: skiguy09 on May 19, 2004, 05:55:10 AM
-
I recently installed clam antivirus on SME server v6 using the instructions at this link:
http://pagefault.org/howto/e-smith-antivirus.shtml
every 5 minutes I get this email:
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
WARNING: Problem with External get '/etc/mrtg/virusstats.pl localhost virus':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/virusstats.pl localhost virus':
Expected a Number for 'out' but got ''
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
WARNING: Problem with External get '/etc/mrtg/virusstats.pl localhost virus':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/virusstats.pl localhost virus':
Expected a Number for 'out' but got ''
Any ideas on how to fix this??
-
anyone have any ideas?
-
To fix the amavis log issue run the following commands at the prompt:
mkdir /var/log/amavis-ng
chown qmailq:qmail /var/log/amavis-ng
chmod 755 /var/log/amavis-ng
touch /var/log/amavis-ng/amavis-ng.log
chown root:root /var/log/amavis-ng/amavis-ng.log
chmod 666 /var/log/amavis-ng/amavis-ng.log
The mrtg issue I would guess is related because there is no amavis log file to parse so it can't monitor.
HTH
[/quote]