-
Notifications
You must be signed in to change notification settings - Fork 381
freshclam not updating daily.cvd #51
Comments
I'm seeing the same behaviour |
Same here |
return code 1 means the virus database is up to date. I believe this was finally corrected in 101.0... https://blog.clamav.net/2018/12/clamav-01010-has-been-released.html |
While that may be the case, it’s giving the wrong return code. The DB is definitely not up to date. I can provide logs if required.
|
Just to be clear. The S3 bucket that is holding the cvd are not updating? |
Hi, Yes that’s the case. The verbose output shows the downloading of the cdiff files, I would have thought it’d check the current DB before doing this to ensure an update was needed. FYI, I have a different function currently performing the update for me as a work around. So I’d have to turn that off and wait several hours before being able to help with diagnosis For some reason, when it starts the upload process, the daily.cvd file isn’t present in /tmp |
Then makes me think this is related to issue. #49 I will dig this weekend and see if I can resolve it. |
It would be interesting to invoke a call to dump tmp on excution, and see if that resolves. |
I have debug that performs os.listdir() several times throughout the update script, I’ll dig out the logs for you when I get a chance. |
As promised, sorry it took so long. As you can see I dropped quite a few debug lines in (I'm pretty new to Python, sorry for the crude methods). I have the original code for the function if you need to see where each bit runs. Thanks for the help by the way, it's greatly appreciated:
|
There appears to be an issue with updating on our installation. The cdiffs download, and it appears to generate the daily.cld file, but it doesn't create the cvd and upload it. I have dropped -v into the freshclam command, and it's returning Exitcode 1, being the database is up to date, where my daily.cvd hasn't been updated since the 30th November.
Is there something I'm missing here? There was an instance last week where the cdiff section failed, so it downloaded the latest daily.cvd automatically, but it's only had one instance of that in over a month.
Full output with -v attached.
cloudwatch.output.txt
The text was updated successfully, but these errors were encountered: