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: windows service issue |
|
Author |
|
skyefriday
Joined: 26 Aug 2006 Posts: 3
|
Posted: Sat 26 Aug '06 8:33 Post subject: windows service issue |
|
|
I have installed the apachelounge package and php5 as suggested by pnllan in the documentation and howtos section. Everything works perfectly when I httpd manually in a dos window (this was how it was suggested to test before installing services). Php responds and works wonderfully. However if I then install the service httpd -k install, and attempt to open the site, nothing works at all. (I have checked that the apache service is started) If I then manually in a cmd window run httpd, everything works again. I would rather have the service running than having to have the cmd window open whenever the site is up and running but cannot seem to get it working. I uninstalled the service, and reinstalled hoping that something was missed in the config, but to no avail. Currently the site is running from the dos window...
Any suggestions would be appreciated! |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 26 Aug '06 21:33 Post subject: |
|
|
Anything in the Apache error.log and or Windows Event Viewer ?
How do you check that the apache service is started ?
Steffen |
|
Back to top |
|
skyefriday
Joined: 26 Aug 2006 Posts: 3
|
Posted: Sat 26 Aug '06 22:33 Post subject: running services |
|
|
After I install the service - I can see it in compmgmt.msc - or in the services panel in admin servcies. I have manually started an stopped the service with the apachemonitor as well as in services with no difference.
error log:
[Sat Aug 26 16:32:02 2006] [error] (OS 10038)An operation was attempted on something that is not a socket. : Child 1004: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.
Yet without changing anything in the os, I can stop the service, run httpd manually from dos - and the site works perfectly. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sun 27 Aug '06 0:06 Post subject: |
|
|
It is puzzling me.
The error message suggests to try Win32DisableAcceptEx , put it in your httpd.conf. |
|
Back to top |
|
skyefriday
Joined: 26 Aug 2006 Posts: 3
|
Posted: Sun 27 Aug '06 0:14 Post subject: it worked... |
|
|
adding Win32DisableAcceptEx to httpd.conf solved it, whatever it was. now the service works great with no errors.
I looked it up in the apache docs - and it said some virus or vpn software can cause this error. See the following:
http://httpd.apache.org/docs/2.0/mod/mpm_winnt.html
Thank you for your assistance! I am just happy it is working! |
|
Back to top |
|
|
|
|
|
|