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 , ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 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 <library@aixpdslib.seas.ucla.edu></b></font> <p><font size=1 face="sans-serif">2005-09-07 23:26</font> <br> <td><font size=1 face="Arial"> </font> <br><font size=1 face="sans-serif"> To: tango.tang@wesoft.com</font> <br><font size=1 face="sans-serif"> cc: </font> <br><font size=1 face="sans-serif"> Subject: 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> > Hi All:<br> ><br> > I have downloaded the NetSnmp installation package for AIX from :<br> > http://aixpdslib.seas.ucla.edu/packages/net-snmp.html<br> ><br> > I install it to my AIX5.2 system, it is success with no error.<br> > But when I stop the AIX default snmp and try to start the netsnmp.<br> > The netsnmp can not be started wtith the following error:<br> ><br> > bash-2.05b# /usr/local/sbin/snmpd -fs-L/ -Dread_config<br> > Segmentation fault (core dumped)<br> > bash-2.05b# /usr/local/sbin/snmptrapd<br> > Segmentation fault (core dumped)<br> > bash-2.05b# ldd /usr/local/sbin/snmpd<br> > /usr/local/sbin/snmpd needs:<br> > /usr/lib/libc.a(shr.o)<br> > /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)<br> ><br> > /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5)<br> > /usr/lib/libdl.a(shr.o)<br> > /usr/lib/libperfstat.a(shr.o)<br> > /unix<br> > /usr/lib/libcrypt.a(shr.o)<br> > /usr/lib/libpthreads.a(shr_xpg5.o)<br> > /usr/lib/libodm.a(shr.o)<br> > /usr/lib/libcfg.a(shr.o)<br> > /usr/lib/liblvm.a(shr.o)<br> > /usr/lib/libpthreads.a(shr_comm.o)<br> > bash-2.05b#<br> ><br> ><br> > I have pay attention to the hint on:http://www.net-snmp.com/docs/README.aix.html/<br> > I recompile the souce code with ./configure --disable-shared<br> > and fixing the quoting problem of net-snmp-config.h, Still I get the same error.<br> ><br> > Is there any other ways or do I miss something?<br> ><br> ><br> ><br> > Best Regards,<br> > 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 |