Hi Thomas
I compiled and installed the NET-SNMP (5.3.1). when I run the command
/usr/local/sbin/snmpd -f -L
Am getting the following error message
/usr/local/share/snmp/snmpd.conf: line 49: Error: bad security
level (noauthnopriv, authnopriv, authpriv)
net-snmp: 1 error(s) in config file(s)
[init_smux] bind failed: Permission denied
Error opening specified endpoint "udp:161"
Server Exiting with code 1
My snmpd.conf access control section looks like this.
########################################################################
###
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rwuser: a SNMPv3 read-write user
# arguments: user [noauth|auth|priv] [restriction_oid]
rwuser ravis 1.3.6.1.4.1.3317.1.3.1 <-------*--------->this place
gives
problem
# rouser: a SNMPv3 read-only user
# arguments: user [noauth|auth|priv] [restriction_oid]
rouser kshitij auth 1.3.6.1.4.1.3317.1.3.1
I guess I have done some messup in configuring snmpd.conf
Please let me know reason beyond this. I am struggling since from past
couple of days . no snmpd is running in the system.
Ravi
-----Original Message-----
From: Ravi S M
Sent: Tuesday, September 19, 2006 3:45 PM
To: '[email protected]'
Cc: 'Thomas Anders'
Subject: RE: Regarding Configuration of snmp agent
Hi Thomas
I downloaded the source, and able to extract the files. Thanks for the
answers.
Now I am compiling the source.
Ravi
-----Original Message-----
From: Thomas Anders [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 3:23 PM
To: Ravi S M
Cc: [email protected]
Subject: Re: Regarding Configuration of snmp agent
Ravi S M wrote:
> I have downloaded the NET-SNMP (5.1.1) from sunfreeware.com, and
> compiled it on Solaris 10.
Please don't. I strongly recommend against starting with something as
old as that, especially on a rather recent system such as Solaris 10.
> Mainly I want to configure it including smux also. Please provide some
> information to configure it including smux. As I don't know anything
> about smux like how it works.
Please make sure that you "./configure --with-mib-modules=smux" (like in
the example you gave).
> One more thing I tried to download NET-SNMP (5.3.1) from your site,
but
> after downloading it is telling that it is not in right format.
What exactly did you try and what exact error messages did you get?
In a nutshell here's what you should do:
1) Download the source (net-snmp-5.3.1.tar.gz) from
http://www.net-snmp.org/download
2) Unpack the sources:
gzip -dc net-snmp-5.3.1.tar.gz | tar xvf -
3) Build and install it (see the file INSTALL):
cd net-snmp-5.3.1
./configure ...
make
make test
su
make install
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
============================================================================================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may review
at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a>
externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a>
internally within Tech Mahindra.
============================================================================================================================
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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