Troubleshooting
Problem
This document contains instructions on how to manually create a HTTP server from your IBM® i server.
Resolving The Problem
If you are in a situation where the IBM Web Administration Server is unusable, you must create a HTTP server immediately. The instructions for manually creating the HTTP server follow:
1 | Create the member for your HTTP server in the following file: WRKMBRPDM FILE(QUSRSYS/QATMHINSTC). Press Enter. | ||||||||||
2 | Enter option 3 next to APACHEDFT, and press F4 to prompt the COPY command. | ||||||||||
3 | Change the To member (TOMBR) or label parameter to whatever you would like to name your new HTTP server. This will be defined as <serverName> for use throughout this document. Note: The name of the HTTP server cannot exceed 10 characters. | ||||||||||
4 | Press Enter to accept the changes. | ||||||||||
5 | Once the member is created, do the following:
| ||||||||||
6 | Execute the following commands from the 5250 command line: MKDIR '/www/<serverName>' MKDIR '/www/<serverName>/conf' MKDIR '/www/<serverName>/logs' MKDIR '/www/<serverName>/htdocs' Once again, <serverName> is the name of the member created in Step 3. | ||||||||||
7 | Copy the httpd.conf file from the following: /www/apachedft/conf to /www/<serverName>/conf. | ||||||||||
8 | Edit the httpd.conf and change all references to apachedft to <serverName>. | ||||||||||
9 | Now your HTTP server has been created and is ready. Any changes to what port it listens on or configuration options can be done by editing the httpd.conf file. Notes: 1 The Listen *:80 directive in the httpd.conf file instructs the HTTP server to listen on port 80 for all TCP interfaces. If you want your HTTP server to listen on a different port, change the port number in the Listen directive. 2 Listen 1.1.1.1:10000 - The HTTP server will only listen over the TCP interface 1.1.1.1 for port 10000. |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
489846876
Was this topic helpful?
Document Information
Modified date:
11 November 2019
UID
nas8N1013611