Troubleshooting
Problem
Collecting data for HTTP 500 Internal Server Error and HTTP 404 Not Found errors with the IBM i Administration Server (2001 port). Gathering this MustGather information before you call IBM Support helps familiarize you with the troubleshooting process and saves you time.
Resolving The Problem
The browser indicates an HTTP 500 Internal Server Error or HTTP 404 Not Found status code:
- 500 Internal Server Error: The server encountered an unexpected condition that prevented it from fulfilling the request.
- 404 Not Found: The server has not found anything that matches the request URI.
For troubleshooting information, see ERROR 500 (Internal Server Error) when accessing IBM Navigator for i, IBM Web Administration for i, or IBM Digital Certificate Manager.
HTTP 500 Internal Server Error and HTTP 404 Not Found MustGather information
If you encounter an HTTP 500 Internal Server Error or HTTP 404 Not Found error when you access the IBM i Administration Server over ports 2001, 2010, 2004, or 2005, collect the following information while the internal application server and applications are experiencing the problem.
Appendix A: How to execute and gather the HTTPAdmin collector for IBM i (HTTPADMCOL)
-
On the IBM i command line, type the following command:
ADDLIBLE QMGTOOLSIf the library is found, follow steps B and C. If the library is not found, complete steps A through C to install and update QMGTOOLS:
A) On the IBM i command line, restore the QMGTOOLS library. The QALWOBJRST system value must be set to
*ALL:RSTLIB SAVLIB(QMGTOOLS) DEV(*SAVF) SAVF(QSYS/QESMGTSAVF) MBROPT(*ALL) ALWOBJDIF(*ALL)B) Run the following commands:
ADDLIBLE QMGTOOLS GO MGC) Select option 13 to check for an update, and follow the prompts to download and restore the updated library automatically. Note: If the system cannot connect to IBM, perform Method 1 in MustGather: How to obtain and install QMGTOOLS and keep it current to update the QMGTOOLS library manually.
-
After QMGTOOLS is updated, type the following command. Replace the TSxxxxxxxxx value with your IBM Support case number and email address:
QMGTOOLS/HTTPADMCOL ARE_FLAG(ADMIN2) FTPRSP(Y) CASE_NBR(TSxxxxxxxxx) EMAIL('YOUREMAIL@COMPANY.COM')The command runs for 5 to 15 minutes and automatically uploads the
/tmp/collectorscripts/data/httpadmincollector.zipfile to ECuRep and forwards it to the IBM Support case number that you specify. If the local IBM i does not have FTP access, the upload fails, and you must upload the/tmp/collectorscripts/data/httpadmincollector.zipfile manually to IBM Secure Upload (ECuRep). -
For full instructions about using HTTPADMCOL from QMGTOOLS, see QMGTOOLS: HTTPAdmin Collector for IBM i.
Appendix B: How to collect and send diagnostic information to IBM Support
This appendix is optional. It is required only 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.
You can transfer the file to your PC through a mapped network drive, FTP, or the IBM Navigator for i Windows application. The FTP instructions follow.
- Ensure that the FTP server is started on your IBM i server:
STRTCPSVR *FTP. - On your PC, open a DOS command prompt:
Start -> Run -> cmd - Change to the C: drive:
cd C:\ - FTP to your IBM i server:
ftp '10.1.1.1' - Log in to your IBM i server.
- Enter the following commands to transfer the file to your PC:
bin quote site na 1 cd /tmp/COLLECTORSCRIPTS/data get httpAdmincollector.zip - The httpAdmincollector.zip file transfers to the C:\ directory on your PC.
2. Upload the data to IBM Support
Files smaller than 2 GB each can be transferred to IBM (files can exceed 2 GB in total).
If you have an existing IBM Support case:
See MustGather: Instructions for Sending Data to IBM i Support for detailed information about uploading data to IBM.
If you are opening a new IBM Support case:
- Sign in to the IBM My Support Portal with your IBM ID.
- On the main page, under Support cases, click Open a case.
- Fill in the Title, Product, Severity, Description, and other required fields.
- Scroll down, and under Attachments, click Upload files.
- Click Click to Select Files and select the files that you want to upload, or drag and drop the files where it says "Or Drop Files Here" (for example, the C:\httpAdmincollector.zip file).
- Click Upload to transfer the files to your IBM Support case.
- The attachments are uploaded to ECuRep, and an update notifies IBM i Support that the files were uploaded.
- Click Submit case to create and submit your case for IBM to review.
Historical Number
533841497
Was this topic helpful?
Document Information
Modified date:
22 November 2026
UID
nas8N1012790