rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: SoKoOLz on March 07, 2008, 02:07:56 AM

Title: Updating Problem (happens sometimes)
Post by: SoKoOLz on March 07, 2008, 02:07:56 AM
Hi,

Thank you Rejetto for sorting out everyone problems. You are the man.

Ok, this update issue is not serious. It happens to me sometimes but not all the time.
I've noticed that, if your server is under a heavy load (like mines) and when HFS is trying to update at the same time, the problem happens. Unfortunately, it is hard for me to capture the screen, because it happens so fast with all that DOS prompts and commands. But I will show you where the problem occurs.

Suppose the following command is the HFS updating command:
Quote
START "" /WAIT "D:\Servers\hfs.exe" -q
ping 127.0.0.1 -n 3 -w 1000> nul
REM MOVE "D:\Servers\hfs.exe" "D:\Servers\hfs.old.exe"
[PROBLEM: "ACCESS IS DENIED"] <<
MOVE /Y "D:\Servers\hfs.exe.new" "D:\Servers\hfs.exe"
[PROBLEM: "ACCESS IS DENIED"] <<
START "" "D:\Servers\hfs.exe"
DEL %0

So I think you need some method that can guarantee that the process will be shutdown completely, like (taskkill /F /IM hfs.exe).

Thanks Rejetto.
Title: Re: Updating Problem (happens sometimes)
Post by: rejetto on March 07, 2008, 02:33:48 AM
it appears to be an old version of the updater.
i think you won't get this problem in the future.