IBM Support

SNMP Probe fails to start with failed to open UDP session error

Question & Answer


Question

In the probe's log file,  below  error messages can be seen:
SNMP Message (priority=3): UDP snmp_open: Unknown host (udp:162) (Permission denied)
Error: E-UNK-000-000: Failed to open UDP session
Error: E-UNK-000-000: Unable to get hold of session link pointer

Cause

The non-root users do not have permission to open port 162.

Answer

The probe can also be run as non-root with a port greater than 1024 or the probe can be run as root with the standard port 162.

It is recommended the following in order to fix the issue:

1. As root, change the owner of the probe binary using chown root nco_p_mttrapd. (in  $OMNIHOME/probes/arch directory.)

2. As root, enable the probe binary to run as setuid root, using chmod +s nco_p_mttrapd. ( in $OMNIHOME/probes/arch directory.)

3. Make sure you have set NCHOME and OMNIHOME environment variable.

4. Go to /opt/IBM/tivoli/netcool/omnibus/probes/linux2x86 then run the ldd nco_p_mttrapd .

Verify that all the libraries are in place.

 

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Component":"Probes","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

nco_p_mttrapd

Document Information

Modified date:
23 August 2019

UID

ibm11071722