CONTENTS


Lastmodified 2020-07-17 (金) 17:28:13


Clamav 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 1137:本日 1:昨日 3

Counter: 1137, today: 1, yesterday: 3

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS