Bluehost.com Web Hosting $6.95

Re: NetSnmp on AIX5.2 Can not get Host Info?

This is a discussion on Re: NetSnmp on AIX5.2 Can not get Host Info? within the SNMP Users forums, part of the Networking and Network Related category; This is a multipart message in MIME format. --=_alternative 000AA55148256F0D_= Content-Type: text/plain; charset="us-ascii" Any ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-12-2005
tango.tang@wesoft.com
 
Posts: n/a
Default Re: NetSnmp on AIX5.2 Can not get Host Info?

This is a multipart message in MIME format.
--=_alternative 000AA55148256F0D_=
Content-Type: text/plain; charset="us-ascii"

Any suggestions?

Best Regards,
Tango
----- Forwarded by Tango Tang/Wesoft/CN on 2004-09-12 09:54 -----


"Aslam B. Khokhar" <aslam@aixpdslib.seas.ucla.edu>
2005-09-12 09:11


To: tango.tang@wesoft.com
cc: Library update <library@aixpdslib.seas.ucla.edu>,
Net-snmp-users@lists.sourceforge.net
Subject: Re: NetSnmp on AIX5.2 Can not get Host Info?


This is a question better suited for the development community of net-snmp
Although testing the functionality of packages posted on aixpdslib is
beyond our scope, we will look into the matter and try to respond to your
question.

Thanks
pdslib

On Mon, 3 May 2004 tango.tang@wesoft.com wrote:

> Hello ,
>
> As the AIX5.2 package(both source and binary) from your website will

arise
> Segmentation fault error.
> So I follow your instruction to download and install the binary tar ball

for
> AIX 5.1, it works. But I can not get the HostInformation from the

netsnmp while I
> can get it by Redhat9 default Netsnmp.
>
> In Redhat9 default Netsnmp, we can get
> SystemName,PhyMemSize,AllocatedStorageSize,UsedSto rageSize,Volume Size

and
> Volume FreeSpace etc.While by NetSnmp5.2 on AIX5.2, we can only get
> SystemName.
>
>> From the interface of Netsnmp we do can get all the above information,

> also the netsnmp on Redhat 9 can get them.
>
> The configuration in snmpd.conf on Redhat and AIX are the same. why the
> result is so different?
>
>
>
> Best Regards,
> Tango
>
>
>
>
> Library update <library@aixpdslib.seas.ucla.edu>
> 2005-09-07 23:26
>
>
> To: tango.tang@wesoft.com
> cc:
> Subject: Re: Segmentation fault for NetSnmp on AIX5.2
>
>
> Hello,
>
> Could you please clarify whether you are have downloaded the binaries or
> the source code from our website ?
>
> There is a problem with the source tar balls for AIX 5.2 and 5.3 on our
> website. Until we replace them, if you need to download the source,

please
>
> download the source tar ball for AIX 5.1 or 4.3 as they contain the same
> package.
>
> If you are only installing the binaries, and are having problems with

our
> binary tar ball for AIX 5.2, please try installing the binary tar ball

for
> AIX 5.1 as that one has been tested to work on 5.2 also.
>
> We apologize for the confusion. Please let us know if you have a
> successful installation.
>
> Thank you,
>
> The PDSLIB staff.
>
> On Wed, 28 Apr 2004 tango.tang@wesoft.com wrote:
>
>> Hi All:
>>
>> I have downloaded the NetSnmp installation package for AIX from :
>> http://aixpdslib.seas.ucla.edu/packages/net-snmp.html
>>
>> I install it to my AIX5.2 system, it is success with no error.
>> But when I stop the AIX default snmp and try to start the netsnmp.
>> The netsnmp can not be started wtith the following error:
>>
>> bash-2.05b# /usr/local/sbin/snmpd -fs-L/ -Dread_config
>> Segmentation fault (core dumped)
>> bash-2.05b# /usr/local/sbin/snmptrapd
>> Segmentation fault (core dumped)
>> bash-2.05b# ldd /usr/local/sbin/snmpd
>> /usr/local/sbin/snmpd needs:
>> /usr/lib/libc.a(shr.o)
>>

/home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)
>>
>>

>

/home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5)
>> /usr/lib/libdl.a(shr.o)
>> /usr/lib/libperfstat.a(shr.o)
>> /unix
>> /usr/lib/libcrypt.a(shr.o)
>> /usr/lib/libpthreads.a(shr_xpg5.o)
>> /usr/lib/libodm.a(shr.o)
>> /usr/lib/libcfg.a(shr.o)
>> /usr/lib/liblvm.a(shr.o)
>> /usr/lib/libpthreads.a(shr_comm.o)
>> bash-2.05b#
>>
>>
>> I have pay attention to the hint on:http://www.net-snmp.com/docs/README.aix.html/
>> I recompile the souce code with ./configure --disable-shared
>> and fixing the quoting problem of net-snmp-config.h, Still I get the

> same error.
>>
>> Is there any other ways or do I miss something?
>>
>>
>>
>> Best Regards,
>> Tango

>
>
>



--=_alternative 000AA55148256F0D_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Any suggestions?</font>
<br>
<br><font size=2 face="sans-serif">Best Regards,<br>
Tango</font>
<br><font size=1 color=#800080 face="sans-serif">----- Forwarded by Tango Tang/Wesoft/CN on 2004-09-12 09:54 -----</font>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Aslam B. Khokhar&quot; &lt;aslam@aixpdslib.seas.ucla.edu&gt;</b></font>
<p><font size=1 face="sans-serif">2005-09-12 09:11</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;tango.tang@wesoft.com</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;Library update &lt;library@aixpdslib.seas.ucla.edu&gt;, Net-snmp-users@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: NetSnmp on AIX5.2 Can not get Host Info?</font></table>
<br>
<br>
<br><font size=2><tt>This is a question better suited for the development community of net-snmp<br>
Although testing the functionality of packages posted on aixpdslib is <br>
beyond our scope, we will look into the matter and try to respond to your<br>
question.<br>
<br>
Thanks<br>
pdslib<br>
<br>
On Mon, 3 May 2004 tango.tang@wesoft.com wrote:<br>
<br>
&gt; Hello ,<br>
&gt;<br>
&gt; As the AIX5.2 package(both source and binary) from your website will arise<br>
&gt; Segmentation fault error.<br>
&gt; So I follow your instruction to download and install the binary tar ball for<br>
&gt; AIX 5.1, it works. But I can not get the HostInformation from the netsnmp while I<br>
&gt; can get it by Redhat9 default Netsnmp.<br>
&gt;<br>
&gt; In Redhat9 default Netsnmp, we can get<br>
&gt; SystemName,PhyMemSize,AllocatedStorageSize,UsedSto rageSize,Volume Size and<br>
&gt; Volume FreeSpace etc.While by NetSnmp5.2 on AIX5.2, we can only get<br>
&gt; SystemName.<br>
&gt;<br>
&gt;&gt; From the interface of Netsnmp we do can get all the above information,<br>
&gt; also the netsnmp on Redhat 9 can get them.<br>
&gt;<br>
&gt; The configuration in snmpd.conf on Redhat and AIX are the same. why the<br>
&gt; result is so different?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; Tango<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Library update &lt;library@aixpdslib.seas.ucla.edu&gt;<br>
&gt; 2005-09-07 23:26<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp; tango.tang@wesoft.com<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;cc:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: Segmentation fault for NetSnmp on AIX5.2<br>
&gt;<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; Could you please clarify whether you are have downloaded the binaries or<br>
&gt; the source code from our website ?<br>
&gt;<br>
&gt; There is a problem with the source tar balls for AIX 5.2 and 5.3 on our<br>
&gt; website. Until we replace them, if you need to download the source, please<br>
&gt;<br>
&gt; download the source tar ball for AIX 5.1 or 4.3 as they contain the same<br>
&gt; package.<br>
&gt;<br>
&gt; If you are only installing the binaries, and are having problems with our<br>
&gt; binary tar ball for AIX 5.2, please try installing the binary tar ball for<br>
&gt; AIX 5.1 as that one has been tested to work on 5.2 also.<br>
&gt;<br>
&gt; We apologize for the confusion. Please let us know if you have a<br>
&gt; successful installation.<br>
&gt;<br>
&gt; Thank you,<br>
&gt;<br>
&gt; The PDSLIB staff.<br>
&gt;<br>
&gt; On Wed, 28 Apr 2004 tango.tang@wesoft.com wrote:<br>
&gt;<br>
&gt;&gt; Hi All:<br>
&gt;&gt;<br>
&gt;&gt; I have downloaded the NetSnmp installation package for AIX from :<br>
&gt;&gt; http://aixpdslib.seas.ucla.edu/packages/net-snmp.html<br>
&gt;&gt;<br>
&gt;&gt; I install it to my AIX5.2 system, it is success with no error.<br>
&gt;&gt; But when I stop the AIX default snmp and try to start the netsnmp.<br>
&gt;&gt; The netsnmp can not be started wtith the following error:<br>
&gt;&gt;<br>
&gt;&gt; bash-2.05b# /usr/local/sbin/snmpd -fs-L/ -Dread_config<br>
&gt;&gt; Segmentation fault (core dumped)<br>
&gt;&gt; bash-2.05b# /usr/local/sbin/snmptrapd<br>
&gt;&gt; Segmentation fault (core dumped)<br>
&gt;&gt; bash-2.05b# ldd /usr/local/sbin/snmpd<br>
&gt;&gt; /usr/local/sbin/snmpd needs:<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libc.a(shr.o)<br>
&gt;&gt; /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libdl.a(shr.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libperfstat.a(shr.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /unix<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libcrypt.a(shr.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libpthreads.a(shr_xpg5.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libodm.a(shr.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libcfg.a(shr.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/liblvm.a(shr.o)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libpthreads.a(shr_comm.o)</tt></font>
<br><font size=2><tt>&gt;&gt; bash-2.05b#<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have pay attention to the hint on:http://www.net-snmp.com/docs/README.aix.html/<br>
&gt;&gt; I recompile the souce code with ./configure --disable-shared<br>
&gt;&gt; and fixing the quoting problem of net-snmp-config.h, Still I get the<br>
&gt; same error.<br>
&gt;&gt;<br>
&gt;&gt; Is there any other ways or do I miss something?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; Tango<br>
&gt;<br>
&gt;<br>
&gt;<br>
</tt></font>
<br>
--=_alternative 000AA55148256F0D_=--


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
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 10:15 AM.


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