Re: ClamAV Failure
jjs - mainphrame <[email protected]> Sat, 5 Dec 2020 13:18:26 -0800
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <CABkzw7zWDLp53LpYQxpUhDcOT4peqpAnN16heixsSX=gmLQS3A@mail.gmail.com> |
You'll need to edit the clamd config and the maia config as needed so that they agree on the socket name and path. I got tired of the socket name changing every time clamd got updated, so I switched to using localhost:3310 instead. Jake On Sat, Dec 5, 2020 at 1:15 PM jason hirsh <[email protected]> wrote: > I am using Maia Mail guard on A freebsd 12.1 server with postfix and > Dovecot > > I am geting the following error > > maiad[33489]: (33489-01) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory, retrying (1) > Dec 5 15:12:12 maiad[33489]: (33489-01) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/: No such file or directory, retrying (2) > Dec 5 15:12:18 maiad[33489]: (33489-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 104) line 257. > Dec 5 15:12:18 maiad[33489]: (33489-01) WARN: all primary virus scanners failed, considering backups > > Last lines of /var/log/messages /var/log/security /var/log/auth.log > /var/log/maillog /var/log/cron /var/log/kasdivi.com-error_log > /var/log/console.log /var/log/openvpn/openvpn-status.log > /var/log/kasdivi.com-access_log /var/log/clamav/clamd.log > /var/log/debug.log /var/log/devd.log /var/log/httpd-error.log > /var/log/webmin/miniserv.error > > I have verified that Clamd is running. > > Issue appears to be with the socket. . The log says it is looking for > clamd.ctl > As I understand it thesis actually in clams.sock. exists and has what I > believe to be the right permissions > > -rw-rw-r-- 1 vscan vscan 6 Dec 5 15:56 clamd.pid > srw-rw-rw- 1 vscan vscan 0 Dec 5 15:56 clamd.sock > -rw-rw-r-- 1 vscan vscan 5 Dec 5 05:59 freshclam.pid > > > I have stopper and restarted clamd several times in hope of creating > clamd.ctl with no success . > > Thoughts or suggestions would be appreciated > > > > > _______________________________________________ > Maia-users mailing list > [email protected] > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users > _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users