Page 1 of 1

Apache service not started on Windows 7 Ultimate

Posted: Tue Feb 15, 2011 10:15 am
by sandeept
Hello,

I have Apache 2.2.16 running on port 8080 on Windows 7 Ultimate. It was working quite fine but for last one week, Apache service is not started when OS loads. Log file shows,

[Sat Feb 05 12:44:56 2011] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Starting the Apache2.2 service(OS 5)Access is denied. : Apache2.2: Failed to open the service

I have searched forums for solutions and got few suggestions. These are,

1. Disable antivirus
2. Add following lines in httpd.conf

EnableMMAP off
EnableSendfile off
Win32DisableAcceptEx

3. Reinstall Apache

None of above have helped.

If I double click httpd.exe in bin directory, I am able to run php scripts through browser. This trick works from command prompt too. But, Apache service in windows services panel shows "stopped". On clicking start, it says, requested service failed. Same message is shown when I try to start Apache from Apache monitor services.

Please help. Thanks in advance.

Thanks,
Sandeep

Re: Apache service not started on Windows 7 Ultimate

Posted: Mon Feb 21, 2011 10:21 am
by woodplaner
Hi. I have a similar prob with an xampp install under Windows 7 Ultimate. The apache would not run even when started from the xampp panel. I disabled the McAfee firewall, started apache from the xampp panel, enabled the firewall, and now apache will run, and I must do this each time I boot. It still does not automatically execute when Windows boots, but I am working on that.