clamd randomly stops

Unix & Linux Asked by Walter on September 13, 2020

I am using clamav in conjuction with c-icap to filter content with squid. I am also using the safebrowsing functionality of clamav to block access to bad domains. For some reason or another, clamav (clamd), suddenly stops running and I see that the c-icap service cannot connect to socket clamd socket. However, I don’t see anything in the log files indicating why clamav suddenly stopped.

I checked the following basics:
1. clamav logs (syslog output)
2. free space
3. dmesg

Description = clamd scanner (%i) daemon
After =

Type = simple
ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf --nofork=yes
#Restart = on-failure
Restart = always
PrivateTmp = true

[email protected]

Any ideas what may be causing clamav to suddenly stop?

One Answer

Set Type = forking in your clamd.service file.

Based on personal experience and the description of simple vs forking found here

Answered by Brian A. Henning on September 13, 2020

Add your own answers!

Related Questions

Win-Kex Screen Resolution

0  Asked on September 20, 2020


How to call .bashrc function in script

1  Asked on September 14, 2020 by young_souvlaki


recursive statistics on file types in directory?

5  Asked on September 13, 2020 by user394


clamd randomly stops

1  Asked on September 13, 2020 by walter


Authentication fails though the password is correct

0  Asked on September 3, 2020 by rohit-pillai


Cant’t load Windows 10 anymore

1  Asked on August 31, 2020 by j-doe


Change order a icons in system tray widget in KDE?

1  Asked on August 29, 2020 by paddy


rts5139/rtsx_usb borked in 3.15+

2  Asked on August 27, 2020 by roman


ETH0 no address ip with ifconfig

1  Asked on August 24, 2020 by akame14


Kali Linux 2020.2 Wifi Not Working (Realtek)

0  Asked on August 18, 2020 by harriet


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir