Re: not ablt to launch snmpd

Steve Miller <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Mike,
thx for the help.  I tried your suggestion with -c option and got the following:

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()
[init_smux] bind failed: Permission denied
Error opening specified endpoint ""
Server Exiting with code 1

thanks

Steve




________________________________
From: Mike Ayers <[email protected]>
To: Steve Miller <[email protected]>; [email protected]
Sent: Friday, October 31, 2008 12:25:10 PM
Subject: RE: not ablt to launch snmpd

> From: Steve Miller [mailto:[email protected]] 
> Sent: Friday, October 31, 2008 10:57 AM

> I am a new Net-snmp user here.  I have built the snmpd on 
> linux but failed to run the snmpd.  Here are the messages I 
> got. I have also attached the snmpd.conf I used.  Please help.


> 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()

    There is a patch for this, but it can be safely ignored.

> Warning: no access control information configured.
>  It's unlikely this agent can serve any useful purpose in this state.
>  Run "snmpconf -g basic_setup" to help you configure the 
> snmpd.conf file for this agent.
> [init_smux] bind failed: Permission denied
> Error opening specified endpoint ""
> Server Exiting with code 1

    It looks like you're putting your snmpd.conf in the wrong place.  Try:

$ snmpd -C -c /path/to/snmpd.conf

    Make sure you use -Le so you can see any errors.


    HTH,

Mike

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