Apache service not started on Windows 7 Ultimate

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
sandeept
Forum Newbie
Posts: 15
Joined: Wed Sep 10, 2008 2:15 am

Apache service not started on Windows 7 Ultimate

Post 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
woodplaner
Forum Newbie
Posts: 13
Joined: Sun Jan 02, 2011 8:12 am

Re: Apache service not started on Windows 7 Ultimate

Post 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.
Post Reply