[clamav-users] clamd at scan.service starting but not running

Ralf Hartings ralf at hartings.se
Sun Oct 13 05:55:41 EDT 2019


Hi,


I had to fire-up a CENTOS 7 backup server as the main CENTOS 7 server 
crashed and I updated the backup server to the latest CENTOS version 7, 
incl Clamav 0.101.4.

The log says, the clam service is starting, but never gets to run 
properly. Every systemctl status check I do says, it has restarted...

Any clue, as to what could be wrong? See logs below.


[root at server1 ~]# systemctl start clamd at scan.service

Job for clamd at scan.service failed because a timeout was exceeded. See 
"systemctl status clamd at scan.service" and "journalctl -xe" for details.
[root at server1 ~]# journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit clamd at scan.service has begun starting up.
Oct 13 11:43:55 server1.hartings.se clamd[12087]: Received 0 file 
descriptor(s) from systemd.
Oct 13 11:43:55 server1.hartings.se clamd[12087]: clamd daemon 0.101.4 
(OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Oct 13 11:43:55 server1.hartings.se clamd[12087]: Running as user 
clamscan (UID 499, GID 498)
Oct 13 11:43:55 server1.hartings.se clamd[12087]: Log file size limited 
to 1048576 bytes.
Oct 13 11:43:55 server1.hartings.se clamd[12087]: Reading databases from 
/var/lib/clamav
Oct 13 11:43:55 server1.hartings.se clamd[12087]: Not loading PUA 
signatures.
Oct 13 11:43:55 server1.hartings.se clamd[12087]: Bytecode: Security 
mode set to "TrustSigned".
Oct 13 11:44:01 server1.hartings.se systemd[1]: Created slice User Slice 
of root.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished starting up.
-- 
-- The start-up result is done.
Oct 13 11:44:01 server1.hartings.se systemd[1]: Started Session 2628 of 
user root.
-- Subject: Unit session-2628.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-2628.scope has finished starting up.
-- 
-- The start-up result is done.
Oct 13 11:44:01 server1.hartings.se CROND[12096]: (root) CMD 
(/root/Documents/webcam_copy_script.sh)
Oct 13 11:44:01 server1.hartings.se systemd[1]: Removed slice User Slice 
of root.
-- Subject: Unit user-0.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished shutting down.
[root at server1 ~]# systemctl status clam*
● clamd at scan.service - Generic clamav scanner daemon
    Loaded: loaded (/usr/lib/systemd/system/clamd at scan.service; enabled; 
vendor preset: disabled)
    Active: activating (start) since Sun 2019-10-13 11:46:56 CEST; 14s ago
      Docs: man:clamd(8)
            man:clamd.conf(5)
            https://www.clamav.net/documents/
   Control: 12242 (clamd)
    CGroup: /system.slice/system-clamd.slice/clamd at scan.service
            └─12242 /usr/sbin/clamd -c /etc/clamd.d/scan.conf

Oct 13 11:46:56 server1.hartings.se systemd[1]: Starting Generic clamav 
scanner daemon...
Oct 13 11:46:56 server1.hartings.se clamd[12242]: Received 0 file 
descriptor(s) from systemd.
Oct 13 11:46:56 server1.hartings.se clamd[12242]: clamd daemon 0.101.4 
(OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Oct 13 11:46:56 server1.hartings.se clamd[12242]: Running as user 
clamscan (UID 499, GID 498)
Oct 13 11:46:56 server1.hartings.se clamd[12242]: Log file size limited 
to 1048576 bytes.
Oct 13 11:46:56 server1.hartings.se clamd[12242]: Reading databases from 
/var/lib/clamav
Oct 13 11:46:56 server1.hartings.se clamd[12242]: Not loading PUA 
signatures.
Oct 13 11:46:56 server1.hartings.se clamd[12242]: Bytecode: Security 
mode set to "TrustSigned".
[root at server1 ~]#



More information about the clamav-users mailing list