snmpset gives an gen Error message

Leo Lin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.