clamd not comming up

Bugs in eFa 4
Post Reply
tesme33
Posts: 62
Joined: 22 Mar 2015 10:57
Location: Germany/Munich area

clamd not comming up

Post by tesme33 »

HI
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.
---
[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.
--- high CPU locad ---
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.

------------
[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]#
I tried to ensure that everything is fine.

---------
[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
tesme33
Posts: 62
Joined: 22 Mar 2015 10:57
Location: Germany/Munich area

Re: clamd not comming up

Post by tesme33 »

Im getting cray.
One minute after typing the questions and 30min after i observed the issue the socket is back.


What is taking 30min in the clam startup process ?
Post Reply