Win XP SP2
Avast home edition 4.7, VPS 00774.4
What does “specified file cannot be found” mean? What file cannot be found?
I have uninstalled and reinstalled from the latest install file from awil/avast. I did the reinstall because for the last month or so I have been receiving this error after Avast starts an automatic update. I still get the error.
I can do a manual update without problem.
Sometimes it does auto update OK.
It appears that the auto update actually completes, even when the error message appears.
Correction:
The error term is:
“the system cannot find the specified file.”
Please, post the last 100-150 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log
I bet they show “cannot find the file specified” … just like all the others have. And here we are the day after the second Tuesday of the month … or as it’s otherwise known Microsoft Tuesday.
It comes around and around and around …
log as requested:
7/28/2007 2:56:06 PM È‘|ˆÒyàá 2008 Function setifaceUpdatePackages() has failed. Return code is 0xC0000142, dwRes is C0000142.
7/28/2007 2:56:06 PM È‘|ˆÒyàá 2008 An error has occured while attempting to update. Please check the logs.
8/1/2007 1:12:19 PM SYSTEM 1984 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/1/2007 1:12:20 PM SYSTEM 1984 An error has occured while attempting to update. Please check the logs.
8/2/2007 11:55:37 AM Ed Sacks 3812 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/3/2007 5:35:17 PM SYSTEM 1868 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/3/2007 5:35:18 PM SYSTEM 1868 An error has occured while attempting to update. Please check the logs.
8/11/2007 5:05:11 PM SYSTEM 1888 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/11/2007 5:05:12 PM SYSTEM 1888 An error has occured while attempting to update. Please check the logs.
8/12/2007 1:52:17 PM SYSTEM 1900 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/12/2007 1:52:17 PM SYSTEM 1900 An error has occured while attempting to update. Please check the logs.
8/20/2007 12:31:11 PM SYSTEM 1824 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/20/2007 12:31:11 PM SYSTEM 1824 An error has occured while attempting to update. Please check the logs.
8/21/2007 11:55:05 AM SYSTEM 1880 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/21/2007 11:55:05 AM SYSTEM 1880 An error has occured while attempting to update. Please check the logs.
8/24/2007 1:35:38 PM SYSTEM 1880 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/24/2007 1:35:39 PM SYSTEM 1880 An error has occured while attempting to update. Please check the logs.
8/28/2007 8:47:05 PM SYSTEM 2044 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/28/2007 8:47:06 PM SYSTEM 2044 An error has occured while attempting to update. Please check the logs.
8/31/2007 4:26:02 PM SYSTEM 1824 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
8/31/2007 4:26:03 PM SYSTEM 1824 An error has occured while attempting to update. Please check the logs.
9/1/2007 1:28:49 PM SYSTEM 1824 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
9/1/2007 1:28:51 PM SYSTEM 1824 An error has occured while attempting to update. Please check the logs.
9/2/2007 12:24:14 PM SYSTEM 1820 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
9/2/2007 12:24:14 PM SYSTEM 1820 An error has occured while attempting to update. Please check the logs.
9/12/2007 5:20:38 PM Ed Sacks 2816 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
9/12/2007 7:03:04 PM SYSTEM 1800 Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.
9/12/2007 7:03:05 PM SYSTEM 1800 An error has occured while attempting to update. Please check the logs.
log as requestedNo, you've posted the avast log, but not the one I've asked and need...
Sorry.
I hope this is not too little or too much:
12.09.2007 19:02:57.000 1189641777 internet SYNCER: Type: use IE settings
12.09.2007 19:02:57.000 1189641777 internet SYNCER: Auth: another authentication, use WinInet
12.09.2007 19:02:59.000 1189641779 package ERROR:GetInetFile, CreateFile( “C:\WINDOWS\TEMP_av_proI.tm~a02612\dld1.tmp”) returned 0x00000002
12.09.2007 19:02:59.000 1189641779 general InvalidateCurrent: invalidated server ‘Download932 AVAST server’ from ‘main’
12.09.2007 19:02:59.000 1189641779 general SelectCurrent: selected server ‘Download30 AVAST server’ from ‘main’
12.09.2007 19:02:59.000 1189641779 package GetPackages - set proxy for inet
12.09.2007 19:02:59.000 1189641779 internet SYNCER: Type: use IE settings
12.09.2007 19:02:59.000 1189641779 internet SYNCER: Auth: another authentication, use WinInet
12.09.2007 19:03:01.000 1189641781 package ERROR:GetInetFile, CreateFile( “C:\WINDOWS\TEMP_av_proI.tm~a02612\dld1.tmp”) returned 0x00000002
12.09.2007 19:03:01.000 1189641781 general InvalidateCurrent: invalidated server ‘Download30 AVAST server’ from ‘main’
12.09.2007 19:03:01.000 1189641781 general SelectCurrent: selected server ‘Download16 AVAST server’ from ‘main’
12.09.2007 19:03:01.000 1189641781 package GetPackages - set proxy for inet
12.09.2007 19:03:01.000 1189641781 internet SYNCER: Type: use IE settings
12.09.2007 19:03:01.000 1189641781 internet SYNCER: Auth: another authentication, use WinInet
12.09.2007 19:03:03.000 1189641783 package ERROR:GetInetFile, CreateFile( “C:\WINDOWS\TEMP_av_proI.tm~a02612\dld1.tmp”) returned 0x00000002
12.09.2007 19:03:03.000 1189641783 general InvalidateCurrent: invalidated server ‘Download16 AVAST server’ from ‘main’
12.09.2007 19:03:03.000 1189641783 general SelectCurrent: unable to find any suitable server in ‘main’
12.09.2007 19:03:03.000 1189641783 internet tried 166 servers to get file ‘avscan-2c1-2b6.vpu’, but failed (0x00000002)
12.09.2007 19:03:03.000 1189641783 package DldPackage: C:\Program Files\Alwil Software\Avast4\Setup\avscan-2c1-2b6.vpu, returned 0x00000002
12.09.2007 19:03:03.000 1189641783 package ERROR: Diff avscan-2c1-2b6 failed
12.09.2007 19:03:03.000 1189641783 package Removed obsolete file avscan-2b6.vpu
12.09.2007 19:03:03.000 1189641783 package IsFullOkay: avscan-2c1.vpu - not okay
12.09.2007 19:03:03.000 1189641783 package FilterOutExistingFiles: 140 & 62 = 78
12.09.2007 19:03:03.000 1189641783 package IsFullOkay: avscan-2c1.vpu - not okay
12.09.2007 19:03:03.000 1189641783 package IsFullOkay: avscan-2c1.vpu - not okay
12.09.2007 19:03:03.000 1189641783 package ERROR:GetInetFile, CreateFile( “C:\WINDOWS\TEMP_av_proI.tm~a02612\dld1.tmp”) returned 0x00000002
12.09.2007 19:03:03.000 1189641783 general InvalidateCurrent: invalidated server ‘Download16 AVAST server’ from ‘main’
12.09.2007 19:03:03.000 1189641783 general SelectCurrent: unable to find any suitable server in ‘main’
12.09.2007 19:03:03.000 1189641783 internet tried 1 servers to get file ‘avscan-2c1.vpu’, but failed (0x00000002)
12.09.2007 19:03:03.000 1189641783 package DldPackage: C:\Program Files\Alwil Software\Avast4\Setup\avscan-2c1.vpu, returned 0x00000002
12.09.2007 19:03:03.000 1189641783 general Err:The system cannot find the file specified.
12.09.2007 19:03:03.000 1189641783 package Transferred files: 6
12.09.2007 19:03:03.000 1189641783 package Transferred bytes: 285287
12.09.2007 19:03:03.000 1189641783 package Transfer time: 9376 ms
12.09.2007 19:03:03.000 1189641783 internet Sending stats ‘http://download16.avast.com/cgi-bin/iavs4stats.cgi’: 00000000 204
12.09.2007 19:03:03.000 1189641783 file NeedReboot=false
12.09.2007 19:03:03.000 1189641783 general Return code: 0x00000002 [The system cannot find the file specified.]
12.09.2007 19:03:03.000 1189641783 general Stopped: 12.09.2007, 19:03:03
12.09.2007 19:03:04.000 1189641784 general Started: 12.09.2007, 19:03:04
12.09.2007 19:03:04.000 1189641784 general Running setup_av_pro-413 (1043)
12.09.2007 19:03:04.000 1189641784 system Operating system: WindowsXP ver 5.1, build 2600, sp 2.0 [Service Pack 2]
12.09.2007 19:03:04.000 1189641784 system Computer WinName: PILGRIM-7
12.09.2007 19:03:04.000 1189641784 system Windows Net User: SYSTEM
12.09.2007 19:03:04.000 1189641784 general Cmdline: /stopstat /verysilent /noreboot
12.09.2007 19:03:04.000 1189641784 general Operation set to INST_OP_[16]
12.09.2007 19:03:04.000 1189641784 general Old version: 405 (1029)
12.09.2007 19:03:04.000 1189641784 general SGW32P::CheckIfInstalled set m_bAlreadyInstalled to 1
12.09.2007 19:03:04.000 1189641784 internet SYNCER: Type: use IE settings
12.09.2007 19:03:04.000 1189641784 internet SYNCER: Auth: another authentication, use WinInet
12.09.2007 19:03:04.000 1189641784 package Part prg_av_pro-413 is installed
12.09.2007 19:03:04.000 1189641784 package Part vps-77404 is installed
12.09.2007 19:03:04.000 1189641784 package Part news-4b is installed
12.09.2007 19:03:04.000 1189641784 package Part setup_av_pro-413 is installed
12.09.2007 19:03:04.000 1189641784 package Part jrog-16 is installed
12.09.2007 19:03:04.000 1189641784 general Old version: 405 (1029)
12.09.2007 19:03:04.000 1189641784 package Transferred files: 0
12.09.2007 19:03:04.000 1189641784 package Transferred bytes: 0
12.09.2007 19:03:04.000 1189641784 package Transfer time: 0 ms
12.09.2007 19:03:04.000 1189641784 file NeedReboot=false
12.09.2007 19:03:04.000 1189641784 general Return code: 0x20000001 [Nothing done]
12.09.2007 19:03:04.000 1189641784 general Stopped: 12.09.2007, 19:03:04
Is this repeatable? Ie. does it occur on every manually started update?
This is the error:
CreateFile( “C:\WINDOWS\TEMP_av_proI.tm~a02612\dld1.tmp”) returned 0x00000002
This happens at the very beginning of the download function when updater tries to create file which would get data downloaded from internet. I don’t know what may be the cause - either something is blocking the file creation, or you got not space on C:, you got no rights to write there or the temp dir does not get created… I don’t know.
Thank you. Very impressive you can interpret that file.
I have 60+GB on the HDD
It only happens during automatic downloads, not manual.
I run a program named EmpRun that empties/deletes many temporary files on a schedule.
Maybe it is just bad timing that Avast starts a update and EmpRun wipes out the file at the same time?
I have included an EmpRun exclusion for C:\WINDOWS\TEMP_av_proI.tm~a02612\ that will leave that Subdirectorty and files in it untouched. Maybe this will solve this problem?
I don’t know when the folder is created (if on start of the service, or right before the update attempt) - in the first case, yes, removing it might cause the problem.
However, the folder name is “temporary” - i.e. the tail will be different each time (so it’s not a good idea to use the exact name as exclusion).
Maybe the exclusion should be
C:\WINDOWS\TEMP_av_*
Or turn off the cleaner program for some time.
I am delaying deleting temp directories for 24 hours. If delaying directories is the cause, then this problem should go away. I will report when I learn something.
I have to agree with kubecj’s recommendation.
The problem is that avast cannot create the subdirectory in the first place - almost certainly because some other process has got a lock on the Windows temporary directory at the time avast tries to create the subdirectory. An exclusion is unlikely to help that problem.
Do you recall if you installed the EmpRun function at the same time as the issues with avast automatic downloads started?
kubecj,
some time ago Vlk posted in this forum that you would be detecting the conditoin where you cannot create the temporary directory. Do you have any information on when we can expect to see that implemented?
I wish the log shows specifically this condition/problem. That would make easy to help the others. I hate unclear error messages…
Check properties of C:\TEMP folder, does it grant SYSTEM account Full control permissions?
Looking at c:\windows\temp, properties, I see no information about “system” attribute status/settings/permissions. Subdirectory attribute is set as read only.
The folder options settings for tools\folder options\view is set to “simple file sharing.” Under that setting, I do not think I have access to determine, let alone make temp\ attribute changes. What do you propose I do?
This user has no problem running manual updates - why would the properties of the Temp folder change between the automatic update failure and the manual update success?
I have yet to see a case (that I have personally investigated or that has been reported in this forum) with this specific error that was not corrected by either delaying the avast automatic update at startup or alternatively by disabling the Windows Automatic update service. I do not recommend the latter but it speaks more to the likelihood of avast being just prevented from creating the temporary folder due to conflict at that time than any problem with the properties of the Windows temp folder.
The problem may be that automatic (ie. localsystem) updates may not have the rights to write to temp dir. Forejt is asking if they have.
I agree it is worth checking but were this the case then I think the user would see more problems than just avast automatic updates.
Any answer to my question to you earlier?