Previous Topic: Display the Initialization Log

Next Topic: Commonly Encountered Errors


SNMP Data Problems

If you receive any of the following errors, access to SNMP data may not be enabled:

To enable access to SNMP data

  1. Check that the SNMP subagent has been configured in the profile TCP data set.
  2. The TCP/IP subagent must be able to connect to the SNMP agent. To do this, it uses a UNIX Stream socket represented by the file name in the dpiPathNameForUnixStream MIB object.

    To set the file name for the UNIX Stream socket, do one of the following:

  3. To determine the file name, issue the USS command:
    osnmp  get dpiPathNameForUnixStream.0
    

    The file name is displayed—the default file name is /tmp/dpi_socket.

  4. To determine the attributes and permissions, issue the USS command:
    ls -1 /tmp/dpi_socket
    

    The file attributes and permissions are displayed. For example:

    crw-r-----             1 OMVSKERN SYS1       6,  0 Jan 27 03:35 dpi_socket
    

    The first character (c) indicates this is a Special File. The following nine characters show permissions. The values 6 and 0 preceding the date indicate the major and minor node type. The UNIX Stream socket must be major node type 6.

  5. To create the file, use the MKNOD command located in the /usr/sbin directory. For example:
    cd /usr/sbin
    mknod /tmp/dpi_socket c 6 0
    

    A character special file is created; major type 6, minor type 0.

For more information, see the following: