ERROR: Can't create temporary directory /var/lib/clamav/clamav-b2f16f0d792a1945b0553ecb91836399.tmp
sudo chown -R clamav:clamav /var/lib/clamav # エラーが出ない事を確認 sudo freshclam
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
sudo chown clamav:clamav /var/log/clamav/freshclam.log sudo vi /etc/cron.daily/freshclam ---- chown clamav.clamav "$LOG_FILE" ---- sudo vi /etc/logrotate.d/freshclam ---- create 644 clamav clamav ---- sudo chown clamav:clamav /var/lib/clamav sudo rm -rf /var/lib/clamav/* sudo freshclam
LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: ***********************************************************
yum update clamav --enablerepo=rpmforge 更新 freshclam テスト clamscan --stdout [FILENAME]
LibClamAV Warning: Detected duplicate databases /var/clamav/main.cld and /var/clamav/main.cvd. The /var/clamav/main.cld database is older and will not be loaded, you should manually remove it from the database directory. rm /var/clamav/main.cld