Troubleshooting IBM i (AS400) Monitor Connection Failures

Troubleshooting IBM i (AS400) Monitor Connection Failures

Troubleshooting guide for IBM i (AS400) monitoring in ManageEngine Applications Manager.

Use this article to troubleshoot common IBM i monitor failures, including SSL certificate trust, invalid credentials, disabled user profiles and host-server connectivity.

1. Unable to connect to the IBM i server — PKIX path building failed

What it means: SSL is enabled for the monitor, but Applications Manager does not trust the certificate presented by the IBM i server.

  1. On the IBM i server, open Digital Certificate Manager and export the certificate used by the host servers. If an internal CA issued it, export the CA certificate.
  2. In Applications Manager, open the certificate screen, select Trust certificates, upload the certificate, assign an alias and import it.
  3. Open List certificates and confirm that the alias is listed.
  4. Save the monitor again.

If an internal CA signed the server certificate, import the CA certificate. Import intermediate certificates too, where applicable, so the complete chain is trusted.

2. The given Password is wrong. Please configure with correct values

What it means: The IBM i server rejected the password for the specified user profile.

  1. Sign in to the IBM i server using the same profile and password to verify the credentials.
  2. Check whether the profile was disabled after repeated failed attempts:
    DSPUSRPRF USRPRF(<profile>)
    Review the Status field. If it is *DISABLED, see the next section.
  3. Check whether the password has expired. DSPUSRPRF displays the expiry date; use CHGPWD to change the password.
  4. Check the password level:
    DSPSYSVAL SYSVAL(QPWDLVL)
    At levels 0 or 1, passwords are limited to 10 characters and are not case sensitive. At levels 2 or 3, longer passwords are supported and are case sensitive.

3. The given Username is wrong. Please configure with correct values

What it means: The user profile does not exist, or it exists but is disabled.

  1. Verify that the profile exists:
    DSPUSRPRF USRPRF(<profile>)
  2. If its status is *DISABLED, enable it:
    CHGUSRPRF USRPRF(<profile>) STATUS(*ENABLED)
  3. IBM i user profile names can contain up to 10 characters. If the supplied name is longer, create a shorter profile for monitoring.
  4. If the profile is repeatedly disabled, review the sign-on attempt limit and action:
    DSPSYSVAL SYSVAL(QMAXSIGN)
    DSPSYSVAL SYSVAL(QMAXSGNACN)

4. The IBM i Server is down / Connection refused / Read timed out / IO Exception opening socket

What it means: No service responded. The IBM i machine may be running, but the host servers used by Applications Manager may not be started.

  1. Start all host servers:
    STRHOSTSVR SERVER(*ALL)
    Check their jobs:
    WRKACTJOB SBS(QSYSWRK)
    Look for QZSOSIGN and QZDASOINIT.
  2. Start the DDM/DRDA server used by the database connection:
    STRTCPSVR SERVER(*DDM)
  3. Ensure the required ports are open between the two machines. Without SSL, the host-server ports are 449 and 8470–8476. With SSL, they are 9470–9476. Port 446 is used for the database connection.
  4. From the Applications Manager host, test a host-server port:
    telnet <ibmi-host> 8470

                    New to ADSelfService Plus?

                      • Related Articles

                      • Troubleshooting Oracle monitor connection failures

                        Applies to: Oracle Database Server and Oracle RAC monitors. Applies both when adding a monitor and when an existing monitor reports a connection error. When adding an Oracle Database Server monitor in Applications Manager, you may encounter ...
                      • DNS Monitor - Troubleshooting

                        Common DNS Monitor Errors and Troubleshooting Guide 1. Host Not Found Description: The DNS server was unable to locate the requested lookup address. Possible Causes: This may happen if the hostname is incorrect, the domain does not exist, or there is ...
                      • Real User Monitor (RUM) - Troubleshooting guide

                        If your Real User Monitor has not collected data for an extended period, follow the steps below to troubleshoot the issue. Step 1: Verify the RUM Agent configuration Real User Monitoring requires the RUM Agent to be installed and mapped to ...
                      • Issue while adding the DB2 Monitor

                        This article explains how to troubleshoot the common issues that occur when adding an IBM DB2 monitor in Applications Manager. Each section names the message it applies to, so match the message on screen and go to that section. On this page Before ...
                      • APM Insight Java Agent – Onboarding & Troubleshooting Guide

                        This document is a step-by-step guide to onboarding and troubleshooting the APM Insight Java Agent, for both the standalone agent and the FSO Auto Profiler. It covers agent attachment, version compatibility, configuration, connectivity, data ...