ClamAV Troubleshooting

Restarting ClamAV

Centos / RHEL / CloudLinux 7 (systemd)

// restart clamav
systemctl restart clamd@scan.service 

Centos / RHEL / CloudLinux 6 (sysvinit)

// restart clamav
/etc/init.d/clamd restart

Debian / Ubuntu

// restart clamav
/etc/init.d/clamav-daemon restart

// restart freshclam
/etc/init.d/clamav-freshclam restart

Debug

clamscan --debug 2>&1 /dev/null

Updating Signatures

freshclam

Checking Signatures

clamscan --debug 2>&1 /dev/null | grep "loaded"

Debug Signature Updates

RHEL / Centos

freshclam --debug