Help! net-snmp 5.3 on Aix 5.2

This is a discussion on Help! net-snmp 5.3 on Aix 5.2 within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C66EE0.A3791B49 Content-Type: text/plain; charset="us-ascii&...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2006
Zongyan Wang
 
Posts: n/a
Default Help! net-snmp 5.3 on Aix 5.2

This is a multi-part message in MIME format.

------_=_NextPart_001_01C66EE0.A3791B49
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

=20

I have compiled and installed net-snmp-5.3.0.1 on my aix 5.2 box.=20

=20

I can get some MIBII values from it. But snmpwalk interface returns
nothing.

=20

snmpwalk -v1 -Os -c public myaixbox interface

ifNumber.0 =3D INTEGER: 0

=20

The ifconfig of my aix box returns

en0:
flags=3D5e080863,80<UP,BROADCAST,NOTRAILERS,RUNNIN G,SIMPLEX,MULTICAST,GRO=
U
PRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>

inet 132.216.65.199 netmask 0xffffffe0 broadcast 132.216.65.223

lo0:
flags=3De08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMP LEX,MULTICAST,GROUPRT,6=
4
BIT>

inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255

inet6 ::1/0

tcp_sendspace 65536 tcp_recvspace 65536

=20

=20

Also, when I attempt to compile net-snmp with

=20

../configure --host=3D"powerpc-ibm-aix5.2.0.0" --disable-shared
--with-mib-modules=3D"host disman/event-mib smux" =
--prefix=3D"/opt/freeware"

=20

I got this error message:

host/hr_swrun.c: In function 'var_hrswrun':

host/hr_swrun.c:935: error: 'struct proc' has no member named 'p_stat'

host/hr_swrun.c:1085: error: 'struct proc' has no member named 'p_utime'

host/hr_swrun.c:1086: error: 'struct proc' has no member named 'p_utime'

host/hr_swrun.c:1087: error: 'struct proc' has no member named 'p_stime'

host/hr_swrun.c:1088: error: 'struct proc' has no member named 'p_stime'

host/hr_swrun.c: In function 'Get_Next_HR_SWRun':

host/hr_swrun.c:1406: error: 'struct proc' has no member named 'p_stat'

host/hr_swrun.c: In function 'count_processes':

host/hr_swrun.c:1437: error: 'struct proc' has no member named 'p_stat'

make[2]: *** [host/hr_swrun.lo] Error 1

=20

=20

Thanks.

Zongyan

=20


------_=_NextPart_001_01C66EE0.A3791B49
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have compiled and installed net-snmp-5.3.0.1 on my =
aix 5.2
box. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I can get some MIBII values from it. But snmpwalk =
interface
returns nothing.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>snmpwalk -v1 -Os -c&nbsp; public myaixbox =
interface<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>ifNumber.0 =3D INTEGER: =
0<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The ifconfig of my aix box =
returns<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>en0:
flags=3D5e080863,80&lt;UP,BROADCAST,NOTRAILERS,RUN NING,SIMPLEX,MULTICAST,=
GROUPRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN&gt;<o:p> </o:p></span></font></p=
>


<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; inet
132.216.65.199 netmask 0xffffffe0 broadcast =
132.216.65.223<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>lo0:
flags=3De08084b&lt;UP,BROADCAST,LOOPBACK,RUNNING,S IMPLEX,MULTICAST,GROUPR=
T,64BIT&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; inet =
127.0.0.1
netmask 0xff000000 broadcast =
127.255.255.255<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; inet6 =
::1/0<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
tcp_sendspace 65536 tcp_recvspace 65536<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Also, when I attempt to compile net-snmp =
with<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>./configure =
--host=3D&quot;powerpc-ibm-aix5.2.0.0&quot;
--disable-shared --with-mib-modules=3D&quot;host disman/event-mib =
smux&quot;
--prefix=3D&quot;/opt/freeware&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I got this error =
message:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c: In function =
'var_hrswrun':<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:935: error: 'struct proc' has no =
member
named 'p_stat'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1085: error: 'struct proc' has no =
member
named 'p_utime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1086: error: 'struct proc' has no =
member
named 'p_utime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1087: error: 'struct proc' has no =
member
named 'p_stime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1088: error: 'struct proc' has no =
member
named 'p_stime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c: In function =
'Get_Next_HR_SWRun':<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1406: error: 'struct proc' has no =
member
named 'p_stat'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c: In function =
'count_processes':<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1437: error: 'struct proc' has no =
member
named 'p_stat'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[2]: *** [host/hr_swrun.lo] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Zongyan<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C66EE0.A3791B49--


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
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 07:55 PM.


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