Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th May 2010, 00:25
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Default ClamAV-clamd av-scanner FAILED in ISPConfig3.0.2.1 3

Mail Queue:

(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=14003-02, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.; ClamAV-clamscan av-scanner FAILED: run_av error: run_av: Exceeded allowed time at (eval 88) line 516. (in reply to end of DATA command))

And this is the Mail Error-log:

May 15 17:40:43 server1 amavis[14904]: (14904-02-4) (!!)ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.
May 15 17:40:43 server1 amavis[14904]: (14904-02-4) (!!)WARN: all primary virus scanners failed, considering backups

And I don't have this directory:
/var/run/clamav/clamd.ctl

I assume that creating this directory I will fix my problem but, how?

thanks to all of you in this community
Reply With Quote
Sponsored Links
  #2  
Old 16th May 2010, 11:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution do you use? Did you use one of the "Perfect Server" guides to set it up?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th May 2010, 01:57
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Default ClamAV-CLamd av-scanner FAILED

I used your how to The perfect server in debian lenny.
ISPConfig 3.0.2.1

This happen after I reinstall the clamav antivirus, think that I can eliminate the message clamav outdate
Reply With Quote
  #4  
Old 17th May 2010, 07:25
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Default ClamAV-CLamd av-scanner FAILED

Sun May 16 20:09:14 2010 -> +++ Started at Sun May 16 20:09:14 2010
Sun May 16 20:09:14 2010 -> clamd daemon 0.94.2 (OS: linux-gnu, ARCH: i386, CPU: i486)
Sun May 16 20:09:14 2010 -> Log file size limit disabled.
Sun May 16 20:09:14 2010 -> Reading databases from /var/lib/clamav
Sun May 16 20:09:14 2010 -> Not loading PUA signatures.
Sun May 16 20:09:14 2010 -> ERROR: Malformed database

This is the clamav-log
Reply With Quote
  #5  
Old 17th May 2010, 15:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please add
Code:
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
to /etc/apt/sources.list, run
Code:
aptitude update
and install the latest ClamAV update.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 17th May 2010, 20:11
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Default ClamAV-CLamd av-scanner FAILED

server1:~# apt-get install clamav
Reading package lists... Done
Building dependency tree
Reading state information... Done
clamav is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
server1:~


show mail log:

May 17 13:54:56 server1 postfix/smtp[644]: 97F6473C67: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=248073, delays=248038/18/0.02/17, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=00369-06, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.; ClamAV-clamscan av-scanner FAILED: run_av error: run_av: Exceeded allowed time at (eval 88) line 516. (in reply to end of DATA command))

show freshclam-log:

WARNING: Incremental update failed, trying to download daily.cvd
Ignoring mirror 208.70.244.158 (due to previous errors)
Ignoring mirror 24.215.0.24 (due to previous errors)
Ignoring mirror 24.215.0.24 (due to previous errors)
ERROR: Can't download daily.cvd from database.clamav.net
Giving up on database.clamav.net...

show mail error-log:

May 17 13:56:06 server1 amavis[368]: (00368-06-5) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.; ClamAV-clamscan av-scanner FAILED: run_av error: run_av: Exceeded allowed time at (eval 88) line 516.

I am very sorry, I need help.
Reply With Quote
  #7  
Old 18th May 2010, 05:42
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Default ClamAV-clamd av-scanner FAILED in ISPConfig3.0.2.1 3

For my problem with ClamAV should I trait this:

10 Install Amavisd-new, SpamAssassin, And Clamav
To install amavisd-new, SpamAssassin, and ClamAV, we run

apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl


from the howto the perfect server with debian lenny ?
Reply With Quote
  #8  
Old 18th May 2010, 07:01
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default

Pleas follow exactly the perfect howto and to install ClamAV do this:

Add the line
Code:
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
to your /etc/apt/sources.list

After that execute:

apt-get update
apt-get install clamav
apt-get upgrade
/etc/init.d/amavis restart
postsuper -r ALL
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #9  
Old 18th May 2010, 07:34
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Default ClamAV-CLamd av-scanner FAILED

ok. I did it but still I the problem continue.

mail.info:

May 18 01:21:07 server1 amavis[10439]: (10439-03-2) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: 2, retrying (2)
May 18 01:21:07 server1 amavis[10438]: (10438-03-2) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: 2, retrying (2)
May 18 01:21:13 server1 amavis[10439]: (10439-03-2) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/c$
May 18 01:21:14 server1 amavis[10439]: (10439-03-2) (!!)WARN: all primary virus scanners failed, considering backups
May 18 01:21:14 server1 amavis[10438]: (10438-03-2) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to

can't connect to UNIX socket /var/run/clamav/clamd.ctl

how can I create this directory? clamd.ctl
Reply With Quote
  #10  
Old 18th May 2010, 07:48
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 152 Times in 132 Posts
 
Default

pinguinito I have merged your two post.
Please do not double post!
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Reply

Bookmarks

Tags
av-scanner, clamav, clamav-clamd, ispconfig 3.0.1.3

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
monitrc configuration for Debian ISPConfig 3 server Hans Tips/Tricks/Mods 2 27th March 2011 23:22
Is my postfix is hacked? bzzik Server Operation 21 15th July 2009 14:13
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 16:13.


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