Re: snmpset gives an gen Error message
jack n <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Leo, I am facing a similar issue, can you please tell me how u debugged this issue?? Thanks and Regards, Jack. On Sun, Oct 17, 2010 at 8:22 AM, Leo Lin <[email protected]> wrote: > I've found the bug, now it's working fine. > > Thanks! > > Leo; > > --- On *Sat, 10/16/10, Leo Lin <[email protected]>* wrote: > > > From: Leo Lin <[email protected]> > Subject: snmpset gives an gen Error message > To: "Net-snmp-users" <[email protected]> > Date: Saturday, October 16, 2010, 2:38 PM > > > Hi, > > I've been extending the snmpd with my own modules. I made sure that each > module is working properly before adding another one. > > Suddendly, on one of the latest modules, netsnmp builds ok, but I get an > error while using snmpset command. > > I also tested the snmpset with a library in c# separate from netsnmp, and > it does not work either. > > I removed the module, and re-build the netsnmp and still gives me the > error. > > The error is: > > $snmpset -v1 -cprivate localhost myvar.0 i 0 > Error in packet. > Reason: (genError) A general failure occured > > it happens with each oid I've implemented. I'm using net-snmp-5.6.rc1. > > I also though that maybe the modules that I've extended created some > seg-fault, and overwrite some source/header files in net-snmp, so I > re-install (tar) the whole netsnmp, but I still get the error. > > I'm not too sure what could cause this sudden error. I reverted to only > the modules that was working fine before, and I did not change the MIB or > the snmpd.conf files. > > Thanks! > > Leo; > > > > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ 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