Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The "FAQ" page has been changed by RichBowen. The comment on this change is: Remove questions/answers that stopped being relevant in the 1990s.. http://wiki.apache.org/httpd/FAQ?action=diff&rev1=17&rev2=18 -------------------------------------------------- If you fail to do this, then it is very likely that Apache will fail to build. One of the most common errors is with readv, writev, or uio.h. This is not a bug with Apache. You will need to re-install GCC. - == I'm using RedHat Linux 5.0, or some other glibc-based Linux system, and I get errors with the crypt function when I attempt to build Apache == - glibc puts the crypt function into a separate library. Edit your src/Configuration file and set this: - - EXTRA_LIBS=-lcrypt - Then re-run src/Configure and re-execute the make. - = D. Error Log Messages and Problems Starting Apache = == Why do I get "setgid: Invalid argument" at startup? == @@ -210, +204 @@ Also, make sure that your Windows system has DNS enabled. See the TCP/IP setup component of the Networking or Internet Options control panel. After verifying that DNS is enabled and that you have a valid hostname in your ServerName directive, try to start the server again. - - == When I try to start Apache for Windows, I get a message like "Unable To Locate WS2_32.DLL...". What should I do? == - Short answer: You need to install Winsock 2, available from http://www.microsoft.com/windows95/downloads/ - - Detailed answer: Prior to version 1.3.9, Apache for Windows used Winsock 1.1. Beginning with version 1.3.9, Apache began using Winsock 2 features (specifically, WSADuplicateSocket()). WS2_32.DLL implements the Winsock 2 API. Winsock 2 ships with Windows NT 4.0 and Windows 98. Some of the earlier releases of Windows 95 did not include Winsock 2. - - == Apache for Windows does not start. Error log contains this message: "[crit] (10045) The attempted operation is not supported for the type of object referenced: Parent: WSADuplicateSocket failed for socket ###". What does this mean? == - We have seen this problem when Apache is run on systems along with Virtual Private Networking clients like Aventail Connect. Aventail Connect is a Layered Service Provider (LSP) that inserts itself, as a "shim," between the Winsock 2 API and Window's native Winsock 2 implementation. The Aventail Connect shim does not implement WSADuplicateSocket, which is the cause of the failure. - - The shim is not unloaded when Aventail Connect is shut down. Once observed, the problem persists until the shim is either explicitly unloaded or the machine is rebooted. Another potential solution (not tested) is to add apache.exe to the Aventail "Connect Exclusion List". - - Apache is affected in a similar way by any firewall program that isn't correctly configured. Assure you exclude your Apache server ports (usually port 80) from the list of ports to block. Refer to your firewall program's documentation for the how-to. == When I try to start Apache on Windows, I get a message like "System error 1067 has occurred. The process terminated unexpectedly." What does this mean? == This message means that the Web server was unable to start correctly for one reason or another. To find out why, execute the following commands in a DOS window: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
