Submitted by azadmin on Fri, 02/15/2013 - 10:35
I started getting this error yesterday, what is it and how can I fix it?
ERROR: cdiff_cmd_close: Can't apply XCHG at line 9 of daily.info ERROR: cdiff_apply: Can't execute command CLOSE ERROR: cdiff_apply: Error executing command at line 6 ERROR: getpatch: Can't apply patch ERROR: cdiff_cmd_close: Can't apply XCHG at line 9 of daily.info ERROR: cdiff_apply: Can't execute command CLOSE ERROR: cdiff_apply: Error executing command at line 6 ERROR: getpatch: Can't apply patch ERROR: cdiff_cmd_close: Can't apply XCHG at line 9 of daily.info ERROR: cdiff_apply: Can't execute command CLOSE ERROR: cdiff_apply: Error executing command at line 6 ERROR: getpatch: Can't apply patch ERROR: Can't download daily.cvd from database.clamav.net
Status:
Active
Comments
Submitted by andreychek on Fri, 02/15/2013 - 11:08 Comment #1
Howdy -- try running these commands via SSH as root to resolve that:
cd /var/lib/clamav
mkdir old
mv *.cvd old
freshclam
The above commands will cause it to re-download the ClamAV database.
Submitted by azadmin on Fri, 02/15/2013 - 18:15 Comment #2
I followed your suggestion and ClamAV did reload but I saw this a few times:
[LibClamAV] *********************************************************** [LibClamAV] *** This version of the ClamAV engine is outdated. *** [LibClamAV] *** DON'T PANIC! Read http://www.clamav.net/support/faq *** [LibClamAV] *********************************************************** [LibClamAV] *********************************************************** [LibClamAV] *** This version of the ClamAV engine is outdated. *** [LibClamAV] *** DON'T PANIC! Read http://www.clamav.net/support/faq *** [LibClamAV] ***********************************************************
Submitted by andreychek on Fri, 02/15/2013 - 18:20 Comment #3
That other notice you saw is normal -- that's great that the original error is gone now! I'm not sure what might have caused that, but it looks like removing and rebuilding the database corrected it.