Hi Carlos, Do you have the freshclam service running also? That is needed to update the clam database and if I recall correctly I think clamd does chew up the CPU while waiting for it's database if it is not available. Marc.. On 5/9/19 5:51 AM, Carlos E. R. wrote:
Hi,
I can not start clamd. I then used zypper up, then tried again. No go. The clamd goes into 100% CPU while it tries to start.
Legolas:~ # time rcclamd start Job for clamd.service failed because a timeout was exceeded. See "systemctl status clamd.service" and "journalctl -xe" for details.
real 1m30.201s user 0m0.032s sys 0m0.032s Legolas:~ #
main log:
<3.6> 2019-05-09 14:40:01 Legolas systemd 1 - - Starting Clamav antivirus Deamon... <3.4> 2019-05-09 14:41:31 Legolas systemd 1 - - clamd.service: Start operation timed out. Terminating. <3.3> 2019-05-09 14:41:32 Legolas systemd 1 - - Failed to start Clamav antivirus Deamon. <3.5> 2019-05-09 14:41:32 Legolas systemd 1 - - clamd.service: Unit entered failed state. <3.4> 2019-05-09 14:41:32 Legolas systemd 1 - - clamd.service: Failed with result 'timeout'.
main log:
<2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - Received 0 file descriptor(s) from systemd. <2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - clamd daemon 0.101.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) <2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - Running as user vscan (UID 65, GID 459) <2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - Log file size limited to 1048576 bytes. <2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - Reading databases from /var/lib/clamav <2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - Not loading PUA signatures. <2.6> 2019-05-09 14:40:02 Legolas clamd 5596 - - Bytecode: Security mode set to "TrustSigned". <2.6> 2019-05-09 14:40:59 Legolas postfix 4602 - - timeout after END-OF-MESSAGE from localhost[127.0.0.1] <2.6> 2019-05-09 14:40:59 Legolas postfix 4602 - - disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
Legolas:~ # systemctl status clamd.service ● clamd.service - Clamav antivirus Deamon Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled; vendor preset: disabled) Active: failed (Result: timeout) since Thu 2019-05-09 14:41:32 CEST; 6min ago Process: 5596 ExecStart=/usr/sbin/clamd (code=killed, signal=TERM)
May 09 14:40:02 Legolas.valinor clamd[5596]: clamd daemon 0.101.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) May 09 14:40:02 Legolas.valinor clamd[5596]: Running as user vscan (UID 65, GID 459) May 09 14:40:02 Legolas.valinor clamd[5596]: Log file size limited to 1048576 bytes. May 09 14:40:02 Legolas.valinor clamd[5596]: Reading databases from /var/lib/clamav May 09 14:40:02 Legolas.valinor clamd[5596]: Not loading PUA signatures. May 09 14:40:02 Legolas.valinor clamd[5596]: Bytecode: Security mode set to "TrustSigned". May 09 14:41:31 Legolas.valinor systemd[1]: clamd.service: Start operation timed out. Terminating. May 09 14:41:32 Legolas.valinor systemd[1]: Failed to start Clamav antivirus Deamon. May 09 14:41:32 Legolas.valinor systemd[1]: clamd.service: Unit entered failed state. May 09 14:41:32 Legolas.valinor systemd[1]: clamd.service: Failed with result 'timeout'. Legolas:~ #
journal:
May 09 14:41:31 Legolas.valinor systemd[1]: clamd.service: Start operation timed out. Terminating. May 09 14:41:32 Legolas.valinor systemd[1]: Failed to start Clamav antivirus Deamon. -- Subject: Unit clamd.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- <b>Computers: the final frontier. These are the voyages of the user Marc.<br> His mission: to explore strange new hardware. To seek out new software and new applications.<br> To boldly go where no Marc has gone before!<br></b> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org