New Apache 2.0_54 install on Windows 2K3 Server

Okay i'm having a craptacular time trying to get apache running on my
windows 2k3 server.

I have installed apache on windows machines before without any problem, so
i'm totally baffled here. Let's review what i've done.

I'm trying to get everything working on a server on my network. It has a
permanent ip set at 192.168.1.10 and is behind a linksys router (wrt54g).
The router get's it's ip via dhcp from my cable provider. It may also be
important to mention that at one time i had 2 nics in this machine. One was
straight into a dsl modem and was the main route to the internet, the other
stayed behind the router on the lan. I have since removed the dsl
connection and disabled the nic it was plugged into.

I install apache. I edit the httpd.conf file and set it up to work on
localhost on port 80. I set the error logging level to error. I start the
server and my error.log file fills up with this:

[Mon Sep 26 02:13:33 2005] [error] (OS 10038)An operation was attempted on
something that is not a socket. : Child 5584: Encountered too many errors
accepting client connections. Possible causes: dynamic address renewal, or
incompatible VPN or firewall software. Try using the Win32DisableAcceptEx
directive.

about 6 times a second that entry writes to the log.

So i do some digging and find all kinds of fun things about windows. I
disable ICS and firewalls. I disable windows auto update. I uninstall my
antivirus package and remove all unecessary networking protocals (QoS and
such...). I try again... same problem. So i try the Win32DisableAcceptEx
directive in the httpd.conf. It behaves the same, log file fills up ...
only with this error every second instead:

[Mon Sep 26 02:15:54 2005] [notice] Parent: child process exited with status
0 -- Restarting.
[Mon Sep 26 02:15:54 2005] [notice] Apache/2.0.54 (Win32) configured --
resuming normal operations
[Mon Sep 26 02:15:54 2005] [notice] Server built: Apr 16 2005 14:25:31
[Mon Sep 26 02:15:54 2005] [notice] Parent: Created child process 4572
[Mon Sep 26 02:15:54 2005] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Sep 26 02:15:54 2005] [notice] Child 4572: Child process is running
[Mon Sep 26 02:15:54 2005] [notice] Child 4572: Acquired the start mutex.
[Mon Sep 26 02:15:54 2005] [notice] Child 4572: Starting 250 worker threads.
[Mon Sep 26 02:15:54 2005] [notice] Child 4572: Listening on port 80.
[Mon Sep 26 02:15:54 2005] [error] (OS 10038)An operation was attempted on
something that is not a socket. : Too many errors in select loop. Child
process exiting.
[Mon Sep 26 02:15:54 2005] [notice] Child 4572: Exit event signaled. Child
process is ending.
[Mon Sep 26 02:15:55 2005] [notice] Child 4572: Released the start mutex
[Mon Sep 26 02:15:55 2005] [notice] Child 4572: Waiting for 250 worker
threads to exit.
[Mon Sep 26 02:15:55 2005] [notice] Child 4572: All worker threads have
exited.
[Mon Sep 26 02:15:55 2005] [notice] Child 4572: Child process is exiting

Okay, i'm about to give up on apache and use IIS lol .... i'm at my wit's
end. What else can I try to get this beast working? Any help would be
greatly appreciated!!!!!! Thanks in advance!

Here is another possibly relevant paste ....

route print
========
IPv4 Route Table
============================================================ ===============
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 0e 0c 61 36 3a ...... Intel(R) PRO/1000 MT Desktop Adapter
============================================================ ===============
============================================================ ===============
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.10 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.10 192.168.1.10 1
192.168.1.10 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.1.10 255.255.255.255 192.168.1.1 192.168.1.10 1
192.168.1.255 255.255.255.255 192.168.1.10 192.168.1.10 1
224.0.0.0 240.0.0.0 192.168.1.10 192.168.1.10 1
255.255.255.255 255.255.255.255 192.168.1.10 192.168.1.10 1
Default Gateway: 192.168.1.1
============================================================ ===============
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.1.10 255.255.255.255 192.168.1.1 1
Kelly C [ Mo, 26 September 2005 10:22 ] [ ID #983973 ]

Re: New Apache 2.0_54 install on Windows 2K3 Server

Hi,

today i have just tried to start up Apache, the same version as you,
but on WinXP SP2 ... with same result. Im using Kerio Presonal Firewall
and avast! antivirus. I also tried to switch them off but nothing
happend. Im now little desperate.

Can anybody help us please?

thanks

Tomas Hajek

Kelly C napsal:
> [Mon Sep 26 02:13:33 2005] [error] (OS 10038)An operation was attempted on
> something that is not a socket. : Child 5584: Encountered too many errors
> accepting client connections. Possible causes: dynamic address renewal, or
> incompatible VPN or firewall software. Try using the Win32DisableAcceptEx
> directive.
>
> about 6 times a second that entry writes to the log.
>

> [Mon Sep 26 02:15:54 2005] [error] (OS 10038)An operation was attempted on
> something that is not a socket. : Too many errors in select loop. Child
> process exiting.
hajekt2 [ Di, 11 Oktober 2005 20:06 ] [ ID #1005855 ]

Re: New Apache 2.0_54 install on Windows 2K3 Server

hajekt2 [at] gmail.com wrote:

(snipped)

>>[Mon Sep 26 02:13:33 2005] [error] (OS 10038)An operation was attempted on
>>something that is not a socket. : Child 5584: Encountered too many errors
>>accepting client connections. Possible causes: dynamic address renewal, or
>>incompatible VPN or firewall software. Try using the Win32DisableAcceptEx
>>directive.

Shut down Apache

Open your httpd.conf file

Make a safe backup copy

Add this near the top of your httpd.conf file,

Win32DisableAcceptEx

Save and restart Apache

If Apache fails to restart correctly, shut down, copy
back in your backup copy of httpd.conf and start over.

http://httpd.apache.org/docs/2.0/mod/mpm_winnt.html

There are rumors this syntax creates memory leaks. I have
not confirmed this. Research various versions of Apache
and options offered. You will discover the 1.x version
series are less troublesome for Win32 platforms; Apache
2.x version series are not well ported to Win NT systems.

Versions beyond 1.3.27 when used with Win98 contain a
fatal bug which has been reported a year or so back
and never repaired. For NT, this fatal bug does not
appear. Use 1.3.27 or newer for recent security patches.

Alternatives are install a virus scanner which is
compatible with Apache, or move back to 1.3.x versions;
1.3.27 or newer. You might try early 2.x versions to
discover if this socket bug is not present.

Purl Gurl
Purl Gurl [ Di, 11 Oktober 2005 20:32 ] [ ID #1005856 ]
Webserver » alt.apache.configuration » New Apache 2.0_54 install on Windows 2K3 Server

Vorheriges Thema: Apache Status Lots of ..reading.. eventually locks up server
Nächstes Thema: Graceful restart requested, doing restart