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 is not start automatically on windows server |
|
Author |
|
elavarasan
Joined: 26 Sep 2011 Posts: 53
|
Posted: Fri 24 Aug '12 9:13 Post subject: Apache service is not start automatically on windows server |
|
|
Hi,
I have setup apache 2.2.17 on windows server 2008 R2 and I'm getting apache crash frequently so i need to login into server and manually start the apache services.
So What i did is that i have setup apache should be start after crash by automatically in the apache's property tab ( Recovery )
When apache got crash then the recovery is try to start the apache service but it's throwing the error says that (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
I understand that even though apache got crash but in the background still apache process is running
So what i want is that when apache is got crash or apache automatically stop then kill all the apache process ids if anything and then start service automatically
Would appreciate that can anyone help me
Thanks,
Ela |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 24 Aug '12 9:37 Post subject: |
|
|
1st problem is that mod_fcgid 2.3.6! If it crashes (which it has per your other post) it leaves a running process behind that holds onto port 80 and the error log. Only way to start Apache again is wait for that process to eventually die, or go into the task manager and kill it.
mod_fcgid/2.3.7 is out and has this problem fixed.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50309 |
|
Back to top |
|
|
|
|
|
|