Author Topic: Automatic update error: "specified file cannot be found"  (Read 10132 times)

0 Members and 1 Guest are viewing this topic.

edsacks

  • Guest
Automatic update error: "specified file cannot be found"
« on: September 13, 2007, 12:47:20 AM »
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.

edsacks

  • Guest
Re: Automatic update error: "cannot find specified file"
« Reply #1 on: September 13, 2007, 02:06:38 AM »
Correction:
The error term is:
"the system cannot find the specified file."

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Automatic update error: "specified file cannot be found"
« Reply #2 on: September 13, 2007, 04:30:47 AM »
Please, post the last 100-150 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log
The best things in life are free.

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Automatic update error: "specified file cannot be found"
« Reply #3 on: September 13, 2007, 08:12:11 AM »
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 ....
 
« Last Edit: September 13, 2007, 08:14:26 AM by alanrf »

edsacks

  • Guest
Re: Automatic update error: "specified file cannot be found"
« Reply #4 on: September 13, 2007, 09:44:20 PM »
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. 

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Automatic update error: "specified file cannot be found"
« Reply #5 on: September 13, 2007, 10:40:45 PM »
Quote
log as requested
No, you've posted the avast log, but not the one I've asked and need...
The best things in life are free.

edsacks

  • Guest
Re: Automatic update error: "specified file cannot be found"
« Reply #6 on: September 14, 2007, 12:40:52 AM »
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

kubecj

  • Guest
Re: Automatic update error: "specified file cannot be found"
« Reply #7 on: September 14, 2007, 08:17:12 AM »
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.

edsacks

  • Guest
Re: Automatic update error: "specified file cannot be found"
« Reply #8 on: September 14, 2007, 07:09:30 PM »
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?

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Automatic update error: "specified file cannot be found"
« Reply #9 on: September 14, 2007, 07:31:44 PM »
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).

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Automatic update error: "specified file cannot be found"
« Reply #10 on: September 14, 2007, 08:33:02 PM »
Maybe the exclusion should be
C:\WINDOWS\TEMP\_av_*
The best things in life are free.

kubecj

  • Guest
Re: Automatic update error: "specified file cannot be found"
« Reply #11 on: September 14, 2007, 08:37:18 PM »
Or turn off the cleaner program for some time.

edsacks

  • Guest
Re: Automatic update error: "specified file cannot be found"
« Reply #12 on: September 14, 2007, 09:49:40 PM »
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.

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Automatic update error: "specified file cannot be found"
« Reply #13 on: September 14, 2007, 10:07:32 PM »
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?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Automatic update error: "specified file cannot be found"
« Reply #14 on: September 14, 2007, 10:41:24 PM »
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...
The best things in life are free.