Re: "Unknown engine ID" error

2012-03-27 Thread Ravi Kumar
Thanks Dave. I downloaded the latest version from git. And installed in my system it is working fine (since I have already removed vendor's snmpd hence can not say how it would behave along with that.) Did you fix any thing in the latest code ? Any ways my problem is solved. Ravi On Tue, Mar

Re: "Unknown engine ID" error

2012-03-26 Thread Dave Shield
On 22 March 2012 16:56, Ravi Kumar wrote: > versions and branch details are below. > > ./snmpd -v > > NET-SNMP version:  5.7.rc1 > Web:               http://www.net-snmp.org/ > Email:             net-snmp-coders@lists.sourceforge.net Can you please try with the final release of 5.7 (or preferably

Re: "Unknown engine ID" error

2012-03-26 Thread Dave Shield
On 21 March 2012 19:22, Ravi Kumar wrote: >> Is this an agent that you compiled yourself? >> If so (and you used the default configure settings) >> then it should probably be looking in /usr/local/share/snmp >> automatically as well. >> > > I have two versions of snmpd in my machine.One which is s

Re: "Unknown engine ID" error

2012-03-26 Thread Robert Story
On Thu, 22 Mar 2012 00:52:37 +0530 Ravi wrote: RK> > Is this an agent that you compiled yourself? RK> > If so (and you used the default configure settings) RK> > then it should probably be looking in /usr/local/share/snmp RK> > automatically as well. RK> > RK> RK> I have two versions of snmpd in m

Re: "Unknown engine ID" error

2012-03-22 Thread Ravi Kumar
I have completely uninstalled vendor-supplied snmpd to get any conflict with source compiled snmpd. now i have only one snmpd installed. /root/software/net-snmp>whereis snmpd snmpd: /usr/local/sbin/snmpd /root/software/net-snmp> I have used following configure option for compilation ./configur

Re: "Unknown engine ID" error

2012-03-22 Thread Ravi Kumar
versions and branch details are below. ./snmpd -v NET-SNMP version: 5.7.rc1 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net >svn info Path: . URL: https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp/agent Repository Root: h

Re: "Unknown engine ID" error

2012-03-21 Thread Niels Baggesen
On Thu, Mar 22, 2012 at 12:52:37AM +0530, Ravi Kumar wrote: > I have two versions of snmpd in my machine.One which is shipped with > fedora OS and another which i checked > out from svn repository and installed after compilation. svn was replaced with git some time ago. What version / revision is

Re: "Unknown engine ID" error

2012-03-21 Thread Ravi Kumar
> Is this an agent that you compiled yourself? > If so (and you used the default configure settings) > then it should probably be looking in /usr/local/share/snmp > automatically as well. > I have two versions of snmpd in my machine.One which is shipped with fedora OS and another which i checked o

Re: "Unknown engine ID" error

2012-03-20 Thread Dave Shield
On 20 March 2012 18:47, Ravi Kumar wrote: > Used following to start snmpd after that. > > ./snmpd -c /usr/local/share/snmp/snmpd.conf,/var/net-snmp/snmpd.conf The agent ought to pick up the persistent config file automatically. You shoudn't need to specify this explicitly. (And that might well b

Re: "Unknown engine ID" error

2012-03-20 Thread Ravi Kumar
I am using root credential to do all these so no issues with permissions. I have changed these two files /usr/local/share/snmp/snmpd.conf ( added "rwuser ravi auth system" ) /var/net-snmp/snmpd.conf ( added "createUser ravi MD5 mypass123" and then started snmpd) The sn

Re: "Unknown engine ID" error

2012-03-20 Thread Robert Story
On Tue, 20 Mar 2012 14:12:41 +0530 Ravi wrote: RK> moreover createuser commands is not getting replaced by key in RK> persistent snmpd.conf after restarting snmpd (as per snmpv3 RK> documentation). RK> RK> createUser ravi MD5 mypass Are you stopping snmpd before editing the snmpd.conf file? If s

Re: "Unknown engine ID" error

2012-03-20 Thread Ravi Kumar
still it is not working. /root>snmpwalk -v 3 -u ravi -l authNoPriv -a MD5 -A mypass 192.168.2.11 .1.3.6.1.2.1.1 snmpwalk: Unknown engine ID moreover createuser commands is not getting replaced by key in persistent snmpd.conf after restarting snmpd (as per snmpv3 documentation). createUser

Re: "Unknown engine ID" error

2012-03-19 Thread Robert Story
On Sun, 18 Mar 2012 13:39:47 +0530 Ravi wrote: RK> Hi all, RK> RK> I have created snmpv3 user from the following command RK> RK> snmpget -v 3 -u ravi -l authNoPriv -a MD5 -A abcdefghij localhost RK> sysUpTime.0 RK> RK> when i try to snmpget after starting snmpd i found following unknown RK> e

"Unknown engine ID" error

2012-03-18 Thread Ravi Kumar
Hi all, I have created snmpv3 user from the following command snmpget -v 3 -u ravi -l authNoPriv -a MD5 -A abcdefghij localhost sysUpTime.0 when i try to snmpget after starting snmpd i found following unknown engine id error /root/software/net-snmp>snmpget -v3 -u ravi -l authNoPriv -a