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.

For Troubleshooting information, see the following:

https://www.ibm.com/support/pages/node/642965


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 TSxxxxxxxxx value with your specific IBM Support Case Number and email address):

QMGTOOLS/HTTPADMCOL ARE_FLAG(ADMIN2) FTPRSP(Y) CASE_NBR(TSxxxxxxxxx) 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 IBM Support Case 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 https://www.secure.ecurep.ibm.com/app/upload_sf.

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.

a. Ensure the FTP server is started on your IBM i server, STRTCPSVR *FTP.
b.

On your PC, open a DOS command prompt

Start -> Run -> cmd
c.

Change to the C:\ drive

cd C:\
d.

FTP to your IBM i server

ftp '10.1.1.1'
e. Log into your IBM i server.
f.

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

bin

quote site na 1

cd /tmp/COLLECTORSCRIPTS/data

get httpAdmincollector.zip
g. 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 IBM Support Case:

Refer to the MustGather: Instructions for Sending Data to IBM i Support document for detailed information on uploading data to IBM.
Note: For help with sending data to IBM i Support using the IBM My Support Portal, see How to upload data to a support case.

If you are opening a new IBM Support Case:

1. Sign into the IBM My Support Portal using your IBM ID.
2. On the main page, click on the Open a case button under Support cases.
3. Fill in the Title, Product, Severity, Description, and other required fields.
4. Scroll down and click on the Upload files button under Attachments.
5. Click on Click to Select Files and select the file(s) you wish to upload OR you can drag and drop the files where it says, "Or Drop Files Here".
(i.e. Select the C:\httpAdmincollector.zip file)
5. Click Upload to transfer your file(s) to your IBM Support Case.
6. The attachments will be uploaded to ECuRep, and an update will be made to your case notifying IBM i Support the files have been uploaded.
7. Click the Submit case button to complete the creation of your case and submit it to IBM to review.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"IBM i Administration Server (ADMIN)","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.4;7.3;7.2;7.1;6.1.x","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

533841497

Document Information

Modified date:
29 July 2020

UID

nas8N1012790