z/OS Communications Server: IP Messages Volume 4 (EZZ, SNM)
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EZZ8245I

z/OS Communications Server: IP Messages Volume 4 (EZZ, SNM)
SC27-3657-01

EZZ8245I
NSLAPM2 gethostid failed - using IPv4 loopback address to connect to SNMP agent

Explanation

The Network SLAPM2 subagent was unable to resolve the local host address and is using the IPv4 Loopback address to connect to the SNMP agent instead of to the host address.

The Network SLAPM2 subagent uses the gethostid() socket function to retrieve the local host address. The IP address returned by this function is the primary interface address of the TCP/IP stack associated with the subagent. If the returned IP address is loopback, or the gethostid() function failed, then the subagent uses loopback to connect to the SNMP agent and issues this message.

System action

The Network SLAPM2 subagent tries to connect to the agent using the loopback address.

Operator response

Contact the TCP/IP administrator.

System programmer response

If the Network SLAPM2 subagent should not use loopback to connect to the agent, ensure that there is a non-loopback IP address defined as the primary interface to the TCP/IP stack associated with the subagent. The primary interface is either the first LINK in the HOME list, or the LINK specified on a PRIMARYINTERFACE profile statement. You can use the TSO NETSTAT HOME or z/OS® UNIX Netstat -h commands to determine which LINK is the primary interface for a stack.

If the loopback address is used to connect to the agent, and a password other than the SNMP agent -c default password is used by the subagent when connecting, then the password used by the subagent must be defined for the loopback address 127.0.0.1 in the SNMP agent PW.SRC or SNMPD.CONF file.

If a non-loopback IP address is defined as the primary interface, re-create the problem with the Network SLAPM2 subagent -d trace option. The trace messages indicate the error that the subagent received when it attempted to retrieve the primary interface IP address.

Module

NPLATFM

Procedure name

getNHostAddr

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014