You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cron job always logs, and emails, and error message:
ERROR: Failed to reload, trying again
I found this is due to invoking clamscan with a non-existent argument "--reload".
I've worked around it in my local system by creating a local script to invoke reloading the database:
`#!/usr/bin/bash
#
socket=$(systemctl status clamav-daemon.socket | awk '/Listen:/ {print $2}')
if [ -n "$socket" ]; then
echo 'RELOAD' | nc -U $socket
else
echo "ERROR: Can't find clamd socket"
fi
There's probably a better way to do this but, it quiets the repeated error messages from the cron job on my system.
The text was updated successfully, but these errors were encountered:
The cron job always logs, and emails, and error message:
I found this is due to invoking clamscan with a non-existent argument "--reload".
I've worked around it in my local system by creating a local script to invoke reloading the database:
There's probably a better way to do this but, it quiets the repeated error messages from the cron job on my system.
The text was updated successfully, but these errors were encountered: