today i got a new kernel offered via yum and i installed it.
After the reboot clamd is no longer comming up.
The command below was execued after a stop was issued.
---
--- high CPU locad ---[root@efa4 milterin]# systemctl start clamd@scan.service
Job for clamd@scan.service failed because a timeout was exceeded. See "systemctl status clamd@scan.service" and "journalctl -xe" for details.
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
6615 root 20 0 698M 586M 3296 R 99.3 31.9 1:11.97 /usr/sbin/clamd -c /etc/clamd.d/scan.conf
-----
I realized that the socket is not created and that there are 2 directories . Why , I dont know, in the config only the clamd.scan i mentioned.
------------
I tried to ensure that everything is fine.[root@efa4 clamd.d]# ls -ld /var/run/clamd.socket/
drwxr-x---. 2 clamscan mtagroup 40 Oct 3 08:22 /var/run/clamd.socket/
[root@efa4 clamd.d]# ls -ld /var/run/clamd.socket/*
ls: cannot access /var/run/clamd.socket/*: No such file or directory
[root@efa4 clamd.d]# ls -ld /var/run/clamd.s
clamd.scan/ clamd.socket/
[root@efa4 clamd.d]# ls -ld /var/run/clamd.scan/
drwx--x---. 2 clamscan virusgroup 40 Oct 3 06:08 /var/run/clamd.scan/
[root@efa4 clamd.d]# ls -ld /var/run/clamd.scan/*
ls: cannot access /var/run/clamd.scan/*: No such file or directory
[root@efa4 clamd.d]#
---------
------[root@efa4 clamd.d]# /bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/clamd.scan.conf
But no success.
The journal doesnt show anything strange.
-----------
----Oct 03 08:34:09 efa4.stuebiland.de systemd[1]: Starting Generic clamav scanner daemon...
-- Subject: Unit clamd@scan.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit clamd@scan.service has begun starting up.
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: Received 0 file descriptor(s) from systemd.
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: clamd daemon 0.101.4 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: Running as user clamscan (UID 993, GID 990)
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: Log file size limited to 1048576 bytes.
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: Reading databases from /var/lib/clamav
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: Not loading PUA signatures.
Oct 03 08:34:09 efa4.stuebiland.de clamd[7367]: Bytecode: Security mode set to "TrustSigned".
Anything i could check in addition ?
Thx