Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Przy próbie wysłania poczty lub gdy ktoś wysyuła pocztę do mnie w logach mam takie wpisy:
Apr 11 15:53:13 cnet-t-215-196 amavis[3010]: (03010-01) (!) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory, retrying (2) Apr 11 15:53:19 cnet-t-215-196 amavis[3010]: (03010-01) (!!) ClamAV-clamd av-scanner FAILED: 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 44) line 268. Apr 11 15:53:19 cnet-t-215-196 amavis[3010]: (03010-01) (!!) WARN: all primary virus scanners failed, considering backups Apr 11 15:55:29 cnet-t-215-196 amavis[3010]: (03010-01) (!!) run_av (ClamAV-clamscan) FAILED - unexpected exit 50, output="LibClamAV Error: cl_load(): Unable to lock database directory: /var/lib/clamav/\nERROR: Unable to lock database directory" Apr 11 15:55:29 cnet-t-215-196 amavis[3010]: (03010-01) (!!) ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Error: cl_load(): Unable to lock database directory: /var/lib/clamav/\nERROR: Unable to lock database directory" at (eval 44) line 462. Apr 11 15:55:29 cnet-t-215-196 amavis[3010]: (03010-01) (!!) TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: 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 44) line 268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Error: cl_load(): Unable to lock database directory: /var/lib/clamav/\nERROR: Unable to lock database directory" at (eval 44) line 462. Apr 11 15:55:29 cnet-t-215-196 amavis[3010]: (03010-01) (!) PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20080411T155312-03010 Apr 11 15:55:30 cnet-t-215-196 postfix/smtp[2861]: 488E8C1452: to=<it@umig.miastko.pl>, relay=127.0.0.1[127.0.0.1]:10024, delay=0, delays=0/0.07/11/137, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451-4.5.0 Error in processing, id=03010-01, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: 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 44) line 268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Error: cl_load(): Unable to lock database directory: /var/lib/clamav/ 451 4.5.0 ERROR: Unable to lock database directory" at (eval 44) line 462. (in reply to end of DATA command)) Apr 11 15:55:31 cnet-t-215-196 amavis[3010]: (03010-02) (!) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory, retrying (2) Apr 11 15:55:37 cnet-t-215-196 amavis[3010]: (03010-02) (!!) ClamAV-clamd av-scanner FAILED: 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 44) line 268. Apr 11 15:55:37 cnet-t-215-196 amavis[3010]: (03010-02) (!!) WARN: all primary virus scanners failed, considering backups Apr 11 15:56:06 cnet-t-215-196 postfix/smtpd[3056]: warning: database /etc/aliases.db is older than source file /etc/aliases Apr 11 15:56:06 cnet-t-215-196 postfix/smtpd[3056]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Co mogę zrobić, czemu clamav nie działa? Wersję clamAV mam 0.91.2. Czy ktoś zna może przyczynę czemu tak sie dzieje? W main.cf zrobiłem odwołanie do portu amavisa a w master.cf zdefiniowałem jak ma poczta byc zwracana i działa, ale jak trafia do clamav to juz nie zadziała bo z logów wynika ze chyba nie mozna sie z nim połaczyc :(
pozdr. Marcin
Offline
Może niedopowiednie uprawnienia do katalogu /var/lib/clamav - antywirus się wywala
Offline
zaktualizuj bazy clamava i sprawdz co masz w /var/lib/clamav
Offline