HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   ClamAV-clamd av-scanner FAILED in ISPConfig3.0.2.1 3 (http://www.howtoforge.com/forums/showthread.php?t=45897)

pinguinito 16th May 2010 00:25

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

falko 16th May 2010 11:52

Which distribution do you use? Did you use one of the "Perfect Server" guides to set it up?

pinguinito 17th May 2010 01:57

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

pinguinito 17th May 2010 07:25

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

falko 17th May 2010 15:30

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.

pinguinito 17th May 2010 20:11

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.

pinguinito 18th May 2010 05:42

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 ?

Hans 18th May 2010 07:01

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

pinguinito 18th May 2010 07:34

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

edge 18th May 2010 07:48

pinguinito I have merged your two post.
Please do not double post!


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

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