Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Helgo on November 01, 2007, 09:38:52 PM

Title: Clam not working?
Post by: Helgo on November 01, 2007, 09:38:52 PM
Hai all,
Whats happening? internet is working?

2007-11-01 21:13:24.660319500 ClamAV update process started at Thu Nov  1 21:13:24 2007
2007-11-01 21:13:24.664080500 main.inc is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
2007-11-01 21:13:24.675836500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.675868500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.675904500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.675931500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.675954500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.675991500 ERROR: getpatch: Can't download daily-4654.cdiff from database.clamav.net
2007-11-01 21:13:24.676859500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.676905500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.676929500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.676953500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.676976500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.677014500 ERROR: getpatch: Can't download daily-4654.cdiff from database.clamav.net
2007-11-01 21:13:24.678318500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.678350500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.678374500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.678397500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.678420500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.678457500 ERROR: getpatch: Can't download daily-4654.cdiff from database.clamav.net
2007-11-01 21:13:24.679672500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.679701500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.679726500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.679749500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.679774500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.679811500 ERROR: getpatch: Can't download daily-4654.cdiff from database.clamav.net
2007-11-01 21:13:24.680605500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.680634500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.680658500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.680717500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.680740500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.680776500 ERROR: getpatch: Can't download daily-4654.cdiff from database.clamav.net
2007-11-01 21:13:24.681766500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.681795500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.681819500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.681843500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.681867500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.681913500 ERROR: getpatch: Can't download daily-4654.cdiff from database.clamav.net
2007-11-01 21:13:24.681957500 WARNING: Incremental update failed, trying to download daily.cvd
2007-11-01 21:13:24.682848500 Ignoring mirror 145.58.27.103 (due to previous errors)
2007-11-01 21:13:24.682878500 Ignoring mirror 194.109.6.74 (due to previous errors)
2007-11-01 21:13:24.682915500 Ignoring mirror 62.133.206.90 (due to previous errors)
2007-11-01 21:13:24.682939500 Ignoring mirror 80.69.67.43 (due to previous errors)
2007-11-01 21:13:24.682962500 Ignoring mirror 84.243.238.142 (due to previous errors)
2007-11-01 21:13:24.682996500 ERROR: Can't download daily.cvd from database.clamav.net
2007-11-01 21:13:24.685256500 Giving up on database.clamav.net...
2007-11-01 21:13:24.685290500 Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.

Greatings from Holland

Helgo
Title: Re: Clam not working?
Post by: cactus on November 01, 2007, 09:44:42 PM
Hai all,
Whats happening? internet is working?
Since this sentence ends in a question mark I was wondering if you did check internet access to be working, did you?

Greatings from Holland
Greetings back (from Holland as well)!
Title: Re: Clam not working?
Post by: Helgo on November 01, 2007, 09:47:48 PM
Yes i did. its working well
Title: Re: Clam not working?
Post by: cactus on November 01, 2007, 09:50:39 PM
Yes i did. its working well
That is strange as I can perfectly access a few of the listed mirrors.

Code: [Select]
[root@homer ~]# traceroute database.clamav.net
traceroute: Warning: database.clamav.net has multiple addresses; using 80.69.67.43
traceroute to db.nl.clamav.net (80.69.67.43), 30 hops max, 38 byte packets
 1  * * *
 2  * * *
 3  s5592b001.adsl.wanadoo.nl (85.146.176.1)  27.175 ms  25.798 ms  25.962 ms
 4  V646.dr4-asd6.nl.euro.net (194.134.154.13)  32.770 ms  32.648 ms  32.122 ms
 5  10GE2-4.cr2-asd6.nl.euro.net (194.134.162.61)  32.393 ms  32.223 ms  32.440 ms
 6  10GE1-1.cr2-asd4.nl.euro.net (194.134.162.162)  72.342 ms  201.172 ms  203.777 ms
 7  PC12.er1-asd4.nl.euro.net (194.134.162.9)  32.999 ms  32.615 ms  32.955 ms
 8  ams-ix.ge000.m7i.transip.net (195.69.144.244)  40.591 ms  32.953 ms  32.701 ms
 9  clamav.mirror.transip.nl (80.69.67.43)  33.130 ms  32.971 ms  33.165 ms

What does a traceroute from your server to database.clamav.net give?
Title: Re: Clam not working?
Post by: Helgo on November 01, 2007, 09:54:58 PM
??????

traceroute database.clamav.net@server1's password:
Title: Re: Clam not working?
Post by: cactus on November 01, 2007, 09:56:42 PM
??????

traceroute database.clamav.net@server1's password:

Errr... did you login first? This looks like you are trying to login with the command I suggested. Try to login as root and than issue the traceroute command.
Title: Re: Clam not working?
Post by: Helgo on November 01, 2007, 10:01:04 PM
my login was root?
But now I have this

 unknown host database.clamav.net
Title: Re: Clam not working?
Post by: Helgo on November 01, 2007, 10:05:17 PM
Modem works oke.

traceroute to 213.84.119.41, 30 hops max
  1  194.109.5.227         20 ms
  2  194.109.7.133         10 ms
  3  194.109.5.114         10 ms
  4  195.190.250.14        10 ms
  5  213.84.119.41         20 ms
Trace complete.
Title: Re: Clam not working?
Post by: shell on November 02, 2007, 03:04:41 AM
But 213... address you have traceroute'd to is yourself (or another dutch site) not a clamav mirror site...

anyhow it does appear your internet is working ok, have a look at :

http://bugs.contribs.org/show_bug.cgi?id=2349

which shows the same problem.

it is caused by lack of internet or incorrect dns.  after a number of failures mirror sites are no longer checked (to stop the mirror sites getting bombarded i guess by systems that can't update for one reason or another - message used to say old version, so i'm guessing the mirror sites were flooded by old versions that wouldn't be able to automagically grab and use the offered update files anyway..)

the fix suggested there is to clean out the data file that contains the number of times your updated has encountered an error.   of course this will fill again if you have an underlying issue with loss of internet or dns problems.

Code: [Select]
sv d freshclam
rm -f /var/clamav/mirrors.dat
sv u freshclam

you can check your current mirror list and the number of errors recorded against each mirror site with the following command:
Code: [Select]
freshclam --list-mirrors
Title: Re: Clam not working?
Post by: Helgo on November 02, 2007, 08:51:14 AM
Yes this works Thank you :)

I also chance the DNS to the DNS of my provider

Gr.
Helgo

Title: Re: Clam not working?
Post by: cactus on November 02, 2007, 08:55:15 AM
I also chance the DNS to the DNS of my provider
You should not need to do that as SME Server should be capable of resolving addresses for itself.
Title: Re: Clam not working?
Post by: Helgo on November 02, 2007, 11:19:48 AM
Yes I know, but its working now.