2009/2/17 mmlucky Im <[email protected]>:
> I traced into the code, and found in main(snmpd.c), it may stuck in
> init_mib_modules(). That the init_snmp never got a chance to be called.

Does it work OK if you omit your MIB module?
  (i.e. confirm that it is definitely your code that is triggering the problem)


> I have only 2 items in the mib file I added, and I can see in the
> initialization, netsnmp_register_scalar get called without problem. Then
> after that, looks like the system keeps calling netsnmp_register_handler
> endlessly.
>
> Does anyone know why this is happening?

Assuming that this problem *is* in your module, it might be
helpful if you posted the initialisation code in question.
   How can we possibly guess what is wrong with code
that we've never seen?!

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to