1

Topic: Fresh Install 0.99 clamav errors

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.99
- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
- Linux/BSD distribution name and version: Ubuntu 18.04LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Default nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi all,

Did a complete fresh install on new server machine of iredmail 0.99

IRMail is the only thing on the server, server will be dedicated to IRM.

Anyways at the end of the install, I am getting this error:

root@mail:/home/adminpc# tail -f /var/log/mail.log
Oct 22 04:28:03 mail amavis[2154]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
Oct 22 04:28:25 mail postfix/pickup[2135]: 46y0qs4RytzQRp: uid=2004 from=<netdata>
Oct 22 04:28:26 mail postfix/cleanup[2746]: 46y0qs4RytzQRp: message-id=<46y0qs4RytzQRp@mail.heldercarreiro.com>
Oct 22 04:28:27 mail postfix/qmgr[2136]: 46y0qs4RytzQRp: from=<netdata@mail.testmailserv.com>, size=11337, nrcpt=1 (queue active)
Oct 22 04:28:33 mail amavis[2520]: (02520-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Oct 22 04:28:34 mail amavis[2520]: (02520-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Oct 22 04:28:34 mail amavis[2520]: (02520-01) (!)clamav-socket: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Oct 22 04:28:40 mail amavis[2520]: (02520-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Oct 22 04:28:40 mail amavis[2520]: (02520-01) (!)clamav-socket av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 113) line 659.\n
Oct 22 04:28:40 mail amavis[2520]: (02520-01) (!)WARN: all primary virus scanners failed, considering backups
Oct 22 04:29:58 mail postfix/pickup[2135]: 46y0sd1pYzzQWH: uid=2004 from=<netdata>

What Can I do to fix this?

Regards

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fresh Install 0.99 clamav errors

Run "freshclam --debug" to update clamav virus signature database, then restart "clamav-daemon" service.

3

Re: Fresh Install 0.99 clamav errors

Great, That helped, Thank you!!!