View Full Version : Cached failed to start...
jerrymouse
05.11.2005, 13:12
I setup SP1 to my win2003 server and now CacheD failed to run.
It shows programm window for a few second (show string BBS use is disabled) and close it without any messages. Logs is clear. Nothing unusual. This looks like crash but no OS error shown... Any suggestions ?
Thanks
Happened to me too, so I rolled back.
Metalmurphy
05.11.2005, 14:40
jerrymouse that happens to me once in a while. I just reboot the machine untill it works. It might take 3 or 4 reboots sometimes
just run it until it works, i'm sure it will not take u more than 10 tries.
jerrymouse
05.11.2005, 16:05
Happened to me too, so I rolled back.
Rollback is not a choice. Actually i setup a SP1 to fight another problem - after some time LogD and other services too cant open socket. For example php scripts cant connect to mysql and other. Reboot resolve the problem...
jerrymouse that happens to me once in a while. I just reboot the machine untill it works. It might take 3 or 4 reboots sometimes
to be honest this is not logical solution i think
just run it until it works, i'm sure it will not take u more than 10 tries.
I tried many times but nothing happends - same problem. Squid on russian forum suggested to look in to the boot.ini. I dont know exactly what does he mean by that, but i think the problem possible with the /NoExecute=OptIn (Data execution prevention). I try to set it to AlwaysOff now...
Thanks for the answers. Any other ideas ?
toolpunk
05.11.2005, 16:53
my boot.ini says /noExecute=OptOut
Metalmurphy
05.11.2005, 17:08
jerrymouse that happens to me once in a while. I just reboot the machine untill it works. It might take 3 or 4 reboots sometimes
to be honest this is not logical solution i think
who cares if it is? it works and i didnt need to post a thread like this ;)
jerrymouse
07.11.2005, 01:23
Nothing helps :( Retries, reboots, even boot.ini parameters... Still cant run it :( Oh...
jerrymouse
07.11.2005, 10:57
Oh.. After spending X-hours on this problem i made a patch and solution...
#$%^@!!@! !!!
Lets go.. After some analisys i found the root of the crash - ole32.dll
ole32.dll not imported directly by cached, but it imported by pdh.dll for example (thats ours case !). Now, if you have crash (cached failed to start) after SP1 setup to 2003 you can try to do this:
1. Copy both ole32.dll and pdh.dll from \System32 folder to the cached.exe folder.
2. Patch ole32.dll (using hiew for example) to look like this:
.7768F1DD: E99274FFFF jmp .077686674 ---↑ (1)
.7768F1E2: 90 nop
Now you done. Cached works fine...
Hope this save yours time and nerves.
Russian version here:
http://forum.lineageii.ru/viewtopic.php?t=16122
jerrymouse
07.11.2005, 11:21
I just checked - cached.exe still uses dll from system32 :/
Looks like my editing of ole32.dll not the fix :/ But daemon work...
Its possible i forgot something what i do before. I will check it out...
(added) In next reboot i add file chached.exe.local to make OS loader load local copy of dll and check it out.
mark the file cached.exe and hold down "enter" so it opens alot of cached's... 1 of theese should be running ok :p i think it happens when you reboot your system.. after some uptime its acting normal
jerrymouse
08.11.2005, 02:27
I still don't like this 'magic' ways :)
Put your magic wand and stuck it between Enter and Shift (just kidding) :) Brrrrr :)
I found another easy way to ger rid away from the problem.
Take original ole32.dll (from backup after SP installation), put it to cached folder. Now create at this folder empty file:
cached.exe.local
This advice OS load local copy of dll's.
100% works for me.
I still don't like this 'magic' ways :)
Put your magic wand and stuck it between Enter and Shift (just kidding) :) Brrrrr :)
I found another easy way to ger rid away from the problem.
Take original ole32.dll (from backup after SP installation), put it to cached folder. Now create at this folder empty file:
cached.exe.local
This advice OS load local copy of dll's.
100% works for me.
post dll original?
Thats interesting, sometimes cached dont want to start... I only try to execute again and again, no more than 3 or 4 tries and cached is working.
I try later that way jerrymouse said.