Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: avast9002 on May 20, 2009, 12:57:25 AM

Title: Cannot Updated the Virus Database - HELP
Post by: avast9002 on May 20, 2009, 12:57:25 AM
Hello,

I tried to updated the virus database. But I cannot access the files. Here is the errors log...

.
.
.
19.05.2009 15:36:30 internet: while trying to get file 'servers.def', error 0x20000004 has occured, try 8
19.05.2009 15:36:32 general: InvalidateCurrent: invalidated server 'Download903 AVAST Server' from 'main'
19.05.2009 15:36:32 general: SelectCurrent: selected server 'Download741 AVAST Server' from 'main'
19.05.2009 15:36:32 internet: SYNCER: Type: use IE settings
19.05.2009 15:36:32 internet: SYNCER: Auth: another authentication, use WinInet
19.05.2009 15:36:32 internet: while trying to get file 'servers.def', error 0x20000004 has occured, try 9
19.05.2009 15:36:35 general: InvalidateCurrent: invalidated server 'Download741 AVAST Server' from 'main'
19.05.2009 15:36:35 general: SelectCurrent: selected server 'Download957 AVAST Server' from 'main'
19.05.2009 15:36:35 internet: SYNCER: Type: use IE settings
19.05.2009 15:36:35 internet: SYNCER: Auth: another authentication, use WinInet
19.05.2009 15:36:35 internet: while trying to get file 'servers.def', error 0x20000004 has occured, try 10
19.05.2009 15:36:37 internet: tried 10 servers to get file 'servers.def', but failed (0x20000004)
19.05.2009 15:36:37 file: GetNewerStampedFile:GetFileWithRetry failed: C:\DOCUME~1\ADMINI~1.HON\LOCALS~1\Temp\_av_proI.tm~a02212\onefile, servers.def, error: 0x20000004
19.05.2009 15:36:37 package: Tried to download servers.def but failed with error 0x20000004.
19.05.2009 15:36:37 package: LoadAllDefs failed 0x20000004
19.05.2009 15:36:37 general: Err:Cannot connect to a741sl.avast.com (208.43.71.145:80).
.
.
.

Thanks.

Title: Re: Cannot Updated the Virus Database - HELP
Post by: Lisandro on May 20, 2009, 01:07:12 AM
Please, post the last 200-250 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log
All you need to know about updates and IP addresses: http://www.avast.com/eng/updates2.html#idt_1366

Also check:

1) If your subscription allows the update right now (i.e., if it is not expired). Home (free) version need registering each 14 months.

2) If your firewall settings and allow avast.setup to connect.
    If you're not sure, just turn off your firewall (to be sure the update failure is not due to it).
    Maybe you should 'remove' avast.setup entry, try to update, receiving a new alert from the firewall, allowing it and checking it to remember.

3)  Check your proxy settings into avast!:
     Left click the avast icon > Settings
     Update (Basic) > Details > Proxy
     Make sure your browser is not set to "Work Offline" (this option is generally in the File menu).
     If it doesn't help, try switching from "Auto-detect" to "No proxy" (I'm assuming you're not connecting to the Internet via proxy).

4) Also you can try changing update service's login account, follow this:
    Open services control panel (e.g. Start->Run, and type: services.msc
    Double-click on avast! iAVS4 Control Service to show properties. Switch to LogOn page.
    Enter administrator account name and password.
    Do the same for avast! Antivirus service.
    Then start update again.

5) The last option, check if the servers.def file is corrupt or 0KB (C:\Program Files\Alwil Software\Avast4\Setup\servers.def).
    You can try and download the servers.def file, http://files.avast.com/iavs4x/servers.def and replace the one in the avast setup folder.
    I hope you haven't bought a license from a site on this list: http://www.avast.com/eng/fraudulent-sales-of-avast-products.html

0x20000004 error is a "proxy down" error, i.e., server unreachable (or, in other words, "cannot connect to the updating server"). Is there any other Firewall installed on the machine besides Windows own firewall? Have you had any previous anti-virus program installed on this computer before installing avast? The last way is check your hosts file to see if there are any entries that could be blocking avast's update servers. A blank "default" configuration of the windows hosts file should basically have only one entry (127.0.0.1 localhost).
Title: Re: Cannot Updated the Virus Database - HELP
Post by: avast9002 on May 20, 2009, 01:17:28 AM
After I did those steps, the manual update works now. I don't konw if the auto will work...? Thanks.

Quote
Try to open avast settings - Update (Connections), press Proxy button, and select Direct connection, press OK to confirm. Then try to start iAVS update manually again.

Does the manual update work?
Title: Re: Cannot Updated the Virus Database - HELP
Post by: Lisandro on May 20, 2009, 02:59:05 PM
After I did those steps, the manual update works now. I don't konw if the auto will work...? Thanks.
Differences between auto-detect proxy and direct connection are the use of two different download engines - wininet.dll (used by IE, it's the auto-detect setting) or winsock (direct connection).
Usually direct connection (winsock) helps for users with ADSL connection where the wininet engine fails.
Also, some malware can install as wininet proxy and when it detects connection to their servers, the downloaded stream returns just a file filled with zeros instead of real data. Setting direct connection bypasses this too. So, it's good to check if your computer is virus clean right now.