Topic: Clamd not start
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.7
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): pgsql
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes, we do
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi guys, i really apreciate your guide.
My mail server has issues.
I have reviewed and i see error with clamav.
When i start amavis, it shows me:
(!)connect to /var/run/clamd.amavisd/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.socket: Connection refused
...
(!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamd.amavisd/clamd.socket (All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.socket)
(!)WARN: all primary virus scanners failed, considering backups
(!)WARN: all primary virus scanners failed, considering backups
When i search socket clamd (ss -l), it is not, but the socket /var/run/clamd.amavisd/clamd.socket exists.
I have tried to start mannually clamd (systemctl start clamd@amavisd.service) service but it state is:
"Active: activating (start) since ...", never stay active.
The "systemctl status clamd@amavisd.service" is:
Starting clamd scanner (amavisd) daemon...
clamd daemon 0.99.3 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Running as user amavis
Log file size limited to 1048576 bytes
Reading databases from /var/lib/clamav
Not loading PUA signatures.
Bytecode: Security mode set to "TrustSigned"
Freshclam shows me:
freshclam
ClamAV update process started at Tue Jul 9 15:59:27 2019
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.101.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cvd is up to date (version: 25505, sigs: 1614490, f-level: 63, builder: raynman)
bytecode.cld is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)
Please, guide me, it is affecting me.
Sorry my english
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.