All of the sudden I cannot get any updates. I keep getting message not connected but of course I am connected. Help!
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:
-
If your subscription allows the update right now (i.e., if it is not expired). Home (free) version need registering each 14 months.
-
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. -
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). -
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.
Here is the “warning log” list. I hope this is what you asked for. At the end is the message I was speaking about.
Thanks again for any help. Cindy
1/19/2009 8:39:33 AM SYSTEM 1308 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
1/19/2009 12:44:26 PM SYSTEM 1308 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
1/19/2009 4:46:18 PM SYSTEM 1308 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
1/23/2009 6:39:35 AM ˜ 1312 Function setifaceUpdatePackages() has failed. Return code is 0xC0000142, dwRes is C0000142.
1/23/2009 6:39:35 AM ˜ 1312 An error has occured while attempting to update. Please check the logs.
1/25/2009 11:16:45 AM SYSTEM 1304 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
1/26/2009 3:04:38 PM SYSTEM 1312 Sign of “JS:FakeAV-F [trj]” has been found in “http://antispyware-premium-scan.com/promo/1/freescan.php?nu=77043319” file.
1/26/2009 3:04:38 PM SYSTEM 1312 Sign of “JS:FakeAV-F [trj]” has been found in “C:\Documents and Settings\Owner\Local Settings\Temporary Internet Files\Content.IE5\ZJ5QJJP6\freescan[1].htm” file.
1/28/2009 6:24:01 AM SYSTEM 1316 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
1/31/2009 10:39:11 AM SYSTEM 1316 Function setifaceUpdatePackages() has failed. Return code is 0xC0000142, dwRes is C0000142.
1/31/2009 6:58:23 PM SYSTEM 1312 Sign of “JS:FakeAV-G [trj]” has been found in “http://antimalware-scanner.com/promo/1/img/flist.js” file.
1/31/2009 6:58:31 PM SYSTEM 1312 Sign of “JS:FakeAV-G [trj]” has been found in “C:\Documents and Settings\Owner\Local Settings\Temporary Internet Files\Content.IE5\J1UEW5C0\flist[1].js” file.
2/2/2009 6:54:16 PM SYSTEM 1296 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/7/2009 8:48:05 AM SYSTEM 1300 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/16/2009 7:36:48 PM SYSTEM 1308 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/16/2009 11:40:32 PM SYSTEM 1308 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/20/2009 10:18:13 PM SYSTEM 1316 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/21/2009 1:22:29 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/21/2009 5:37:00 PM SYSTEM 1296 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/21/2009 9:50:06 PM SYSTEM 1296 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/22/2009 6:41:24 PM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/22/2009 10:58:03 PM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/23/2009 3:50:00 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/23/2009 11:39:50 AM SYSTEM 1308 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/23/2009 1:43:11 PM SYSTEM 1304 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/23/2009 8:14:51 PM SYSTEM 1208 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/23/2009 8:14:54 PM SYSTEM 1208 An error has occured while attempting to update. Please check the logs.
2/23/2009 8:57:20 PM SYSTEM 1208 Sign of “HTML:Agent-L [Expl]” has been found in “http://4.nuqewl.com/stat?s=Qqw7oWyccFi5avSY;r=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Den%26rlz%3D1T4SUNA_enUS314US205%26q%3Dcrochet%2Bdragon%2Bpattern%26start%3D10%26sa%3DN\{gzip}” file.
2/24/2009 12:17:27 AM SYSTEM 1208 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 12:19:02 AM SYSTEM 1208 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 12:19:07 AM SYSTEM 1208 An error has occured while attempting to update. Please check the logs.
2/24/2009 12:06:34 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 12:08:53 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 12:09:13 PM SYSTEM 1312 An error has occured while attempting to update. Please check the logs.
2/24/2009 4:20:42 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 4:21:42 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 4:21:42 PM SYSTEM 1312 An error has occured while attempting to update. Please check the logs.
2/24/2009 8:29:07 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 8:30:11 PM SYSTEM 1312 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 8:30:12 PM SYSTEM 1312 An error has occured while attempting to update. Please check the logs.
2/24/2009 9:25:43 PM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 9:27:01 PM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 9:27:01 PM SYSTEM 1320 An error has occured while attempting to update. Please check the logs.
2/24/2009 9:41:13 PM Owner 2452 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 9:42:37 PM Owner 2452 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 9:43:54 PM Owner 2452 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/24/2009 10:00:31 PM Owner 1808 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 1:37:08 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 1:39:09 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 1:39:16 AM SYSTEM 1320 An error has occured while attempting to update. Please check the logs.
2/25/2009 6:14:07 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 11:36:55 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 11:37:02 AM SYSTEM 1320 An error has occured while attempting to update. Please check the logs.
2/25/2009 11:50:08 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 11:51:07 AM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 11:51:08 AM SYSTEM 1320 An error has occured while attempting to update. Please check the logs.
2/25/2009 3:55:09 PM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 3:56:06 PM SYSTEM 1320 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
2/25/2009 3:56:06 PM SYSTEM 1320 An error has occured while attempting to update. Please check the logs.
Sorry, I can’t help with this part of the log.
Can you post the last lines of it?
I don’t understand what you need. Those were the last lines of the log. Maybe I am in the wrong place. Could you tell me step by step where to find what you need?
Sorry, I should be more specific.
Please, post the last 300-350 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log
Which is your firewall?
I found the log, copied to clipboard. Don’t know how to get to clipboard to give info here. This is what it says:
tried 10 servers to get file ‘servers.def’, but failed (0x20000004)
GetNewerStampedFile:GetFileWithRetry failed; C:\DOCUME 1\Owner\LOCALS 1\Temp_av_proI.tm a03652\onefile, servers.def, error: 0x20000004
Tried to download servers.def but failed with error 0x20000004.
LoadAllDefs failed 0x0000004
Err:Cannot connect to a921s1.avast.com (74.86.125.42:80).
Hope this helps.
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.
You will need to temporarily disable the avast self defense module:
- Right click the ‘a’ blue icon on system tray.
- Programs settings > Troubleshooting (tab)
- Disable self defense module
This is from the data log you asked for…Sorry to be so dense but I have no idea what I am doing.
11.03.2009 19:48:15.000 1236826095 general SelectCurrent: selected server ‘Download604 AVAST Server’ from ‘main’
11.03.2009 19:48:15.000 1236826095 internet SYNCER: Type: use IE settings
11.03.2009 19:48:15.000 1236826095 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:17.000 1236826097 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:17.000 1236826097 general InvalidateCurrent: invalidated server ‘Download604 AVAST Server’ from ‘main’
11.03.2009 19:48:17.000 1236826097 general SelectCurrent: selected server ‘Download651 AVAST Server’ from ‘main’
11.03.2009 19:48:17.000 1236826097 internet SYNCER: Type: use IE settings
11.03.2009 19:48:17.000 1236826097 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:19.000 1236826099 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:19.000 1236826099 general InvalidateCurrent: invalidated server ‘Download651 AVAST Server’ from ‘main’
11.03.2009 19:48:19.000 1236826099 general SelectCurrent: selected server ‘Download709 AVAST Server’ from ‘main’
11.03.2009 19:48:19.000 1236826099 internet SYNCER: Type: use IE settings
11.03.2009 19:48:19.000 1236826099 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:21.000 1236826101 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:21.000 1236826101 general InvalidateCurrent: invalidated server ‘Download709 AVAST Server’ from ‘main’
11.03.2009 19:48:21.000 1236826101 general SelectCurrent: selected server ‘Download907 AVAST Server’ from ‘main’
11.03.2009 19:48:21.000 1236826101 internet SYNCER: Type: use IE settings
11.03.2009 19:48:21.000 1236826101 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:24.000 1236826104 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:24.000 1236826104 general InvalidateCurrent: invalidated server ‘Download907 AVAST Server’ from ‘main’
11.03.2009 19:48:24.000 1236826104 general SelectCurrent: selected server ‘Download686 AVAST Server’ from ‘main’
11.03.2009 19:48:24.000 1236826104 internet SYNCER: Type: use IE settings
11.03.2009 19:48:24.000 1236826104 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:26.000 1236826106 internet tried 10 servers to get file ‘servers.def.vpu’, but failed (0x20000004)
11.03.2009 19:48:26.000 1236826106 file GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP_av_proI.tm~a00172\onefile, servers.def.vpu, error: 0x20000004
11.03.2009 19:48:26.000 1236826106 package Download servers.def, servers.def.vpu failed with error 0x20000004.
11.03.2009 19:48:26.000 1236826106 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:26.000 1236826106 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:26.000 1236826106 general InvalidateCurrent: invalidated server ‘Download686 AVAST Server’ from ‘main’
11.03.2009 19:48:26.000 1236826106 general SelectCurrent: selected server ‘Download623 AVAST Server’ from ‘main’
11.03.2009 19:48:26.000 1236826106 internet SYNCER: Type: use IE settings
11.03.2009 19:48:26.000 1236826106 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:26.000 1236826106 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:26.000 1236826106 general InvalidateCurrent: invalidated server ‘Download623 AVAST Server’ from ‘main’
11.03.2009 19:48:26.000 1236826106 general SelectCurrent: selected server ‘Download678 AVAST Server’ from ‘main’
11.03.2009 19:48:26.000 1236826106 internet SYNCER: Type: use IE settings
11.03.2009 19:48:26.000 1236826106 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:28.000 1236826108 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:28.000 1236826108 general InvalidateCurrent: invalidated server ‘Download678 AVAST Server’ from ‘main’
11.03.2009 19:48:28.000 1236826108 general SelectCurrent: selected server ‘Download928 AVAST Server’ from ‘main’
11.03.2009 19:48:28.000 1236826108 internet SYNCER: Type: use IE settings
11.03.2009 19:48:28.000 1236826108 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:30.000 1236826110 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:30.000 1236826110 general InvalidateCurrent: invalidated server ‘Download928 AVAST Server’ from ‘main’
11.03.2009 19:48:30.000 1236826110 general SelectCurrent: selected server ‘Download691 AVAST Server’ from ‘main’
11.03.2009 19:48:30.000 1236826110 internet SYNCER: Type: use IE settings
11.03.2009 19:48:30.000 1236826110 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:32.000 1236826112 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:32.000 1236826112 general InvalidateCurrent: invalidated server ‘Download691 AVAST Server’ from ‘main’
11.03.2009 19:48:32.000 1236826112 general SelectCurrent: selected server ‘Download713 AVAST Server’ from ‘main’
11.03.2009 19:48:32.000 1236826112 internet SYNCER: Type: use IE settings
11.03.2009 19:48:32.000 1236826112 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:34.000 1236826114 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:34.000 1236826114 general InvalidateCurrent: invalidated server ‘Download713 AVAST Server’ from ‘main’
11.03.2009 19:48:34.000 1236826114 general SelectCurrent: selected server ‘Download714 AVAST Server’ from ‘main’
11.03.2009 19:48:34.000 1236826114 internet SYNCER: Type: use IE settings
11.03.2009 19:48:34.000 1236826114 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:36.000 1236826116 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:36.000 1236826116 general InvalidateCurrent: invalidated server ‘Download714 AVAST Server’ from ‘main’
11.03.2009 19:48:36.000 1236826116 general SelectCurrent: selected server ‘Download749 AVAST Server’ from ‘main’
11.03.2009 19:48:36.000 1236826116 internet SYNCER: Type: use IE settings
11.03.2009 19:48:36.000 1236826116 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:38.000 1236826118 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:38.000 1236826118 general InvalidateCurrent: invalidated server ‘Download749 AVAST Server’ from ‘main’
11.03.2009 19:48:38.000 1236826118 general SelectCurrent: selected server ‘Download681 AVAST Server’ from ‘main’
11.03.2009 19:48:38.000 1236826118 internet SYNCER: Type: use IE settings
11.03.2009 19:48:38.000 1236826118 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:40.000 1236826120 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:40.000 1236826120 general InvalidateCurrent: invalidated server ‘Download681 AVAST Server’ from ‘main’
11.03.2009 19:48:40.000 1236826120 general SelectCurrent: selected server ‘Download935 AVAST Server’ from ‘main’
11.03.2009 19:48:40.000 1236826120 internet SYNCER: Type: use IE settings
11.03.2009 19:48:40.000 1236826120 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:42.000 1236826122 internet ERROR:HttpGetWininet, catch returned 0x00002EFD
11.03.2009 19:48:43.000 1236826123 general InvalidateCurrent: invalidated server ‘Download935 AVAST Server’ from ‘main’
11.03.2009 19:48:43.000 1236826123 general SelectCurrent: selected server ‘Download511 AVAST Server’ from ‘main’
11.03.2009 19:48:43.000 1236826123 internet SYNCER: Type: use IE settings
11.03.2009 19:48:43.000 1236826123 internet SYNCER: Auth: another authentication, use WinInet
11.03.2009 19:48:45.000 1236826125 internet tried 10 servers to get file ‘servers.def’, but failed (0x20000004)
11.03.2009 19:48:45.000 1236826125 file GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP_av_proI.tm~a00172\onefile, servers.def, error: 0x20000004
11.03.2009 19:48:45.000 1236826125 package Tried to download servers.def but failed with error 0x20000004.
11.03.2009 19:48:45.000 1236826125 package LoadAllDefs failed 0x20000004
11.03.2009 19:48:45.000 1236826125 general Err:Cannot connect to a935sm.avast.com (74.54.25.34:80).
11.03.2009 19:48:45.000 1236826125 package Transferred: files 22, bytes 0, time 177344 ms
11.03.2009 19:48:45.000 1236826125 package Retries: total 20, files 2, servers 21
11.03.2009 19:48:45.000 1236826125 internet Sending stats ‘http://download511.avast.com/cgi-bin/iavs4stats.cgi’: 20000004 0
11.03.2009 19:48:45.000 1236826125 file NeedReboot=false
11.03.2009 19:48:45.000 1236826125 general Return code: 0x20000004 [Cannot connect to download511.avast.com (209.62.121.2:80).]
11.03.2009 19:48:45.000 1236826125 general Stopped: 11.03.2009, 19:48:45
Thank you
If, in avast Program Settings > Update Connections > Proxy
you select the option “Direct connection (no proxy)” and then “Test connection” do you get an OK response?
If you do and leave it that way does it help with your updates problem?
I tried that and it said connection ok. Tried to run updates and still comes back with “cannot connect to server” message. Would it be easier to uninstall/reinstall?
Sorry it was no help. I think your suggestion it is worth a try … please let us know how it goes.
I do appreciate all the help. I think I will uninstall using the avast uninstall tool and then install again. I am completely baffled and maybe that is best. I don’t want to mess up anything. Thanks again guys.
I hope your results are positive, but either way thanks for letting us know.