clamavのバージョンアップ
ERROR: getpatch: Can't download daily-12258.cdiff from db.jp.clamav.net
ERROR: Can't download daily.cvd from db.jp.clamav.net
ERROR: getpatch: Can't download daily-12258.cdiff from database.clamav.net
ERROR: Can't download daily.cvd from database.clamav.net
以上のエラーが発生
clamd を再起動してみた。
clamd を起動中: WARNING: Running on 32-bit system, and RLIMIT_DATA > 2GB, lowering to 2GB!
気になったのでバージョンアップで対応することにした。
古いclamav-0.95.3のディレクトリへ移動
[root@xxx?~]# cd clamav-0.95.3
clamav-0.95.3のアンインストール
[root@xxx?clamav0.95.3]# /etc/rc.d/init.d/clamd stop
[root@xxx?clamav-0.95.3]# make uninstall
[root@xxx?clamav-0.95.3]# cd
[root@xxx?~]# rm -rf /usr/local/share/clamav
wget?http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.96.4.tar.gz
tar zxvf clamav-0.96.4.tar.gz
cd clamav-0.96.4
./configure
make && make install
wget?http://jaist.dl.sourceforge.net/sourceforge/qmail-scanner/qmail-scanner-2.08.tgz
/etc/rc.d/init.d/qmail stop
rm -rf /var/spool/qscan/qmail-scanner-queue-version.txt
rm -rf /var/qmail/bin/qmail-scanner-queue.pl
qmail-scannerのインストール
tar zxvf qmail-scanner-2.08.tgz
cd qmail-scanner-2.08
./configure --install --scanners clamdscan,verbose_spamassassin --notify none
cd
/etc/rc.d/init.d/qmail start
/etc/rc.d/init.d/clamd start
clamd を起動中: LibClamAV Warning: **************************************************
LibClamAV Warning: ***? The virus database is older than 7 days!? ***
LibClamAV Warning: ***?? Please update it as soon as possible.??? ***
LibClamAV Warning: **************************************************
/etc/cron.hourly/freshclam 又は /path/freshclam
これで完了