Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache service with automatic start crashes |
|
Author |
|
mesa57
Joined: 22 Nov 2013 Posts: 12 Location: Mijdrecht, Netherlands
|
Posted: Fri 22 Nov '13 21:36 Post subject: Apache service with automatic start crashes |
|
|
I encountered a strange problem when installing apache 2.2 or 2.4 as a service and set the service to be automaticly started.
On restart of windows, apache service crashes with an access violation :
Code: | Application popup: httpd.exe - Application Error: The instruction at 0x7c919af2 referenced memory at 0x00000010. The read or write operation ("written") on memory failed. |
I found a workaround on windows 7 : set the starttype to automatic delayed.
However, this does not work on XP (option not available).
I wonder if HTTPD is depending on a services not mentioned in the dependency list (ADF, TCPIP) ?
Does anyone know a answer ? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Fri 22 Nov '13 22:12 Post subject: |
|
|
Strange.
Assume you created the service with >httpd -k install
Any third-party and/or own module enabled, if so try with out it. |
|
Back to top |
|
mesa57
Joined: 22 Nov 2013 Posts: 12 Location: Mijdrecht, Netherlands
|
Posted: Sat 23 Nov '13 10:54 Post subject: |
|
|
Ok, thank you. That was the cause.
I never thought of the custom module being the cause as the event log, error log etc. contained no clue at all. But disabling all custom modules helped.
I am now going to investigate the root cause. |
|
Back to top |
|
mesa57
Joined: 22 Nov 2013 Posts: 12 Location: Mijdrecht, Netherlands
|
Posted: Sat 23 Nov '13 14:55 Post subject: |
|
|
Found the root cause. It was the Firebird server service where my modules depend on which was set on manual start. It is normally started by the Firebird Guardian service, but setting it to automatic enabled Apache to load the modules without error.
Thanks for giving me the tip Steffen |
|
Back to top |
|
|
|
|
|
|