ClamAVの導入

「検索エンジンがサイトをインデックスしないようにする」のチェック外しに伴い、ClamAVを導入してみる。物自体はaptで簡単に導入できたが、freshclamがうごかない。
ERROR: /var/log/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/freshclam.log).
って怒られちゃう。調べるとパーミッションの問題ぽいんで、chmod766でfreshclam.logの権限変更して無事動作を確認。
crontabでfreshclam、clamscanを設定して、自動スキャン化、以上。

参考サイト:
春霞,”「clamav」でウィルス定義ファイルアップデートエラー”,”http://blog.canpan.info/hofu_nanboku/archive/190”,(access:2017.8.17)

コメントを残す

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

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny