管理しているCentosサーバからメールが!

/etc/cron.daily/freshclam:

ERROR: Can't create temporary directory /var/lib/clamav/clamav-5ba7cd8bc48336bd8e4fc650805ea3d.tmp

前もあったと思うが前回も対応したので、

対応方法は以下の通り。

これは、テンポラリーディレクトリが作成できない!というエラーだから、権限を確認
すると「clamav」ではなく「clam」
前も変えたような気がしますが、

所有者を変更
chown -R clamav:clamav /var/lib/clamav

また、「/etc/logrotate.d/freshclam」も変更

/var/log/clamav/freshclam.log {
missingok
notifempty
create 644 clamav clamav
}

でもこちらは、clamavになってたよ!
なんでかな?

 

By nagwp

One thought on “Anacron job ‘cron.daily’ on centos.centossrv.com”
  1. Just want to say your article is as astounding. The clearness in your post is simply nice and i can assume you are an expert on this subject.
    Well with your permission allow me to grab your feed to keep up to date with forthcoming post.

    Thanks a million and please keep up the gratifying work.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です