ClamAV update schedule mail

NethServer Version: 7.8.2003
Module: Clamd
HI
I’m starting to get these bugs mail. which I can not just figure out if it is a mistake or ??.
Are there any who can help.


Thanks
Michael

Please test executing /usr/sbin/clamav-unofficial-sigs.sh in a terminal to check if there’s more output about the error.

There cam this:

This looks good so I don’t think there’s an issue. Do you still get the cron error mails?

HI
Yes, one every day

Did you update clamav from epel testing?
You may try to reinstall and check the logs:

1 Like

Hi
I have now found out of the reason this message is coming.
I restart the servers once a week and it on the sec that server restarts and this message comes.
there is a way to fix this

1 Like

I could reproduce it, with a reboot/halt you may kill a running clamav-unofficial-sigs.sh and that produces the cron error mail.

The reboot cron job runs at 2:16 and the clamav-unofficial-sigs.sh runs at 2:14 (hourly) and takes randomly to 10 minutes so it’s likely be terminated by the reboot.

I think if you change the reboot job to run at 2:00 it should just work…

2 Likes

Hi
That was what was needed :slight_smile:
Many thanks for the help