Solaris WBEM Services Administration Guide

Troubleshooting Problems With the SNMP Adapter for WBEM

This section lists specific console error messages that you might encounter when using the Adapter.

If you encounter errors, problems, or unexpected results that are not described in this section or if you want to troubleshoot problems more precisely, use the Solaris Management Console Log Viewer to view log data.

Instructions that describe how to start the Solaris Management Console Log Viewer are presented in Viewing Log Data Through Log Viewer.

Sending and Receiving Requests

Error Message


ERROR: sending request to Adapter Service.

ERROR: receiving request from Adapter Service.

Cause

Either snmpXwbemd believes WBEM is enabled but cannot communicate with the Adapter Service, or the request timed out.

Solution

Send another request. If sending another request fails, verify that the request and response FIFOs do not contain pending messages, that is, contain 0 bytes.

  1. Type:

    # cd /var/sadm/wbem/snmp

  2. Type:

    # ls -l

    The request and response FIFOs are listed.

  3. Does either FIFO contain pending messages (contain more than 0 bytes)?

    If yes, go to step Step 4.

    If no:

    1. Ensure that you need to stop WBEM by using the Solaris Management Console Log Viewer to view log data and determine the problem.

      Instructions that describe how to start the Solaris Management Console Log Viewer are presented in Viewing Log Data Through Log Viewer.

    2. If necessary, stop WBEM.

      # /etc/init.d/init.wbem stop

    3. Go to Step 9.

  4. Stop WBEM.

    # /etc/init.d/init.wbem stop

  5. Stop the Master Agent.

    # /etc/init.d/init.snmpdx stop

  6. Change to the directory in which the FIFOs are located.

    # cd /var/sadm/wbem/snmp

  7. Remove both FIFOs.

    # rm _adapter_rcv.fifo

    # rm _adapter_snd.fifo

  8. Restart the Master Agent.

    # /etc/init.d/init.snmpdx start

  9. If you stopped WBEM in Step 3 or in Step 4, restart it.

    # /etc/init.d/init.wbem start

FIFO Cannot Be Opened

Error Message


ERROR: request FIFO cannot be opened.

ERROR: response FIFO cannot be opened.

Cause

A protocol problem occurred either when the Adapter received a request or when the Adapter processed a response.

Solution

Send another request. If sending another request fails, verify that the request and response FIFOs do not contain pending messages, that is, contain 0 bytes.

  1. Type:

    # cd /var/sadm/wbem/snmp

  2. Type:

    # ls -l

    The request and response FIFOs are listed.

  3. Does either FIFO contain pending messages (contain more than 0 bytes)?

    If yes, go to step Step 4.

    If no:

    1. Ensure that you need to stop WBEM by using the Solaris Management Console Log Viewer to view log data and determine the problem.

      Instructions that describe how to start the Solaris Management Console Log Viewer are presented in Viewing Log Data Through Log Viewer.

    2. If necessary, stop WBEM.

      # /etc/init.d/init.wbem stop

    3. Go to Step 9.

  4. Stop WBEM.

    # /etc/init.d/init.wbem stop

  5. Stop the Master Agent.

    # /etc/init.d/init.snmpdx stop

  6. Change to the directory in which the FIFOs are located.

    # cd /var/sadm/wbem/snmp

  7. Remove both FIFOs.

    # rm _adapter_rcv.fifo

    # rm _adapter_snd.fifo

  8. Restart the Master Agent.

    # /etc/init.d/init.snmpdx start

  9. If you stopped WBEM in Step 3 or in Step 4, restart it.

    # /etc/init.d/init.wbem start

FIFO Cannot Be Created

Error Message


ERROR: FIFO cannot be created.

Cause

A system error occurred when the Adapter attempted to create the request or the response FIFO.

Solution

Verify that /var/sadm/wbem/snmp exists and has write access.

WBEM Services Are Not Started

Error Message


ERROR: WBEM Services are not started.

Cause

The Master Agent cannot detect if WBEM Services have started and are running.

Solution

Restart WBEM and wait the number of seconds to which watch-dog-time in snmpXwbem.reg is set.


# /etc/init.d/init.wbem start

After a period of time, the Master Agent starts the Adapter automatically. By default, the Master Agent tries to start the Adapter every four minutes (or number of seconds to which watch-dog-time is set).


Note –

If you do not want to wait for the Master Agent to start the Adapter automatically, stop and then restart the Master Agent.

# /etc/init.d/init.snmpdx stop

# /etc/init.d/init.snmpdx start

The Master Agent immediately starts the Adapter.