Hi,

Thanks for the accurate diagnostics.
I found that NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag was on. After I removed this flag, the problem disappeared.

Then I have another question, NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag is set in ifTable_container_init() in if-mib/ifTable_data_access.c, what is the purpose for if-mib to have the flag on, and what need to be added to make it work?

Thanks.
--
Emi

Inactive hide details for Robert Story <[EMAIL PROTECTED]>Robert Story <[EMAIL PROTECTED]>


          Robert Story <[EMAIL PROTECTED]>

          06/01/2005 04:23 PM

          Please respond to
          [email protected]

To

[EMAIL PROTECTED]

cc

[email protected]

Subject

Re: after the second cache_load, got "Error: OID not increasing"

On Fri, 27 May 2005 11:16:56 -0500 [EMAIL PROTECTED] wrote:
EYC> I implemented EtherLike-MIB AgentX subagent after generating template by
EYC> mib2c and mib2c.mfd.conf. Everything is working fine during the first
EYC> cache_load, I can snmpwalk through the whole dot3StatsTable.
EYC>
EYC> The problem occurs after the second cache_load, then snmpwalk only and
EYC> always walk to column=1, and got "Error: OID not increasing:
EYC> EtherLike-MIB::dot3StatsIndex.2" error because of that.


Is the cache_free routine being called before the cache_load?

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
     unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <
http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <
http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.

<<inline: pic27529.gif>>

Reply via email to