Closed5

ubuntu に clamav を入れて使う

tkttkt
$ sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!

なんかエラーが出てる
dotfiles 経由だからなんか権限系がおかしいのか

tkttkt

https://komputilo.blogspot.com/2018/09/freshclamlog-is-locked-by-another.html

このとおり。freshclamはデーモンとして働いてくれるのでそれを手動で行おうとすると「ロックされている」というエラーメッセージが出てしまう。よってこの問題を解決する必要はなく、要するにfreshclamを手動で実行する必要はないということ。

解決しなくて良いらしい

tkttkt
clamscan --recursive ~/

でスキャンが開始された

このスクラップは2021/02/17にクローズされました