Total877334 Week2461 Yesterday261 Today984 1count/day on each IP Since 2006-06-06

Top >>Mail >>clamav portupgrade 後エラー発生

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


posted at 09:23:36 on 04 March 2007 by noboru - Category: Mail , FreeBSD , portupgrade

TrackBack

   トラックバックフォーム

Comments

No comments yet

Add Comments

このBlogへコメントを追加するにはメンバーとしてログインしなければいけません。

< 2024-12 >
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031    

 Use OpenOffice.org
VALUE-DOMAIN.COM

最近のコメント