Bluehost.com Web Hosting $6.95

NetSnmp on AIX5.2 Can not get Host Info?

This is a discussion on 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 000488BC48256F0D_= Content-Type: text/plain; charset="us-ascii" Hello , ...


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 NetSnmp on AIX5.2 Can not get Host Info?

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

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 000488BC48256F0D_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hello ,</font>
<br>
<br><font size=2 face="sans-serif">As the AIX5.2 package(both source and binary) from your website will arise &nbsp;Segmentation fault error.</font>
<br><font size=2 face="sans-serif">So I follow your instruction to download and install </font><font size=2><tt>the binary tar ball for<br>
AIX 5.1</tt></font><font size=2 face="sans-serif">, it works. But I can not get the HostInformation from the netsnmp while I can get it by Redhat9 default Netsnmp.</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">From the interface of Netsnmp we do can get all the above information, also the netsnmp on Redhat 9 can get them.</font>
<br>
<br><font size=2 face="sans-serif">The configuration in snmpd.conf on Redhat and AIX are the same. why the result is so different?</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Best Regards,<br>
Tango</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Library update &lt;library@aixpdslib.seas.ucla.edu&gt;</b></font>
<p><font size=1 face="sans-serif">2005-09-07 23:26</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;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: Segmentation fault for NetSnmp on AIX5.2</font></table>
<br>
<br>
<br><font size=2><tt>Hello,<br>
<br>
Could you please clarify whether you are have downloaded the binaries or <br>
the source code from our website ?<br>
<br>
There is a problem with the source tar balls for AIX 5.2 and 5.3 on our<br>
website. Until we replace them, if you need to download the source, please <br>
download the source tar ball for AIX 5.1 or 4.3 as they contain the same<br>
package.<br>
<br>
If you are only installing the binaries, and are having problems with our<br>
binary tar ball for AIX 5.2, please try installing the binary tar ball for<br>
AIX 5.1 as that one has been tested to work on 5.2 also.<br>
<br>
We apologize for the confusion. Please let us know if you have a <br>
successful installation.<br>
<br>
Thank you,<br>
<br>
The PDSLIB staff.<br>
<br>
On Wed, 28 Apr 2004 tango.tang@wesoft.com wrote:<br>
<br>
&gt; Hi All:<br>
&gt;<br>
&gt; I have downloaded the NetSnmp installation package for AIX from :<br>
&gt; http://aixpdslib.seas.ucla.edu/packages/net-snmp.html<br>
&gt;<br>
&gt; I install it to my AIX5.2 system, it is success with no error.<br>
&gt; But when I stop the AIX default snmp and try to start the netsnmp.<br>
&gt; The netsnmp can not be started wtith the following error:<br>
&gt;<br>
&gt; bash-2.05b# /usr/local/sbin/snmpd -fs-L/ -Dread_config<br>
&gt; Segmentation fault (core dumped)<br>
&gt; bash-2.05b# /usr/local/sbin/snmptrapd<br>
&gt; Segmentation fault (core dumped)<br>
&gt; bash-2.05b# ldd /usr/local/sbin/snmpd<br>
&gt; /usr/local/sbin/snmpd needs:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libc.a(shr.o)<br>
&gt; /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)<br>
&gt;<br>
&gt; /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libdl.a(shr.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libperfstat.a(shr.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /unix<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libcrypt.a(shr.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libpthreads.a(shr_xpg5.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libodm.a(shr.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libcfg.a(shr.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/liblvm.a(shr.o)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/libpthreads.a(shr_comm.o)<br>
&gt; bash-2.05b#<br>
&gt;<br>
&gt;<br>
&gt; I have pay attention to the hint on:http://www.net-snmp.com/docs/README.aix.html/<br>
&gt; I recompile the souce code with ./configure --disable-shared<br>
&gt; and fixing the quoting problem of net-snmp-config.h, Still I get the same error.<br>
&gt;<br>
&gt; Is there any other ways or do I miss something?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; Tango<br>
</tt></font>
<br>
<br>
--=_alternative 000488BC48256F0D_=--


-------------------------------------------------------
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 05:37 PM.


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