On Wed, Jul 28, 2010 at 10:23 AM, Cameron Smith <velvetpi...@gmail.com>wrote:
> snmpd quickly dies after start with the error on status:
> snmpd dead but pid file exists
>
> I have gone through the remove/reinstall and confirmed at latest for the
> distro I am on which works fine for all my other devices and virtual
> containers.
>
> Any info on how I can trouble shoot this would be greatly appreciated.
>
> Here is info on my environment.
> The failures are on OpenVZ virtual containers running CentOS 5.5
>
> [r...@test snmp]# yum list installed |grep snmp
> net-snmp.x86_64 1:5.3.2.2-9.el5_5.1
> installed
> net-snmp-libs.x86_64 1:5.3.2.2-9.el5_5.1
> installed
> net-snmp-utils.x86_64 1:5.3.2.2-9.el5_5.1
> installed
>
>
> Thanks!
> Cameron
>
As a followup here is a trace and you can see it is running into a floating
point exception:
Program received signal SIGFPE, Arithmetic exception.
0x00002aaaaaf4512d in var_hrproc () from /usr/lib64/libnetsnmpmibs.so.10
(gdb) bt
#0 0x00002aaaaaf4512d in var_hrproc () from /usr/lib64/libnetsnmpmibs.so.10
#1 0x00002aaaab4cb842 in netsnmp_old_api_helper () from
/usr/lib64/libnetsnmphelpers.so.10
#2 0x00002aaaab292fbe in netsnmp_call_handler () from
/usr/lib64/libnetsnmpagent.so.10
#3 0x00002aaaab4c7241 in netsnmp_bulk_to_next_helper () from
/usr/lib64/libnetsnmphelpers.so.10
#4 0x00002aaaab292fbe in netsnmp_call_handler () from
/usr/lib64/libnetsnmpagent.so.10
#5 0x00002aaaab28604f in handle_var_requests () from
/usr/lib64/libnetsnmpagent.so.10
#6 0x00002aaaab2870d0 in handle_getnext_loop () from
/usr/lib64/libnetsnmpagent.so.10
#7 0x00002aaaab288788 in netsnmp_handle_request () from
/usr/lib64/libnetsnmpagent.so.10
#8 0x00002aaaab289387 in handle_snmp_packet () from
/usr/lib64/libnetsnmpagent.so.10
#9 0x00002aaaab925b3a in ?? () from /usr/lib64/libnetsnmp.so.10
#10 0x00002aaaab926b21 in _sess_read () from /usr/lib64/libnetsnmp.so.10
#11 0x00002aaaab9275a9 in snmp_sess_read () from /usr/lib64/libnetsnmp.so.10
#12 0x00002aaaab9275f3 in snmp_read () from /usr/lib64/libnetsnmp.so.10
#13 0x00002aaaaaab033a in main ()
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users