View Single Post
  #18 (permalink)  
Old 12-12-2007, 12:43 AM
Aleks Aleks is offline
Active Member
 
Posts: 35
Default

Tnx for quick reply sergiumartin!
I'll definitely read it.

I forgot to mentioned that server is behind proxy.
Today morning I figured out how to configure freshclam proxy.

I had problems with freshclam.conf setting a proxy. Every time I started zmclamdctl it alway reset my configuration.
(I figured out that freshclam.conf.in is the right to modify;stupid me...)

I hope it will not crash anymore and that this was the problem (I'll know after few hours)
btw I'm writing a simple script which will check every 10min if clamav is running if not, it will kill all processes of freshclam and start it again.

After setting a proxy, freshclam.log:
Code:
--------------------------------------
freshclam daemon 0.91.2 (OS: linux-gnu, ARCH: i386, CPU: i686)
ClamAV update process started at Wed Dec 12 07:00:47 2007
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 205.139.192.213)
Trying host db.us.clamav.net (206.154.203.13)...
nonblock_connect: select() failure 3: errno=4: Interrupted system call
nonblock_connect: select() failure 2: errno=4: Interrupted system call
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 206.154.203.13)
Trying host db.us.clamav.net (209.170.150.7)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 209.170.150.7)
Trying host db.us.clamav.net (216.24.174.245)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 216.24.174.245)
Trying host db.us.clamav.net (64.246.134.133)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 64.246.134.133)
Trying host db.us.clamav.net (65.120.238.2)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 65.120.238.2)
Trying host db.us.clamav.net (128.121.60.235)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 128.121.60.235)
Trying host db.us.clamav.net (194.47.250.218)...
--------------------------------------
freshclam daemon 0.91.2 (OS: linux-gnu, ARCH: i386, CPU: i686)
ClamAV update process started at Wed Dec 12 07:04:38 2007
Connecting via proxy.MY-GOVERNMENT.*
Downloading main-45.cdiff [100%]
main.inc updated (version: 45, sigs: 169676, f-level: 21, builder: sven)
Connecting via proxy.MY-GOVERNMENT.*
ERROR: getfile: daily-4016.cdiff not found on remote server (IP: 193.2.237.73)
ERROR: getpatch: Can't download daily-4016.cdiff from db.us.clamav.net
ERROR: getfile: daily-4016.cdiff not found on remote server (IP: 193.2.237.73)
ERROR: getpatch: Can't download daily-4016.cdiff from db.us.clamav.net
ERROR: getfile: daily-4016.cdiff not found on remote server (IP: 193.2.237.73)
ERROR: getpatch: Can't download daily-4016.cdiff from db.us.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Downloading daily.cvd [100%]
daily.cvd updated (version: 5098, sigs: 6020, f-level: 21, builder: ccordes)
Database updated (175696 signatures) from db.us.clamav.net
Clamd successfully notified about the update.
--------------------------------------
Reply With Quote