The following reply was made to PR general/5298; it has been noted by GNATS.
From: tekennelly <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: general/5298
Date: Thu, 18 Nov 1999 23:28:37 -0500
Here is a trace from apache startup to failure.
23:15:04:294 WSAStartup (wVersionRequested = 0x0101) returns (NO ERROR)
WSAData.wVersion =0x0101
.wHighVersion = 0x0202
.szDescription = WinSock 2.0
.szSystemStatus = Running
.iMaxSockets = 32767
.iMaxUdpDg = 65467
.VendorInfo = ��;[EMAIL PROTECTED]:���t:������t~��?D$$Ph
returns (NO ERROR)
23:15:04:329 htonl (0x00000000) returns (0x00000000)
23:15:04:350 htonl (0x00000000) returns (0x00000000)
23:15:04:384 htons (0x0050) returns (0x5000)
23:15:04:413 WSAStartup (wVersionRequested = 0x0202) returns (NO ERROR)
WSAData.wVersion =0x0202
.wHighVersion = 0x0202
.szDescription = WinSock 2.0
.szSystemStatus = Running
.iMaxSockets = 0
.iMaxUdpDg = 0
.VendorInfo = returns (NO ERROR)
23:15:04:446 WSAEnumServiceProviders(... )
23:15:04:465 WSAGetLastError () returns (WSAEFAULT)
23:15:04:483 WSAEnumServiceProviders(... )
23:15:04:501 WSAEnumServiceProviders(... )
23:15:04:519 WSAGetLastError () returns (WSAEFAULT)
23:15:04:538 WSAEnumServiceProviders(... )
23:15:04:577 WSALookupSeviceBegin(... )
23:15:04:592 WSALookupSeviceBegin(... )
23:15:04:610 WSALookupServiceNext(... )
23:15:04:629 WSALookupServiceNext(... )
23:15:04:647 WSALookupServiceEnd(... )
23:15:04:665 gethostname (256) returns ("TestMach")
23:15:04:879 WSALookupSeviceBegin(... )
23:15:04:894 WSALookupSeviceBegin(... )
23:15:04:912 WSALookupServiceNext(... )
23:15:04:931 WSALookupServiceNext(... )
23:15:04:949 WSALookupServiceEnd(... )
23:15:04:967 gethostbyname ("TestMach") returns (NO ERROR)
hostent.h_name = "TestMach.ibmus2.ibm.com"
.h_aliases = NULL
.h_addrtype = AF_INET
.h_length = 4
.addr[0]= 25.26.99.170 returns (NO ERROR)
23:15:04:990 htonl (0x00000000) returns (0x00000000)
23:15:05:009 htonl (0x00000000) returns (0x00000000)
23:15:05:035 htons (0x0050) returns (0x5000)
23:15:05:052 WSALookupSeviceBegin(... )
23:15:05:071 WSALookupSeviceBegin(... )
23:15:05:091 WSALookupServiceNext(... )
23:15:05:106 WSALookupServiceNext(... )
23:15:05:122 WSALookupServiceEnd(... )
23:15:05:144 gethostname (256) returns ("TestMach")
23:15:05:239 WSALookupSeviceBegin(... )
23:15:05:254 WSALookupSeviceBegin(... )
23:15:05:272 WSALookupServiceNext(... )
23:15:05:291 WSALookupServiceNext(... )
23:15:05:306 WSALookupServiceEnd(... )
23:15:05:320 gethostbyname ("TestMach") returns (NO ERROR)
hostent.h_name = "TestMach.ibmus2.ibm.com"
.h_aliases = NULL
.h_addrtype = AF_INET
.h_length = 4
.addr[0]= 25.26.99.170 returns (NO ERROR)
23:15:05:341 htonl (0x00000000) returns (0x00000000)
23:15:05:365 ntohs (0x5000) returns (0x0050)
23:15:05:385 socket (af=PF_INET, type=SOCK_STREAM, protocol=6) returns
(SOCKET=724)
23:15:05:408 setsockopt (SOCKET=724, SOL_SOCKET, SO_REUSEADDR=TRUE) returns
(NO ERROR)
23:15:05:427 setsockopt (SOCKET=724, SOL_SOCKET, SO_KEEPALIVE=TRUE) returns
(NO ERROR)
23:15:05:446 setsockopt (SOCKET=724, IPPROTO_TCP, TCP_NODELAY) returns (NO
ERROR)
23:15:05:465 htonl (0x7F000001) returns (0x0100007F)
23:15:05:484 bind (SOCKET=724, SOCKADDR.length=16,
.family=AF_INET
.port=80
.address=0.0.0.0) returns (NO ERROR)
23:15:05:502 listen (SOCKET=724, backlog=511) returns (NO ERROR)
23:15:05:556 WSADuplicateSocket(... )
23:15:05:747 WSADuplicateSocket(... )
23:16:05:865 closesocket (SOCKET=724) returns (NO ERROR)
Here is the apache error log:
[Thu Nov 18 23:15:06 1999] [crit] (10045)(FormatMessage failed with code 317):
Parent: WSADuplicateSocket failed for socket 724.
[Thu Nov 18 23:15:06 1999] [error] (9)Bad file descriptor: master_main: create
child process failed. Exiting.
[Thu Nov 18 23:16:06 1999] [error] forcing termination of child #0 (handle 840)