View Single Post
  #3  
Old 9th March 2013, 15:35
sawa73 sawa73 is offline
Junior Member
 
Join Date: Mar 2013
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi,

I can't use freshclam -v command :
Code:
root@ksxxxxx:~# freshclam -v
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
My log file :
Code:
root@ksxxxxx:~# tail /var/log/clamav/freshclam.log
Sat Mar  9 14:37:01 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
Sat Mar  9 14:37:01 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
Sat Mar  9 14:37:01 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
Sat Mar  9 14:37:01 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
Sat Mar  9 14:37:01 2013 -> ERROR: getpatch: Can't download daily-16682.cdiff from database.clamav.net
Sat Mar  9 14:37:01 2013 -> WARNING: Incremental update failed, trying to download daily.cvd
Sat Mar  9 14:37:01 2013 -> ERROR: Can't download daily.cvd from database.clamav.net
Sat Mar  9 14:37:01 2013 -> Giving up on database.clamav.net...
Sat Mar  9 14:37:01 2013 -> Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.
Sat Mar  9 14:37:01 2013 -> --------------------------------------
My network is not down i can reach the clamav host :
Code:
root@ksxxxxx:~# host database.clamav.net
database.clamav.net is an alias for db.local.clamav.net.
db.local.clamav.net is an alias for db.fr.clamav.net.
db.fr.clamav.net has address 193.51.160.14
db.fr.clamav.net has address 193.52.101.131
db.fr.clamav.net has address 195.190.27.134
db.fr.clamav.net has address 91.193.56.105
db.fr.clamav.net has address 193.43.215.41
Content of /etc/clamav/freshclam.conf :
Code:
DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
I deleted mirror.dat in /var/lib/clamav

my Clamav version is 0.97 :
Code:
root@ksxxxxx:~# freshclam -V
ClamAV 0.97.6/16681/Thu Feb 14 13:55:37 2013
Thank you for your help.
Reply With Quote