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
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00089 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='13.58.200.16' WHERE u.id=1 |
0.00086 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '13.58.200.16', 1732331899) |
0.00039 | SELECT * FROM punbb_online WHERE logged<1732331599 |
0.00034 | SELECT topic_id FROM punbb_posts WHERE id=88451 |
0.00052 | SELECT id FROM punbb_posts WHERE topic_id=11173 ORDER BY posted |
0.00055 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=11173 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00070 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=11173 ORDER BY p.id LIMIT 0,25 |
0.00077 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=11173 |
Total query time: 0.0052 s |