Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 05.11.2005, 13:12   #1
jerrymouse
Архивный участник
 
Join Date: Jul 2005
Posts: 32
Default Cached failed to start...

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
jerrymouse is offline  
Old 05.11.2005, 14:16   #2
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

Happened to me too, so I rolled back.
bwgreen is offline  
Old 05.11.2005, 14:40   #3
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

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
Metalmurphy is offline  
Old 05.11.2005, 15:01   #4
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

just run it until it works, i'm sure it will not take u more than 10 tries.
Sauron is offline  
Old 05.11.2005, 16:05   #5
jerrymouse
Архивный участник
 
Join Date: Jul 2005
Posts: 32
Default

Quote:
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...

Quote:
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

Quote:
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 ?
jerrymouse is offline  
Old 05.11.2005, 16:53   #6
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

my boot.ini says /noExecute=OptOut
toolpunk is offline  
Old 05.11.2005, 17:08   #7
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Quote:
Quote:
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
Metalmurphy is offline  
Old 07.11.2005, 01:23   #8
jerrymouse
Архивный участник
 
Join Date: Jul 2005
Posts: 32
Default

Nothing helps Retries, reboots, even boot.ini parameters... Still cant run it Oh...
jerrymouse is offline  
Old 07.11.2005, 10:57   #9
jerrymouse
Архивный участник
 
Join Date: Jul 2005
Posts: 32
Default

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 is offline  
Old 07.11.2005, 11:21   #10
jerrymouse
Архивный участник
 
Join Date: Jul 2005
Posts: 32
Default

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.
jerrymouse is offline  
Old 07.11.2005, 14:45   #11
blaher
Архивный участник
 
Join Date: Sep 2005
Posts: 23
Default

mark the file cached.exe and hold down "enter" so it opens alot of cached's... 1 of theese should be running ok i think it happens when you reboot your system.. after some uptime its acting normal
blaher is offline  
Old 08.11.2005, 02:27   #12
jerrymouse
Архивный участник
 
Join Date: Jul 2005
Posts: 32
Default

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.
jerrymouse is offline  
Old 08.10.2006, 09:23   #13
zdark
Архивный участник
 
Join Date: Feb 2006
Posts: 80
Default

Quote:
Originally Posted by jerrymouse View Post
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?
zdark is offline  
Old 09.10.2006, 07:54   #14
Mark20
Архивный участник
 
Join Date: Jan 2006
Posts: 54
Default

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.
Mark20 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:18.