Total877357 Week2484 Yesterday261 Today1007 1count/day on each IP Since 2006-06-06

Mail

«Prev || 1 || Next»

04 March 2007

clamav portupgrade 後エラー発生

clamav をアップデートしたあとに、エラーが発生
 qmail-scannerからだとユーザを変えているので、パーミッションの変更が必要
# /usr/local/etc/rc.d/qmail.sh stop
# /usr/local/etc/rc.d/clamav-clamd.sh stop
# /usr/local/etc/rc.d/clamav-freshclam.sh stop
# chown -R qscand:qscand /var/run/clamav
# chown -R qscand:qscand /var/db/clamav
# chown -R qscand:qscand /var/log/clamav
# /usr/local/etc/rc.d/clamav-clamd.sh start
# /usr/local/etc/rc.d/clamav-freshclam.sh start
# /usr/local/etc/rc.d/qmail.sh start
スクリプトにしておく

再起動後のエラー
 0.90になって、設定ファイルの仕様が変わった
Starting clamav_clamd.
ERROR: Parse error at line 76: Option FixStaleSocket requires boolean argument.
ERROR: Parse error at line 149: Option AllowSupplementaryGroups requires boolean argument.
ERROR: Parse error at line 205: Option ScanMail requires boolean argument.

# vi /usr/local/etc/clamd.conf
 # Remove stale socket after unclean shutdown.
 # Default: disabled
 FixStaleSocket true
 # Initialize supplementary group access (clamd must be started by root).
 # Default: disabled
 AllowSupplementaryGroups true
 # Enable internal e-mail scanner.
 # Default: enabled
 ScanMail true

Starting clamav_freshclam.
 ERROR: Parse error at line 45: Option  AllowSupplementaryGroups requires boolean argument.
 ERROR: Parse error at line 86: Option NotifyClamd requires string argument.
# vi /usr/local/etc/freshclam.conf
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: disabled
 AllowSupplementaryGroups true
 # Send the RELOAD command to clamd.
 # Default: disabled
 NotifyClamd true


03/04/07 09:23:36 - noboru - No comments Mail , FreeBSD , portupgrade
«Prev || 1 || Next»