Re: unregister_mib fails

Pal Saint <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJX137pXw9jVu77CuvoxaFx-dse+sGnMxBF7N_7vX6KDn8vc=A@mail.gmail.com>
Any response on why this unregister mib fails?


On Thu, Mar 7, 2013 at 1:22 AM, Pal Saint <[email protected]> wrote:

> All,
>
> We use REGISTER_MIB() to register our MIB tables, and use unregister_mib()
> for unregistering them. However, when SIGHUP is sent to snmpd, it fails to
> unregister the MIB variables. It fails with "MIB_NO_SUCH_REGISTRATION".
> Registering and unregistering code  is actually created by mib2c.old_api
> code generation configuration. Let me know if you need more information.
>
> Here is snmpd debug info...
>
> dlmod: dlmod_create_module
> dlmod: dlmod_load_module exampleTable: /usr/lib/snmp/dlmod/exampleTable.so
> ................. Registering exampleTable
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.1 with context ""
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.2 with context ""
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.3 with context ""
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.4 with context ""
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.5 with context ""
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.6 with context ""
> register_mib: registering "exampleTable" at
> SNMPv2-SMI::enterprises.8075.1.3.2.1.7 with context ""
>
> ...
> dlmod: Calling deinit_exampleTable()
> deinit_exampleTable: unregistering exampleTable...
> register_mib: unregistering SNMPv2-SMI::enterprises.8075.1.3.2
> deinit_exampleTable: unregistering exampleTable failed:-1
> dlmod: Module exampleTable unloaded
>
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.