7.6 Resolving Errors from Oracle Enterprise Manager

This section provides cause and solution information on troubleshooting common error messages. Find the error message in Table 7-1 that matches your error message, then refer to the corresponding section(s) indicated under Possible Cause for instructions on diagnosing and correcting the problem.

Table 7-1 Enterprise Manager Error Messages

Error Message Possible Cause

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 403 Forbidden from url

Invalid Web Service Credentials

jjavax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

SSL Not Configured in Enterprise Manager

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused

OMU Web Service is Down

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: No route to host

Invalid IP Address

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 404 Not Found from url …

Invalid Port Number or Invalid URL Path

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection timed out

Firewall Blocking Access

java.net.ConnectException: Connection refused

Unable to Connect to Oracle OMU Agent

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: hostname

Unknown Host

javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet

Invalid XML Format

Error creating event: opcmsg_get_msgids failed to return a result after 10 attempts

Timeout

Error creating event: opc_connect failed: -50: Login failed. Either the userid is not a OVO operator or the password is invalid

Invalid Agent User Name or Password

Error creating event: keyword 'object' is missing

Request Missing Required Field

Invalid Web Service Credentials

Cause

The user name or password for accessing the OMU web service is incorrect.

Solution

  1. Log in to the Oracle Enterprise Manager console with an account that has Super Administrator privileges.

  2. From the Setup menu of the Enterprise Manager console, select Extensibility, then Management Connectors.

    The Management Connectors page appears.

  3. Click on the name of the OMU Connector.

    This invokes Edit mode, enabling you to configure the connector.

  4. Correct the OMU Web Service Username and OMU Web Service Password fields and click OK.

  5. If the credentials supplied appear to have been entered correctly but still do not work, a typographical error might have been made during the setup of the web service. The recommended option is to reset the web service credentials and attempt this again. Refer to Changing Web Service Credentials for the steps required to reset the credentials.

SSL Not Configured in Enterprise Manager

Cause

The SSL handshake between the Oracle Enterprise Manager Connector Framework and the OMU web service failed. This failure occurs because Oracle Enterprise Manager is not configured correctly with the SSL certificate for the OMU web service. The SSL certificate the OMU web service uses must be imported into the Enterprise Manager key store. The certificate is either missing from the key store or does not match the SSL certificate provided by the OMU web service.

Solution

Import the SSL certificate from the OMU web service into the Enterprise Manager key store. See Configuring Enterprise Manager to Use SSL for details on setting up Oracle Enterprise Manager with the OMU SSL certificate.

OMU Web Service Is Down

Cause

The OMU web service is down.

Solution

Perform the following steps to check the status of the web service and start it if necessary.

If the OMU web service is installed on a Unix system:

  1. Open a command terminal on the system where the OMU web service is installed.

  2. Change the working directory to the adapters/bin directory in the OMU web service installation directory.

  3. Enter the following command:

    ./service.sh status
    
  4. If the command indicates that the service is not running, restart the web service as specified in Installing the Web Service on Unix.

If the OMU web service is installed on a Windows system:

  1. Open a command terminal on the system where the OMU web service is installed.

  2. Change the working directory to the adapters/log directory in the OMU web service installation directory.

  3. Open the framework.log file in a text editor.

  4. Go to the bottom of the file and search backwards for the string iWave Adapter Framework. If the last occurrence found is iWave Adapter Framework Started, this indicates that the web service is started.

  5. If the web service is not started, restart the web service as specified in Running the Web Service on Windows.

Invalid XML Format

Cause

The connector framework could not process the request because the XSL file was formatted incorrectly. This problem should not occur unless the connector has been customized.

Solution

Examine any changes made to the XSL template files for mistakes that could have caused the problem. If you cannot find the problem manually, load the XSL in a utility that performs XML validation.

Unable to Connect to Oracle OMU Agent

Cause

The OMU web service could not connect to the Oracle OMU Agent. Some of the causes could be:

  • The Oracle OMU Agent is down.

  • A configuration error in the Oracle OMU Agent or web service is preventing communication.

Solution

Perform the following steps to verify that the Oracle OMU Agent is operational:

  1. Open a command prompt at the system where the OMU server is installed.

  2. Change the working directory to ...

    <OVAG_INST>/ovo-agent/scripts
    

    ... where <OVAG_INST> is the Oracle OMU Agent installation directory.

  3. Enter the following command to attempt to start the Agent:

    ./start.sh
    

    If the Agent is already started, the script displays information indicating that the send/receive Agent is already running.

Perform the following steps to verify that the configuration is correct:

  1. Open a command prompt window at the OMU server system and change the working directory to ...

    <OMUA_INSTALL>/ovo-agent/conf
    

    ... where <OMUA_INSTALL> is the directory where the Oracle OMU Agent is installed.

  2. Open the ovooper.txt file in a text editor.

  3. Search for the line containing the string ListenHost=.

    This parameter defines the hostname/IP address that the Oracle OMU Agent uses when listening for requests from the OMU web service. Make a note of this value.

  4. Search for the line containing the string ListenPort=.

    This parameter defines the port that the Oracle OMU Agent uses when listening for requests from the OMU web service. Make a note of this value.

  5. Open a command prompt window at the system where the OMU web service is installed, and change the working directory to:

    <OMUWS_INSTALL>/adapters/conf
    

    ... where <OMUWS_INSTALL> is the directory where the OMU web service is installed

  6. Open the framework.properties file in a text editor.

  7. Search for the hpovou.xmlagent parameter. The format of the parameter is:

    http\://<hostname>\:<port>
    
  8. Verify that the hostname/IP address and the port number specified in this file match the information in steps 3 and 4.

  9. If the information does not match, correct the information and save the file.

  10. If a change was required in the previous step, stop and then start the web service as instructed in Running the Web Service on Unix and Running the Web Service on Windows.

Request Missing Required Field

Cause

The Oracle OMU Agent could not process the request because key information was missing. This error should not occur if you are using the default configuration. It only occurs if the default mappings were customized and a required field was omitted.

XSolution

You need to modify the XSL file to generate the XML node that maps to the missing OMU field. See Customizing Microsoft HP Operations Manager for information on customizing the default mappings.

Unknown Host

Cause

The system does not recognize the host name specified in the URL.

Solution

You have the following options for addressing this issue.

  • Coordinate with the system administrator to change the system configuration to recognize the host name.

  • Specify the IP address in the URL instead of the host name. To do this, perform the following steps:

    1. Determine the IP address of the system where the OMU web service is installed.

    2. Log in to the Oracle Enterprise Manager console with an account that has Super Administrator privileges.

    3. From the Setup menu of the Enterprise Manager console, select Extensibility, then Management Connectors.

      The Management Connectors page appears, which shows the installed connectors.

    4. Click on the name of the OMU Connector. This invokes edit mode, enabling you to configure the connector.

    5. Change the host name to the IP address in the URL specified for the createEvent and updateEvent operations.

    6. Click OK.

    Make sure that the host name resolves to the correct IP address. To determine the IP address of the host name, issue the ping <hostname> command, where <hostname> is the actual host name. This lists the IP address that was resolved for the host name. If this is incorrect, the system administrator needs to investigate why it is incorrect.

    If the hostname/IP address appears to be correct, try to ping the system where the OMU web service is installed using the hostname/IP address. If the ping fails, the system administrator needs to investigate why there is no connectivity.

Invalid IP Address

Cause

The IP address specified in the URL is invalid, or the network is down.

Solution

Verify that the hostname/IP address configured for the connector is correct:

  1. Log in to the Oracle Enterprise Manager console with an account that has Super Administrator privileges.

  2. From the Setup menu of the Enterprise Manager console, select Extensibility, then Management Connectors.

    The Management Connectors page appears, which shows the installed connectors.

  3. Click on the name of the OMU Connector. This invokes edit mode, enabling you to configure the connector.

  4. Verify that the hostname/IP address specified in the URL for the createEvent and updateEvent operations are correct.

  5. If the hostname/IP address is incorrect, provide the correct values and click OK.

If the URLs specify a host name, make sure that the host name resolves to the correct IP address. To determine the IP address of the host name, issue the ping <hostname> command, where <hostname> is the actual host name. This lists the IP address that was resolved for the host name. If this is incorrect, the system administrator needs to investigate why it is incorrect.

If the hostname/IP address appears to be correct, try to ping the system where the OMU web service is installed using the hostname/IP address. If the ping fails, the system administrator needs to investigate why there is no connectivity.

Invalid Port Number

Cause

The port number specified in the URL is invalid.

Solution

Verify that the hostname/IP address configured for the connector is correct:

  1. Log in to the Oracle Enterprise Manager console with an account that has Super Administrator privileges.

  2. From the Setup menu of the Enterprise Manager console, select Extensibility, then Management Connectors.

    The Management Connectors page appears, which shows the installed connectors.

  3. Click on the name of the OMU Connector. This invokes edit mode, enabling you to configure the connector.

  4. Verify that the port number specified in the URL for the createEvent and updateEvent operations are correct.

  5. If the port number is incorrect, provide the correct value and click OK.

Invalid URL Path

Cause

The web service received the request and rejected it because an invalid path was specified in the URL.

Solution

Perform the following steps to test the URL the connector is using.

  1. Log in to the Oracle Enterprise Manager console with an account that has Super Administrator privileges, entering the appropriate password, then clicking Login.

  2. From the Setup menu of the Enterprise Manager console, select Extensibility, then Management Connectors.

    The Management Connectors page appears, which shows the installed connectors.

  3. Click on the name of the OMU Connector. This invokes edit mode, enabling you to configure the connector.

  4. Select and copy the URL specified for the createEvent operation.

  5. Open an internet browser on the system where the Oracle Enterprise Manager server is installed.

  6. In the address window, enter the URL that was copied in step 6 above. Add ?wsdl to the end of the URL. The URL should appear similar to the following example:

    http://[Hostname]:8080/services/hpovou/EventService?wsdl
    

    [Hostname] is the actual host name or IP address where the OMU web service is installed.

If the WSDL is loaded, this confirms that the URL is correct. If it fails to load, there is a problem with the URL. Perform the steps specified in Using the Correct URL for OMU Web Service Operations to configure the connector to use the correct URL.

Firewall Blocking Access

Cause

A firewall is blocking access to the system where the OMU Web Service is installed.

Solution

Contact your IT department to give Enterprise Manager access to the port the OMU Web Service uses. Perform the steps specified in Using the Correct URL for OMU Web Service Operations to determine the URL used by the OMU Web Service. The port number specified in the URL is the port number the IT department should open in the firewall.

Timeout

Cause

The web service received the request and successfully sent the request to the Agent. The Agent successfully submitted the create/update request to the OMU API. The Agent timed out waiting for OMU to provide an ID of the resulting message that was created. This error occurs because OMU is not properly configured to create messages for Enterprise Manager.

Solution

Verify that the steps specified in Integrating OMU with Enterprise Manager have been performed to properly configure OMU for Enterprise Manager messages.

Invalid Agent Username or Password

Cause

The credentials that the agent is configured to use to access the OMU API are incorrect.

Solution

Perform the following steps to verify that the Oracle OMU Agent is operational:

  1. Open a command prompt at the system where the OMU server is installed.

  2. Change the working directory to ...

    <OVAG_INST>/ovo-agent/scripts
    

    ... where <OVAG_INST> is the Oracle OMU Agent installation directory.

  3. Enter the following command to reconfigure the Agent and reset the username/password information used by the Agent to access the API. See Installing the Agent for details on the configuration process.

    ./configure.sh
    
  4. Stop and then start the Oracle OMU Agent as specified in Running and Stopping the Agent.