- IMSCP: 1.5.3 (latest)
- Distribution: Debian 9
- Proftpd
- PHP FPM
- MariaDB 10.1
- Dovecot
- Roundcube
- Web2FTP
- Plugins:
PMA Captcha, RoundCubePlugins, SpamAssassin , LetsEncrypt, PHPswitcher, ClamAV
after a debian update (incl. clamav) and reboot today, the clamav-milter does not seem to start properly. I started the clamav daemon manually after the system reboot, seems to be running but somewhere it seems that something has changed in the start configurations.
Code
- after a system reboot
- tail -f /var/log/clamav/clamav-milter.log
- Sun Sep 8 09:30:32 2019 -> WARNING: No clamd server appears to be available
- Sun Sep 8 09:30:32 2019 -> ERROR: Failed to initiate streaming/fdpassing
- Sun Sep 8 09:30:32 2019 -> WARNING: No clamd server appears to be available
- Sun Sep 8 09:30:33 2019 -> ERROR: Failed to initiate streaming/fdpassing
- Sun Sep 8 09:30:33 2019 -> WARNING: No clamd server appears to be available
- Sun Sep 8 09:30:52 2019 -> ERROR: Failed to initiate streaming/fdpassing
- Sun Sep 8 09:30:52 2019 -> WARNING: No clamd server appears to be available
- Sun Sep 8 09:31:23 2019 -> ERROR: Failed to initiate streaming/fdpassing
- after a service clamav-milter restart
- Sun Sep 8 09:40:02 2019 -> +++ Started at Sun Sep 8 09:40:02 2019
- Sun Sep 8 10:49:11 2019 -> +++ Started at Sun Sep 8 10:49:11 2019
- tail -n 500 /var/log/mail.err
- Sep 8 10:37:39 host0 clamav-milter[1128]: Failed to initiate streaming/fdpassing
- Sep 8 10:37:42 host0 clamav-milter[1128]: Failed to initiate streaming/fdpassing
- service clamav-milter status
- ● clamav-milter.service - LSB: ClamAV virus milter
- Loaded: loaded (/etc/init.d/clamav-milter; generated; vendor preset: enabled)
- Active: active (running) since Sun 2019-09-08 10:37:33 CEST; 6min ago
- Docs: man:systemd-sysv-generator(8)
- Process: 471 ExecStart=/etc/init.d/clamav-milter start (code=exited, status=0/SUCCESS)
- Tasks: 6 (limit: 4915)
- CGroup: /system.slice/clamav-milter.service
- └─1128 /usr/sbin/clamav-milter --config-file=/etc/clamav/clamav-milter.conf
- Sep 08 10:37:32 host0 systemd[1]: Starting LSB: ClamAV virus milter...
- Sep 08 10:37:33 host0 clamav-milter[818]: +++ Started at Sun Sep 8 10:37:33 2019
- Sep 08 10:37:33 host0 clamav-milter[1128]: No clamd server appears to be available
- Sep 08 10:37:33 host0 clamav-milter[471]: Starting Sendmail milter plugin for ClamAV: clamav-milter.
- Sep 08 10:37:33 host0 systemd[1]: Started LSB: ClamAV virus milter.
- Sep 08 10:37:39 host0 clamav-milter[1128]: Failed to initiate streaming/fdpassing
- Sep 08 10:37:39 host0 clamav-milter[1128]: No clamd server appears to be available
- Sep 08 10:37:42 host0 clamav-milter[1128]: Failed to initiate streaming/fdpassing
- Sep 08 10:37:42 host0 clamav-milter[1128]: No clamd server appears to be available
- after a restart and waiting a while
- ● clamav-daemon.service - Clam AntiVirus userspace daemon
- Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
- Drop-In: /etc/systemd/system/clamav-daemon.service.d
- └─extend.conf
- Active: active (running) since Sun 2019-09-08 10:52:34 CEST; 4min 9s ago
- Docs: man:clamd(8)
- man:clamd.conf(5)
- https://www.clamav.net/documents/
- Process: 3672 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS)
- Process: 3670 ExecStartPre=/bin/mkdir /run/clamav (code=exited, status=1/FAILURE)
- Main PID: 3675 (clamd)
- Tasks: 2 (limit: 4915)
- CGroup: /system.slice/clamav-daemon.service
- └─3675 /usr/sbin/clamd --foreground=true
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> Portable Executable support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> ELF support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> Mail files support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> OLE2 support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> PDF support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> SWF support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> HTML support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> XMLDOCS support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> HWP3 support enabled.
- Sep 08 10:53:05 host0 clamd[3675]: Sun Sep 8 10:53:05 2019 -> Self checking every 3600 seconds