This is a discussion on Re: Trying to setup SNMP within the SNMP Users forums, part of the Networking and Network Related category; Hi Timothy. If you are using Linux, you probably need to store the snmpd.conf file in /usr/local/share/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Timothy. If you are using Linux, you probably need to store the snmpd.conf file in /usr/local/share/snmp/snmpd.conf, not /etc/snmpd.conf. Try running snmpconf. The first thing it will do is tell you where any existing configuration files are. Alex Timothy Horie wrote: > > I created a /etc/snmpd.conf file: > > # rocommunity: a SNMPv1/SNMPv2c read-only access community name > # arguments: community [default|hostname|network/bits] [oid] > > rocommunity testing123 24.6.52.6 > > But when I try to start snmpd: > > # snmpd > # cat /var/log/snmpd > > 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: Address already in use > Error opening specified endpoint "udp:161" > Server Exiting with code 1 > > What is wrong? > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/...net-snmp-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |