This is a discussion on net-snmp errors in 64 bit. within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_007F_01C595B7.C16E43F0 Content-Type: text/plain; charset="iso-8859-1&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------=_NextPart_000_007F_01C595B7.C16E43F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, I have already installed net-snmp-5.2.1.0 on AMD Opteron. Previously I = had written a MIB-module for using along with net-snmp, that worked fine = in 32 bit machines. I followed the same steps for compiling net-snmp in = 64-bit OS, ie:- 1) ./configure --with-mib-modules=3D"bbb" ---> This "bbb" is my own = mib module written in C. 2) make 3) make install It compiled without any errors. Then I executed the snmpd executable on = the agent machine. But when I tried to run the snmpwalk in the admin = machine, the agent machine shows the error :-=20 Send response: Error building ASN.1 representation ( build int size 4 : = s/b 8) Send response: Error building ASN.1 representation ( build int size 4 : = s/b 8) .................................................. ........................= ...................................... And in the admin side :- Timeout : No response from <ip-address(agent)> Both the snmpget and snmpset are working fine. Please help me in this issue. Thanks in advance... Regards, Toby ------=_NextPart_000_007F_01C595B7.C16E43F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello all,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have already installed = net-snmp-5.2.1.0 on AMD=20 Opteron. Previously I had written a MIB-module for using along with = net-snmp,=20 that worked fine in 32 bit machines. I followed the same steps for = compiling=20 net-snmp in 64-bit OS, ie:-</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>1) ./configure = --with-mib-modules=3D"bbb" =20 ---> This "bbb" is my own mib module written in C.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>2) make</FONT></DIV> <DIV><FONT face=3DArial size=3D2>3) make install</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>It compiled without any errors. = Then I=20 executed the snmpd executable on the agent machine. But when I = tried to run=20 the snmpwalk in the admin machine, the agent machine shows the = error=20 :- </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Send response: Error building ASN.1 = representation=20 ( build int size 4 : s/b 8)</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Send response: Error building ASN.1 = representation=20 ( build int size 4 : s/b 8)</FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2>......................................... .......................= ...............................................</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>And in the admin side :-</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Timeout : No response from=20 <ip-address(agent)></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Both the snmpget and snmpset are = working=20 fine.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Please help me in this issue. Thanks in = advance...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Toby</FONT></DIV></BODY></HTML> ------=_NextPart_000_007F_01C595B7.C16E43F0-- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |