Re: netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()

"Miljen Mikić" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

first three messages (netsnmp_assert..) are normal for this version of
Net-SNMP so don't worry about them. The last message ("Failed to connect..")
means that you probably hadn't started your snmpd or maybe there's problem
with permissions. Before running master agent (snmpd), you must add "master
agent" line in snmpd conf file (without "").
Good place to start is http://www.net-snmp.org/docs/FAQ.html or
http://www.net-snmp.org/docs/readmefiles.html.

Best regards,
Miljen Mikic

2008/8/29, Ricardo Schmidt <[email protected]>:
>
> Hello all!
>
> I used the following commands to generated the files structure for the
> CISCO-NBAR-PROTOCOL-DISCOVERY-MIB, OID cnpdSupportedProtocolsTable.
>
> # mib2c -c mib2c.mfd.conf cnpdSupportedProtocolsTable
> # mib2c -c mib2c mfd-makefile.m2m cnpqSupportedProtocolsTable
> # mib2c -c subagent.m2c cnpdSupportedProtocolsTable
> # make -f cnpdSupportedProtocolsTable_Makefile
>
> After that the executable cnpdSupportedProtocolsTable was created.
>
> Now I am trying to run it. But, when I try to execute the following, some
> errors messages are printed to me:
>
> # ./cnpdSupportedProtocolsTable -f -L
> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
> netsnmp_subtree_load()
> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
> netsnmp_subtree_load()
> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
> netsnmp_subtree_load()
> Warning: Failed to connect to the agentx master agent ([NIL]):
> ...
>
> What does it means?! Where could I find a tutorial or sth in order to help
> me to overcome this problem?
>
> Thanks in advance,
> Ricardo.
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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.