IBM Support

MustGather: HTTP 500 Internal Server Error/HTTP 404 Not Found Error with IBM Web Administration for i5/OS and i5/OS Tasks (2001 Port)

Technote (troubleshooting)


Problem(Abstract)

Collecting data for HTTP 500 Internal Server Errors/HTP 404 Not Found Errors with the IBM Web Administration for i5/OS and i5/OS Tasks pages. Gathering this MustGather information before calling IBM Support will help familiarize you with the troubleshooting process and save you time.

Resolving the problem

This document explains how to collect data for HTTP 500 Internal Server Errors/HTP 404 Not Found errors with the IBM Web Administration for i5/OS and i5/OS Tasks pages. Gathering this MustGather information before calling IBM Support will help familiarize you with the troubleshooting process and save you time.

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.

If you have already contacted IBM Support, continue through this document as requested by your support representative. Otherwise, refer to the Support for IBM System i main portal at the following URL:

http://www.ibm.com/systems/support/i/

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 i5/OS Tasks (2001) or IBM Web Administration Page (HTTPAdmin), you should collect the following information when the internal application server and application(s) are experiencing the problem.

1. Execute and gather the httpAdmincollector tool and output.
Appendix A. How to execute and gather the httpAdmincollector tool and output.
2. Follow the instructions to collect and send the data into IBM Support.
Appendix B. How to collect and send diagnostic information to IBM Support.
For a listing of all technotes, downloads, and educational materials specific to the IBM i Server components, search the Support for IBM System i Web site at the following URL:

http://www.ibm.com/systems/support/i/
    • - Appendix A: How to execute and gather the HTTPAdmin collector for IBM i (HTTPADMCOL)



      R540 Only Instructions


      1. On the i5 command line, type mkdir '/home/httpcollector'
      2. Download the 'httpAdminCollectorTools.zip' file from the link below and place it in the '/home/httpcollector' IFS directory on the IBM i:
      3. On the i5 command line, type STRQSH and press Enter.
      4. Type cd /home/httpcollector and press Enter.
      5. Type jar -xf httpAdminCollectTools.zip and press Enter.
      6. Type httpAdmincollector.sh and press Enter.
      7. You will receive the following prompt:
        Will this httpAdmincollector.zip file be uploaded to ecurep for a PMR? (This requires JDK 6.0) Y or N?
      If you response with a 'Y', you will be prompted to enter your PMR number and an e-mail address. The collector data will automatically be uploaded to IBM and attached to the PMR. If you respond with a 'N' (or you do not have JDK 6.0 installed), the data will be written to '/home/httpcollector/httpAdmincollector.zip'. You should send the httpAdmincollector.zip file into IBM Support for review.



      R610-R730 Instructions

      1. If the QMGTOOLS library has not yet been installed, you should refer to the following document for information on how to download and install the QMGTOOLS toolkit on your IBM i server. http://www-01.ibm.com/support/docview.wss?uid=nas8N1011297
      2. ADDLIBLE QMGTOOLS
      3. 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 zip file will need to be uploaded manually to
      http://www.ecurep.ibm.com/app/upload
      For full instructions on using HTTPADMCOL from QMGTOOLS, note document http://www-01.ibm.com/support/docview.wss?uid=nas8N1020078
      • - Appendix B: How to collect and send diagnostic information to IBM Support


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



            Directions for collecting files located in the IFS

            To retrieve the file(s), do the following:

            1. Open the System i Navigator.
            2. Expand your system where the files are located. Log in with your user ID (preferably QSECOFR or equivalent).
            3. Expand File Systems, and drill down to the directory that contains the file(s) requested by this document.
            4. Locate the following file:
            httpAdmincollector.zip file from the '/tmp/COLLECTORSCRIPTS/data' directory on the IFS of the System i.
            5. Finally, drag and drop the files from System i Navigator to your desktop.
            • - 2. Upload the data to IBM Support



              Transferring files to IBM

                • - 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). Click Continue.

                      3. On the next screen click on the Choose File button to select the file you would like to upload to IBM Support. 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. Note that there is a 2GB limit per file.

                        6. Click Submit when you are done adding files and are ready to submit your PMR to IBM Service.



                      • - For transferring files to IBM that exceed 2GB each


                        Important Note: You must have a PMR created to complete these steps.

                        1. Prepare your files for transfer:

                        a. You should compress (if possible) each file, or multiple files, into one zip archive. This will speed up the transfer process and make the overall process easier.
                        b. Rename your file(s) prior to transfer. Use the following file naming convention to name your file:

                        Caution: The file must use this format to be associated with the PMR; this is the complete PMR record number. Using any other file name will cause the file to be deleted.

                        Enter your PMR record information and file type as follows:
                        xxxxx.bbb.ccc.yyy.zzz

                        where:
                        xxxxx = PMR number
                        bbb = Branch
                        ccc = Country code
                        yyy = Unique file name
                        zzz = File type or file extension

                        Example

                        12345.055.000.collector01_29_Aug_06.zip

                        2. From a command prompt, terminal window, or FTP client, FTP to the following site:

                        ftp testcase.boulder.ibm.com

                        3. Log in as anonymous.

                        4. Enter your e-mail address as the password.

                        5. Using the cd command, change to the following directory:

                        cd /toibm/os400

                        6. Enter the following command to place the file on the server:

                        put file_name

                        7. Enter the quit command to end your transfer session.





                  Cross reference information
                  Segment Product Component Platform Version Edition
                  Operating System IBM i 7.2
                  Operating System IBM i 7.1
                  Operating System IBM i 6.1
                  Operating System IBM i 7.3

                  Historical Number

                  533841497

                  Document information

                  More support for: IBM i
                  Communications-TCP

                  Software version: 5.4.0, 5.4.5, 6.1, 6.1.1, 7.1, 7.1.0, 7.2.0, 7.3

                  Operating system(s): IBM i

                  Reference #: N1012790

                  Modified date: 04 October 2012


                  Translate this page: