Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 15th June 2009, 04: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 01:32. Reason: Issue Resolved
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
clamav, falko, ubuntu, upgrade

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
Postmaster problem with Ubuntu 8.04 Postfix Virtual Domains and users almeister9 HOWTO-Related Questions 3 19th February 2009 02:36
Advice Please - Virtual Users And Domains With Postfix, Courier, MySQL, SQMail Ubuntu TomT HOWTO-Related Questions 8 22nd January 2009 14:22
Virtual Users And Domains With Postfix,.....Ubuntu 8.04 LTS) Again Morons HOWTO-Related Questions 1 8th August 2008 20:53
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 mtzcesar HOWTO-Related Questions 3 6th June 2008 11:42


All times are GMT +2. The time now is 22:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.