Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Hardoman on February 15, 2021, 08:31:44 AM

Title: Cron freshclam-sleep job shows DB errors
Post by: Hardoman on February 15, 2021, 08:31:44 AM
Every few hours I get error message in cron logs:

Code: [Select]
/usr/share/clamav/freshclam-sleep
ERROR: Database test FAILED.
ERROR: Unexpected error when attempting to update database: daily
ERROR: Database update process failed: Test failed (8)
ERROR: Update failed.

I'm not using ClamAV and service is disabled. Also I don't see such cron task in the list.
What should I do to disable it?
Title: Re: Cron freshclam-sleep job shows DB errors
Post by: Sandeep on February 16, 2021, 04:31:07 PM
remove the cron job from the list.
Title: Re: Cron freshclam-sleep job shows DB errors
Post by: Hardoman on March 03, 2021, 11:52:18 AM
I have found the corresponding job in /etc/cron.d/clamav-update

Should I comment out the line
Code: [Select]
0  */3 * * * root /usr/share/clamav/freshclam-sleep
in it or just remove the whole file?
Title: Re: Cron freshclam-sleep job shows DB errors
Post by: Igor S. on March 04, 2021, 10:39:18 PM
Yep, just remove it