Hi all,
Please let me know if I am doing the right thing.
I had the clam db error, that my antivirus is 7 days older and I need to update the antivirus. I was getting the following in freshclam.log
Trying host database.clamav.net (85.214.115.224)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 85.214.115.224)
Trying host database.clamav.net (88.198.17.100)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 88.198.17.100)
WARNING: getpatch: Can't download main-51.cdiff from database.clamav.net
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 193.165.167.2)
Trying host database.clamav.net (194.228.41.73)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 194.228.41.73)
Trying host database.clamav.net (195.30.97.3)...
ERROR: Problem with internal logger (UpdateLogFile = /opt/zimbra/log/freshclam.log).
ERROR: /opt/zimbra/log/freshclam.log is locked by another process
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 195.30.97.3)
Trying host database.clamav.net (212.7.0.71)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 212.7.0.71)
Trying host database.clamav.net (217.173.238.34)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 217.173.238.34)
Trying host database.clamav.net (188.40.42.237)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 188.40.42.237)
Trying host database.clamav.net (147.229.3.16)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 147.229.3.16)
Trying host database.clamav.net (62.133.206.90)...
##############################
To get rid of automatic update I did the following.
mv /opt/zimbra/data/clamav/db/* /tmp/clamdb
downloading the the main and daily file from
Clam AntiVirus
After that I uploaded these files in /opt/zimbra/data/clamav/db/
chown zimbra.zimbra /opt/zimbra/data/clamav/db/*
chmod 555 /opt/zimbra/data/clamav/db/
./zmclamdctl restart
I am still getting the logs in clamd.log as follows
LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
Thu Jul 23 05:16:18 2009 -> Loaded 538745 signatures.
Thu Jul 23 05:16:18 2009 -> TCP: Bound to port 3310
Thu Jul 23 05:16:18 2009 -> TCP: Setting connection queue length to 15
Thu Jul 23 05:16:18 2009 -> Limits: Global size limit set to 10240000 bytes.
Thu Jul 23 05:16:18 2009 -> Limits: File size limit set to 10240000 bytes.
Thu Jul 23 05:16:18 2009 -> Limits: Recursion level limit set to 16.
Thu Jul 23 05:16:18 2009 -> Limits: Files limit set to 10000.
Thu Jul 23 05:16:18 2009 -> Archive support enabled.
Thu Jul 23 05:16:18 2009 -> Archive: Blocking encrypted archives.
Thu Jul 23 05:16:18 2009 -> Algorithmic detection enabled.
Thu Jul 23 05:16:18 2009 -> Portable Executable support enabled.
Thu Jul 23 05:16:18 2009 -> ELF support enabled.
Thu Jul 23 05:16:18 2009 -> Mail files support enabled.
Thu Jul 23 05:16:18 2009 -> OLE2 support enabled.
Thu Jul 23 05:16:18 2009 -> PDF support enabled.
Thu Jul 23 05:16:18 2009 -> HTML support enabled.
Thu Jul 23 05:16:18 2009 -> Self checking every 600 seconds.
The size of the files in /opt/zimbra/data/clamav/db/** is different from those I had previously (Increased upto 2 to 3 MB) but in logs the number of signatures are still the same i.e.Loaded 538745 signatures
Please help me with this .
Regards
Adeel