某日yum update後執行freshclam出現錯誤
[root@server ]# freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
觀看新的/etc/freshclam.conf後才看到
原先的DatabaseOwner clamav改為clam了
所以
[root@server ]# chown clam:clam /var/log/clamav/freshclam.log
[root@server ]# chown clam:clam /var/log/clamav/clamd.log
解決了
沒有留言:
張貼留言