mib2c mfd fooBarTable_container_load problems, from generic-ctx-get.m2i

2007-02-16 Thread Mark Atwood
I'm using 5.3 and I generated a mfd project, along with it's autogenerated AgentX main and it's Makefile. I had hoped/assumed that compiling that "as is" would at least compile, even if it doesn't do anything. It doesn't. In fooBarTable_data_access.c, in the function fooBarTable_container_load,

Re: 5.3.1 mib2c.mfd.conf generated function xxxTable_container_load()

2007-02-16 Thread Mark Atwood
[EMAIL PROTECTED] writes: > Now since I upgraded to 5.3.1, I am using 5.3.1 mib2c.mfd.conf to generate > templates for my yet to implement MIB modules. I am surprised to find 5.3.1 > replaced xxxTable_cache_load() with xxxTable_container_load(), and this > function is called nowhere from the genera

Re: SEGFAULT - Solaris 9, NetSNMP 5.4

2007-02-16 Thread Thomas Anders
John Clinton wrote: > Program received signal SIGSEGV, Segmentation fault. > 0xfefc5804 in load_zoneinfo () from /usr/lib/libc.so.1 > (gdb) bt > #0 0xfefc5804 in load_zoneinfo () from /usr/lib/libc.so.1 > #1 0xfefc44e4 in load_localinfo () from /usr/lib/libc.so.1 > #2 0xfefc4364 in ltzset_u () f

Re: snmpv3: rwuser/rouser

2007-02-16 Thread Dave Shield
On 16/02/07, redhouse101 <[EMAIL PROTECTED]> wrote: > In snmpd.conf manpage, I see rocommunity6/rwcommunity6 is configured for > using IPV6. For SNMPv3, why there is no rouser6/rwuser6? Because SNMPv3 requests aren't subject to source restrictions. It doesn't matter where the incoming request was

snmpv3: rwuser/rouser

2007-02-16 Thread redhouse101
Hi, everybody, In snmpd.conf manpage, I see rocommunity6/rwcommunity6 is configured for using IPV6. For SNMPv3, why there is no rouser6/rwuser6? There is only rouser/rwuser for SNMPv3. rouser/rwuser is a wrapper from com2sec. Com2sec6 does exist. Should we have rouser6/rwuser6? I can't find it i

Empty Table Walk Segmentation Fault

2007-02-16 Thread Ahmed, Ali
Hi All, I think the table_info->colnum is not properly set when a walk/get_next/get is issued for an empty table. The code lines in question are table_iterator.c Line 706 and Line 747. Kindly provide feedback. The fault is reproducible by generating a table using mib2c iterator table configur

configure options and removing mib modules are causing make failures

2007-02-16 Thread Adam Bell
I am trying to integrate net-snmp v 5.4 into a small footprint device under Linux and am having a couple problems. 1. The configure option --enable-mini-agent causes ./.libs/libnetsnmpmibs.so: undefined reference to `initialize_table_ifXTable during make I am trying top make this as small as pos

5.3.1 mib2c.mfd.conf generated function xxxTable_container_load()

2007-02-16 Thread Emi . Yanagi
Dear net-snmp-coders, I have implemented lots of MFD subagents using 5.2.1 mib2c.mfd.conf, and the xxxTable_cache_load() function worked extremely well in 5.2.1 templates. Now since I upgraded to 5.3.1, I am using 5.3.1 mib2c.mfd.conf to generate templates for my yet to implement MIB modules. I a

Re: SEGFAULT - Solaris 9, NetSNMP 5.4

2007-02-16 Thread John Clinton
Hi Thomas, Had to get gdb compiled on the box so it took a bit longer than I liked to get back to you. Here is the backtrace. Recall the snmpwalk that causes the SEGFAULT is: % snmpwalk -v1 -cpublic sys01 .1.3.6.1.2.1.25.1 HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (1841499111) 213 days,