My Oracle Support Banner

Solaris 11 snmpd can core dump when proxy option used in the /etc/net-snmp/snmp/snmpd.conf file (Doc ID 1454665.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Solaris Operating System - Version 11.1 and later
Information in this document applies to any platform.

Symptoms

Solaris 11 snmpd can core dump during a snmpwalk or snmpget query when the proxy option is used in the /etc/net-snmp/snmp/snmpd.conf file.

 

The option would appear such as the following:

proxy -v 1 -c public 127.0.0.1:2749 .1.3.6.1.4.1.211.4.33

During a snmpwalk when the core dump takes place a error will occur:

snmpwalk: Protocol error (Expected RESPONSE-PDU but got GETNEXT-PDU)

A review of the net-snmp SMF log file /var/svc/log/application-management-net-snmp:default.log will record a error:

[ Mar 15 13:41:33 Stopping because process dumped core. ]
[ Mar 15 13:41:33 Executing stop method (:kill). ]
[ Mar 15 13:41:33 Executing start method ("/lib/svc/method/svc-net-snmp"). ]
[ Mar 15 13:41:33 Method "start" exited with status 0. ]
[ Mar 15 13:43:51 Stopping because process dumped core. ]
[ Mar 15 13:43:51 Executing stop method (:kill). ]
[ Mar 15 13:43:51 Executing start method ("/lib/svc/method/svc-net-snmp"). ]
[ Mar 15 13:43:51 Method "start" exited with status 0. ]


A pstack command run on the core file from snmpd may reveal stacks such as the following:

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.