freshclamでまたもやエラー

先日と同様、cronからこんなエラーメールが1時間ごとに届くようになった。

ERROR: Problem with internal logger.
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).

セオリーどおりというか、手動でfreshclamを実行してみる。

# freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.

そしてもちろん、パーミッションのチェック。

# ls -la /var/log/clamav/
total 352
drwxr-xr-x   2 qscand qscand  4096 Nov  9 04:22 .
drwxr-xr-x  12 root   root    4096 Nov  5 04:05 ..
-rw-r-----   1 qscand qscand  2486 Nov  9 13:44 clamd.log
-rw-r-----   1 qscand qscand     0 Oct 29 04:04 clamd.log.1
-rw-------   1 qscand qscand 24349 Oct 29 04:04 clamd.log.2
-rw-r-----   1 qscand qscand 14957 Oct 22 00:31 clamd.log.3
-rw-r-----   1 qscand qscand     0 Oct  8 04:04 clamd.log.4
-rw-r-----   1 qscand qscand 41767 Nov  9 05:02 freshclam.log
-rw-r-----   1 qscand qscand 52934 Nov  5 04:02 freshclam.log.1
-rw-r-----   1 qscand qscand 52231 Oct 29 04:02 freshclam.log.2
-rw-r-----   1 qscand qscand 57954 Oct 22 01:02 freshclam.log.3
-rw-r-----   1 qscand qscand 71947 Oct 15 04:02 freshclam.log.4

今回はfreshclam.log(とローテート済みのログファイル)のみユーザ・グループを変更してみることに。

# chown clamav.clamav /var/log/clamav/freshclam.log*
# freshclam
ClamAV update process started at Thu Nov  9 14:05:46 2006
main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Downloading daily.cvd [*]
daily.cvd updated (version: 2179, sigs: 2240, f-level: 9, builder: ccordes)
Database updated (76049 signatures) from db.jp.clamav.net (IP: 219.106.242.51)
Clamd successfully notified about the update.

調べてみたところ、やはり今朝、yumがClamAVをアップデートしていた。

# rpm -qa | grep clam
clamav-devel-0.88.6-1
clamav-db-0.88.6-1
clamav-0.88.6-1
clamav-server-0.88.6-1

問題は解決できたが、yumが自動実行された際に以下のようなメールが届いていたのが気になる。

/etc/cron.daily/yum.cron:
 
warning: /etc/freshclam.conf created as /etc/freshclam.conf.rpmnew
WARNING!!!
This function will be removed on next version.
 More details on Petr@Kristof.cz

トラックバック(0)

このブログ記事を参照しているブログ一覧: freshclamでまたもやエラー

このブログ記事に対するトラックバックURL: http://somin.heteml.jp/mt/mt-tb.cgi/4253

コメントする

このブログ記事について

このページは、Sominが2006年11月 9日 14:07に書いたブログ記事です。

ひとつ前のブログ記事は「MT3.33、ダイナミックパブリッシングでの不具合」です。

次のブログ記事は「SPAMメールへのささやかな抵抗」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。