net-snmp errors in 64 bit.

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&...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-31-2005
toby sebastian
 
Posts: n/a
Default net-snmp errors in 64 bit.

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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1) ./configure =
--with-mib-modules=3D"bbb"&nbsp;&nbsp;=20
---&gt; This&nbsp;"bbb" is my own mib module written in C.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2)&nbsp;make</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3) make install</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It compiled without any errors. =
Then&nbsp;I=20
executed the snmpd executable on the agent machine.&nbsp;But when I =
tried to run=20
the snmpwalk in the admin machine, the&nbsp;agent machine&nbsp;shows the =
error=20
:-&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>And in the admin side :-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Timeout : No response from=20
&lt;ip-address(agent)&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0