Topic: Clamav no longer working
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: /var/log/mail.log
====
I get this in my mail logs
Jul 19 11:14:35 www amavis[1595]: (01595-07) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Jul 19 11:14:36 www amavis[1595]: (01595-07) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Jul 19 11:14:36 www amavis[1595]: (01595-07) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Jul 19 11:14:42 www amavis[1595]: (01595-07) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Jul 19 11:14:42 www amavis[1595]: (01595-07) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to$
Jul 19 11:14:42 www amavis[1595]: (01595-07) (!)WARN: all primary virus scanners failed, considering backups
Here is other output from what I have tried
root@www:# sudo /etc/init.d/clamav-daemon restart
* Stopping ClamAV daemon clamd [ OK ]
* Starting ClamAV daemon clamd [fail]
root@www:# ps -ef |grep clam
clamav 1719 1 0 10:33 ? 00:00:06 /usr/bin/freshclam -d --quiet
root 7076 2301 0 11:56 pts/0 00:00:00 grep --color=auto clam
There is no content in the /var/log/clamav/clamav.log file.
Any ideas??
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.