#author("2020-07-17T17:07:58+09:00","default:kuji","kuji")
#author("2020-07-17T17:28:13+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*Clamav log [#p4855e6f]

/var/log/clamav/clamd.log

 SelfCheck: Database status OK.
 WARNING: lstat() failed on: /var/amavis/tmp/amavis-20200717T155815-91291-wN20p8Ax/parts
 WARNING: lstat() failed on: /var/amavis/tmp/amavis-20200717T152455-89060-Te7ILh59/parts
 WARNING: lstat() failed on: /var/amavis/tmp/amavis-20200717T155815-91291-wN20p8Ax/parts
 WARNING: lstat() failed on: /var/amavis/tmp/amavis-20200717T152455-89060-Te7ILh59/parts
 WARNING: lstat() failed on: /var/amavis/tmp/amavis-20200717T155815-91291-wN20p8Ax/parts

https://forum.iredmail.org/topic1823-solved-fresh-install-and-clamavclamd-failed-unexpected.html


 ------------------------解決済み------------------------ ---------------
 権限の問題-Clamdはユーザーclamavとして実行されていますか?その場合
 は、ユーザーclamavがグループamavis(またはこれらの
 ディレクトリを所有する任意のグループ)に属していることを確認し、AllowSupplementaryGroupsをclamav.confに追加します。


 # pw groupeshow clamav
 pw: unknown keyword `groupeshow'
 # pw groupshow clamav
 clamav:*:106:
 # pw groupmod vscan -M clamav
 # pw groupshow vscan
 vscan:*:110:clamav

/usr/local/etc/clamd.conf

 LogFile /var/log/clamav/clamd.log
 LogFileMaxSize 2M
 PidFile /var/run/clamav/clamd.pid
 DatabaseDirectory /var/db/clamav
 LocalSocket /var/run/clamav/clamd.sock 
 
 FixStaleSocket yes
 
 #User clamav
 User root
 ScanMail yes
 LeaveTemporaryFiles no
 SelfCheck 600
 AllowSupplementaryGroups


reboot

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS