[V5.1 and later]Problems installing or starting Apache or IBM HTTP Server

What kind of error are you seeing?

If you do not see a problem that resembles yours, or if the information provided does not solve your problem, contact IBM support for further assistance.

"Failed to initialize GSK environment" error appears when trying to start Apache

The following messages may appear in Apache's error log file when you attempt to start Apache:

[Wed Aug 27 19:21:59 2003] [error] lib_security: 
         initializeSecurity: Failed to initialize GSK environment
[Wed Aug 27 19:21:59 2003] [error] ws_transport: 
         transportInitializeSecurity: Failed to initialize security
[Wed Aug 27 19:21:59 2003] [error] ws_server: 
         serverAddTransport: Failed to initialize security

These messages are most common after building Apache from the downloadable source code and installing Apache separately from WebSphere Application Server.

If SSL Transport (https) is defined in the plugin-cfg.xml file, the plug-in will try to load the Global Security Kit (GSKit) library libgsk7ssl.so. The error messages will appear in the error log file if the level 7 GSKit libgsk7ssl.so is not installed on your system. To correct these errors, try one of the following:

For details and help on the Apache web server, visit the Apache web site http://httpd.apache.org/.

IBM HTTP Server on Windows does not start, error WSADuplicateSocket failed for socket appears in error.log

If your installation of IBM HTTP Server (IHS) on a Windows platform will not start, you may find a message similar to the following in the log\error.log file of your IHS installation:

"[crit] (10045) The attempted operation is not supported for the 
type of object referenced: Parent: WSADuplicateSocket failed for socket nnnn
This problem occurs when IHS is run on a system with a Virtual Private Networking client such as Aventail Connect. Aventail Connect is a Layered Service Provider (LSP) that intercepts calls between the Winsock 2 API and Window's native Winsock 2 implementation. The failure occurs because Aventail Connect does not implement WASDuplicateSocket(). The interception still takes place when Aventail Connect is shut down.

To correct the problem try one of the following:

For current information available from IBM Support on known problems and their resolution, see the IBM Support page.

IBM Support has documents that can save you time gathering information needed to resolve this problem. Before opening a PMR, see the IBM Support page.


Related tasks
Configuring Secure Sockets Layer