Hi, I'm only very new to this list and to SNMP too, but I think I can see 
what's going on so I'll try and help.

> "snmpd -f -Le -d" ==> gives the following error.
>
> "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

The error message tells you exactly what the problem is. As you know, when you 
query an SNMP agent, you need to provide a community string in order for it 
to respond to your query. If you have not set up any access control in your 
snmpd.conf file, then it will not respond to any queries. This is of course 
pretty pointless.

You'll need to setup some communities in your snmpd.conf file. If you're 
absolutely sure that you have set up access control, then that probably means 
snmpd can't find your config file or that there's a syntax error in it.

> for this agent. [init_smux] bind failed: Address already in use
> Error opening specified endpoint "udp:161"
> Server Exiting with code 1"

snmpd is already running and listening on udp:161 (as you proved with your ps 
command). If snmpd is already running, you cannot start a second instance of 
it because something is already listening on that port, so it can't bind to 
it.

HTH

Helen.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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