(05-31-2016, 09:00 AM)zfedor Wrote: After installing everything as instructed (on CentOS 7), while the test spam and virus emails are properly classified, the maillog shows the following error:
May 31 00:55:13 sf amavis[3540]: (03540-05) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt Forum Add-ons and Usage: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
May 31 00:55:14 sf amavis[3540]: (03540-05) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt Forum Add-ons and Usage: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
May 31 00:55:14 sf amavis[3540]: (03540-05) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock, retrying (2)
May 31 00:55:18 sf amavis[3539]: (03539-05) Blocked INFECTED (Eicar-Test-Signature) {DiscardedInbound,Quarantined}, [74.125.82.41]:38479 [74.125.82.41] <zoltan.0.fedor@gmail.com> -> <zfedor@sf.com>, Queue-ID: EA875BF7CE, Message-ID: <CADi59_YrQ4KonGKf_G8778fxrBmGYkyJp7uZtCqUd+QHdjSw@mail.gmail.com>, mail_id: pjCwn64nuId, Hits: -, size: 2797, dkim_sd=20120113:gmail.com, 26349 ms
May 31 00:55:18 sf postfix/smtp[4682]: EA875BF7CE: to=<zfedor@sf.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=26, delays=0.12/0.02/0.01/26, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=03539-05 - INFECTED: Eicar-Test-Signature)
May 31 00:55:18 sf postfix/qmgr[4535]: EA875BF7CE: removed
May 31 00:55:20 sf amavis[3540]: (03540-05) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt Forum Add-ons and Usage: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
May 31 00:55:20 sf amavis[3540]: (03540-05) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamd.amavisd/clamd.sock (All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock) at (eval 129) line 613.\n
May 31 00:55:20 sf amavis[3540]: (03540-05) (!)WARN: all primary virus scanners failed, considering backups
(05-31-2016, 10:11 AM)chongma Wrote: I had the same problem. Did you try installing clamav-scanner? You need to restart all the services after that
Yes, I have installed the clamav-scanner and then manually restarted all service. Now - just to be sure - restarted the whole server, but the maillog still shows the same error as before, no change.