DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9714

Apache/2.0.36 service cannot be startet on Windows XP Pro SMP





------- Additional Comments From [EMAIL PROTECTED]  2002-06-23 20:04 -------
I CAN run the server from the console. It starts the two client processes, and 
everything works as expected besides the fact that there is now way other than 
kill to stop these processes.

NOTHING appears in the error.log! Strange... Although the ap_log* calls are in 
place and executed, no log is written.  

>From the Application event log:

"The Apache service named  reported the following error:
>>> (23563)The service process could not connect to the service controller.  : 
Error starting service control dispatcher   "

I managed to debug the service startup:

StartServiceCtrlDispatcher at service.c:577 fails with rv = 23563. GetLastError
() reports 1063.

In general it seems to be against the rules to call StartServiceCtrlDispatcher 
from a thread in a DLL (libhttpd.dll). According to the docs the function 
should be called from the main thread of the application. I also see that the 
service entry function should have WINAPI (_cdecl) linkage type. I changed the 
latter with no effect.

We have a lot to do with services. And what happens in the Apache2 code seems a 
little bit strange to me. I would help to come to a more general solution that 
will work (like our services). I could supply a sample (unfortunately C++) 
pointing out how you could forever get rid of the service problems (we can also 
not install the service with dependencies on other services like a database). 
If C++ is a no-go for this project, the class may help to refactor the service 
stuff in C. Just send me a mail ([EMAIL PROTECTED]) and I send the code (single 
C++ class plus sample service).

regards benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to