Hello list.
I am upgrading Openser to version 1.2.1, and I am having a core dumping when configuring snmpstats module; it starts fine, but, at any event which causes interaction with snmpstat module (user registration) it crashes.
My Scenario:
Solaris 10 on Sparc Openser 1.2.1 NET-SNMP 5.4 GCC 4.0.4
Below appears the backtrace of the core.
#0 0x00000000 in ?? () #1 0xfe989540 in createRowsFromIPList (theList=0x1731e8, listSize=1, protocol=0, snmpIndex=0x0) at openserSIPPortTable.c:125 #2 0xfe9898b8 in init_openserSIPPortTable () at openserSIPPortTable.c:241 #3 0xfe98d1bc in spawn_agentx_child () at sub_agent.c:74 #4 0xfe98c778 in mod_child_init (rank=0) at snmpstats.c:271 #5 0x0008c3c8 in init_mod_child (m=0x80, rank=0, type=0xe9570 "PROC_MAIN") at sr_module.c:400 #6 0x0008c4f0 in init_child (rank=0) at sr_module.c:394 #7 0x00039608 in main_loop () at main.c:948 #8 0x0003b178 in main (argc=1118208, argv=0x302) at main.c:1399
Thanks in advance for every help.
Kind regards
Sergio Gutiérrez UNE EPM Telecomunicaciones Medellin - Colombia
Weve also been having a problem load snmpstats. Everything compiles fine but then we get the following on openser startup:
Jun 7 11:38:42 QWT1 openser: ERROR: load_module: could not open module </usr/local/lib/openser/modules/snmpstats.so>: /usr/local/lib/libnetsnmpmibs.so.10: Undefined symbol "devstat_errbuf" Jun 7 11:38:42 QWT1 openser: parse error (56,13-14): failed to load module
This is on FreeBSD 6.2, Openser 1.2.1, net-snmp 5.3.1
Anybody run into this one?
David ________________________________________ From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Sergio Gutierrez Sent: Thursday, June 07, 2007 8:57 AM To: users@openser.org Subject: [Users] Problems with SNMPstats module
Hello list.
I am upgrading Openser to version 1.2.1, and I am having a core dumping when configuring snmpstats module; it starts fine, but, at any event which causes interaction with snmpstat module (user registration) it crashes.
My Scenario:
Solaris 10 on Sparc Openser 1.2.1 NET-SNMP 5.4 GCC 4.0.4
Below appears the backtrace of the core.
#0 0x00000000 in ?? () #1 0xfe989540 in createRowsFromIPList (theList=0x1731e8, listSize=1, protocol=0, snmpIndex=0x0) at openserSIPPortTable.c:125 #2 0xfe9898b8 in init_openserSIPPortTable () at openserSIPPortTable.c:241 #3 0xfe98d1bc in spawn_agentx_child () at sub_agent.c:74 #4 0xfe98c778 in mod_child_init (rank=0) at snmpstats.c :271 #5 0x0008c3c8 in init_mod_child (m=0x80, rank=0, type=0xe9570 "PROC_MAIN") at sr_module.c:400 #6 0x0008c4f0 in init_child (rank=0) at sr_module.c:394 #7 0x00039608 in main_loop () at main.c:948 #8 0x0003b178 in main (argc=1118208, argv=0x302) at main.c:1399
Thanks in advance for every help.
Kind regards
Sergio Gutiérrez UNE EPM Telecomunicaciones Medellin - Colombia
Hi Sergio,
That stack trace looks familiar to some earlier issues we had at the end of March, which were the result of mixing compiler flags and missing cleans between makes. Have you run:
make clean make make install
In that order, using the same compiler flags? Can you try it without non-default optimizations and let me know if it still crashes?
- JM
Sergio Gutierrez wrote:
Hello list.
I am upgrading Openser to version 1.2.1, and I am having a core dumping when configuring snmpstats module; it starts fine, but, at any event which causes interaction with snmpstat module (user registration) it crashes.
My Scenario:
Solaris 10 on Sparc Openser 1.2.1 NET-SNMP 5.4 GCC 4.0.4
Below appears the backtrace of the core.
#0 0x00000000 in ?? () #1 0xfe989540 in createRowsFromIPList (theList=0x1731e8, listSize=1, protocol=0, snmpIndex=0x0) at openserSIPPortTable.c:125 #2 0xfe9898b8 in init_openserSIPPortTable () at openserSIPPortTable.c:241 #3 0xfe98d1bc in spawn_agentx_child () at sub_agent.c:74 #4 0xfe98c778 in mod_child_init (rank=0) at snmpstats.c :271 #5 0x0008c3c8 in init_mod_child (m=0x80, rank=0, type=0xe9570 "PROC_MAIN") at sr_module.c:400 #6 0x0008c4f0 in init_child (rank=0) at sr_module.c:394 #7 0x00039608 in main_loop () at main.c:948 #8 0x0003b178 in main (argc=1118208, argv=0x302) at main.c:1399
Thanks in advance for every help.
Kind regards
Sergio Gutiérrez UNE EPM Telecomunicaciones Medellin - Colombia
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Sorry, I forgot a "make modules" between "make" and "make install".
Also, make sure that when you run "make modules", that the SNMPStats module is compiling again. I think its disabled by default, and has to be explicitly enabled. Otherwise, you'll be loading up OpenSER with the old version of the SNMPStats module which will most definitely crash.
- JM
Jeffrey Magder wrote:
Hi Sergio,
That stack trace looks familiar to some earlier issues we had at the end of March, which were the result of mixing compiler flags and missing cleans between makes. Have you run:
make clean make make install
In that order, using the same compiler flags? Can you try it without non-default optimizations and let me know if it still crashes?
- JM
Sergio Gutierrez wrote:
Hello list.
I am upgrading Openser to version 1.2.1, and I am having a core dumping when configuring snmpstats module; it starts fine, but, at any event which causes interaction with snmpstat module (user registration) it crashes.
My Scenario:
Solaris 10 on Sparc Openser 1.2.1 NET-SNMP 5.4 GCC 4.0.4
Below appears the backtrace of the core.
#0 0x00000000 in ?? () #1 0xfe989540 in createRowsFromIPList (theList=0x1731e8, listSize=1, protocol=0, snmpIndex=0x0) at openserSIPPortTable.c:125 #2 0xfe9898b8 in init_openserSIPPortTable () at openserSIPPortTable.c:241 #3 0xfe98d1bc in spawn_agentx_child () at sub_agent.c:74 #4 0xfe98c778 in mod_child_init (rank=0) at snmpstats.c :271 #5 0x0008c3c8 in init_mod_child (m=0x80, rank=0, type=0xe9570 "PROC_MAIN") at sr_module.c:400 #6 0x0008c4f0 in init_child (rank=0) at sr_module.c:394 #7 0x00039608 in main_loop () at main.c:948 #8 0x0003b178 in main (argc=1118208, argv=0x302) at main.c:1399
Thanks in advance for every help.
Kind regards
Sergio Gutiérrez UNE EPM Telecomunicaciones Medellin - Colombia
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users