Before doing this operation , please stop the server ..
# cp /opt/zimbra/conf/clamd.conf /opt/zimbra/clamav-version/etc/clamd.conf
#cp /opt/zimbra/conf/freshclam.conf /opt/zimbra/clamav-version/etc/freshclam.conf
# chown zimbra.zimbra /opt/zimbra/clamav-version/etc/clamd.conf
# chown zimbra.zimbra /opt/zimbra/clamav-version/etc/freshclam.conf
creating a fresh db ..
[root@mail clamav]# rm -rf db/
[root@mail clamav]# mkdir db
[root@mail clamav]# chown -R zimbra.zimbra db/
[zimbra@mail ~]$ /opt/zimbra/clamav/bin/freshclam
ClamAV update process started at Fri Jul 13 15:51:44 2007
Downloading main.cvd [100%]
main.cvd updated (version: 43, sigs: 104500, f-level: 14, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 3656, sigs: 32814, f-level: 16, builder: sven)
Database updated (137314 signatures) from db.us.clamav.net (IP: 206.154.202.13)
WARNING: Clamd was NOT notified: Can't connect to clamd on 127.0.0.1:3310
connect(): Connection refused
this warning is due to the server was stoppped .
$ zmcontrol start
$/opt/zimbra/clamav/bin/freshclam
ClamAV update process started at Fri Jul 13 16:01:18 2007
main.cvd is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven)
daily.cvd is up to date (version: 3656, sigs: 32814, f-level: 16, builder: sven)
after this ... freshclam command started to work... |