View Single Post
  #1  
Old 15th June 2009, 05:02
almeister9 almeister9 is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
Thumbs up [RESOLVED] Virtual Users Domains Postfix Ubuntu 8.04 clamav fails after upgrade

Hi all,

After successfully using a mail server built with Falko's "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS)" for more than a year, and on the advice of a friend, I ran two commands on the server
Code:
apt-get update
apt-get upgrade
and since then I am experiencing these problems.

During startup I see:
Code:
Starting ClamAV daemon clamd:
ERROR: Parse error at line 44: Unknown Option ScanPartialMessages.
ERROR: Can't open/parse the config file /etc/clamav/clamd.conf  [FAIL]
and in
Code:
less /var/log/mail.log

Jun 15 11:29:25 smail amavis[6184]: (06184-01-4) (!)run_av (ClamAV-clamd, built-in i/f): Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 86) line 310.
Jun 15 11:29:25 smail amavis[6184]: (06184-01-4) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x604e60) Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 86) line 310. at (eval 86) line 511.
Jun 15 11:29:25 smail amavis[6184]: (06184-01-4) (!!)WARN: all primary virus scanners failed, considering backups
I know it is the upgrade which has done this but I dont know how to fix it.

When I try to find out version I get
Code:
/usr/sbin/clamd -V
ERROR: Parse error at line 44: Unknown option ScanPartialMessages.
ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
and this output
Code:
ps aux|grep clam
clamav    4872  0.0  0.0  21612  1116 ?        Ss   10:17   0:00 /usr/bin/freshclam -d --quiet
amavis   13972  105  2.6 122400 106424 ?       R    15:08   0:04 /usr/bin/clamscan --stdout --disable-summary -r --tempdir=/var/lib/amavis/tmp /var/lib/amavis/tmp/amavis-20090615T150636-13922/parts
amavis   13973  103  1.8  90580 74564 ?        R    15:08   0:02 /usr/bin/clamscan --stdout --disable-summary -r --tempdir=/var/lib/amavis/tmp /var/lib/amavis/tmp/amavis-20090615T150111-13747/parts
alan     13975  0.0  0.0   5168   844 pts/0    R+   15:08   0:00 grep clam
My setup is exactly as it is in Falko's Howto.

If anyone can help me with this I would be greatly appreciative.
Cheers Al.

Last edited by almeister9; 20th June 2009 at 02:32. Reason: Issue Resolved
Reply With Quote
Sponsored Links