IBM Support

MustGather: HTTP 500 Internal Server Error/HTTP 404 Not Found Error with IBM i Administration Server (2001 Port)

Troubleshooting


Problem

Collecting data for HTTP 500 Internal Server Errors/HTP 404 Not Found Errors with the IBM i Administration Server (2001 Port). Gathering this MustGather information before calling IBM Support will help familiarize you with the troubleshooting process and save you time.

Resolving The Problem

An HTTP 500 Internal Server Error/ HTTP 404 Not Found error is generally indicated when the internet browser throws a status code of:

1. 500 Internal Server Error - The server encountered an unexpected condition which prevented it from fulfilling the request.
2. 404 Not Found - The server has not found anything matching the Request-URI.

HTTP 500 Internal Server Error/HTTP 404 Not Found Error specific MustGather information

If you encounter a HTTP 500 Internal Server Error/HTTP 404 Not Found Error when accessing the IBM i Administration server over ports 2001/2010/2004/2005, you should collect the following information when the internal application server and application(s) are experiencing the problem.

Appendix A: How to execute and gather the HTTPAdmin collector for IBM i (HTTPADMCOL)

1.

On the IBM i command line type the following command:

ADDLIBLE QMGTOOLS

If the library is found follow steps B and C below. If the library is not found we will want to do steps A - C to install QMGTOOLS and update it:

A) On the IBM i command line type the following to restore the QMGTOOLS library (NOTE: QALWOBJRST system value needs to be set to *ALL):

RSTLIB SAVLIB(QMGTOOLS) DEV(*SAVF) SAVF(QSYS/QESMGTSAVF) MBROPT(*ALL) ALWOBJDIF(*ALL)

B) We can then run the following commands:

ADDLIBLE QMGTOOLS

GO MG

C) Take an opt. 13 to check for an update and follow the prompts to automatically download and restore the updated library. NOTE : If the system cannot connect to IBM please perform 'Method 1' from the following document to manually update the QMGTOOLS library:

http://www-01.ibm.com/support/docview.wss?uid=nas8N1011297

2.

Once QMGTOOLS is updated we can then type the following command (replace the PMR , BRANCH , COUNTRY and EMAIL with your PMR information and your email address):

QMGTOOLS/HTTPADMCOL ARE_FLAG(ADMIN2) FTPRSP(Y) PMR(55555) BRANCH(555) +
COUNTRY(555) EMAIL('YOUREMAIL@COMPANY.COM')

*The above command will run for 5-15 minutes and will automatically FTP the '/tmp/collectorscripts/data/httpadmincollector.zip' file to ecurep and forward to the PMR number noted. If the local IBM i does not have FTP access, it will fail to upload, and the '/tmp/collectorscripts/data/httpadmincollector.zip' file will need to be uploaded manually to http://www.ecurep.ibm.com/app/upload

  For full instructions on using HTTPADMCOL from QMGTOOLS, refer to document http://www-01.ibm.com/support/docview.wss?uid=nas8N1020078

Appendix B: How to collect and send diagnostic information to IBM Support

(Optional) This is only required if the automatic upload process fails.

1. Collect the httpAdmincollector.zip file from the /tmp/COLLECTORSCRIPTS/data directory on the IFS of the IBM i.

The file can be transferred to your PC via a mapped network drive, FTP, or using the System i Navigator Windows application.  Instructions on how to FTP the file to your PC are provided below.

1. Ensure the FTP server is started on your IBM i server, STRTCPSVR *FTP.
2.

On your PC, open a DOS command prompt

Start -> Run -> cmd
3.

Change to the C:\ drive

cd C:\
4.

FTP to your IBM i server

ftp '10.1.1.1'
5. Log into your IBM i server.
6.

Enter the following commands to transfer the file to your PC.

bin

quote site na 1

cd /tmp/COLLECTORSCRIPTS/data

get httpAdmincollector.zip
7. The httpAdmincollector.zip file should transfer successfully to the C:\ directory on your PC.


2. Upload the data to IBM Support

For transferring files to IBM that are smaller than 2GB each (files may exceed 2GB in total)
If you have an existing PMR:

1. Go to our ECUREP upload site at the following address:
http://www.ecurep.ibm.com/app/upload
2. Enter your PMR number, select OS/400 for the Upload is for field, then supply your e-mail address (a confirmation of the upload will be sent to you).
3. Click Continue .
4. Choose File button to select the file you would like to upload to IBM Support (i.e. Select the C:\httpAdmincollector.zip file).
5. Click Submit to transfer the file and associate it with your PMR.

If you are opening a new PMR:
1. Sign on to the SR tool at the following URL:
http://www.ibm.com/support/entry/portal/open_service_request
2. Select Open a new service request .
3. Follow the steps to create a Service Request until you have come to the final page prior to submitting your request.
4. Scroll down to the Attach additional files section.
5. Click Browse to start adding files to your PMR. (i.e. Select the C:\httpAdmincollector.zip file) Note that there is a 2GB limit per file.

Historical Number

533841497

Document information

More support for: IBM i

Software version: IBM i 6.1, 7.1, 7.2, 7.3

Operating system(s): IBM i

Reference #: N1012790

Modified date: 20 July 2018


Translate this page: