I am able to reproduce snmpd dying on the snmpwalk on both the production (E15k) and the development box (V440). I initially tried to compile it on the development box and then just tar up the directory, copy it to the E15k, and then make install but that didn't seem to work so I went ahead and put gcc on my production box, fixed the errors in the Makefiles again, and then was able to get it working. It seems like the libcrypto library it is looking for is in a different place so I had to change my LD_LIBRARY_PATH prior to running as well.
Both boxes are at Solaris 9. We are in the middle of a patching cycle so the development box has a newer set of patches than the production box. I used the options specified in the README.solaris and created this file: #!/usr/bin/sh PATH=/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/bin;export PATH ./configure --with-mib-modules="ucd-snmp/lmSensors ucd-snmp/diskio smux mibII/mta_sendmail" --with-cc=gcc It gave me this config at the end: --------------------------------------------------------- Net-SNMP configuration summary: --------------------------------------------------------- SNMP Versions Supported: 1 2c 3 Building for: solaris2 Net-SNMP Version: 5.5.rc3 Network transport support: Callback Unix Alias TCP UDP SNMPv3 Security Modules: usm Agent MIB code: ucd-snmp/lmSensors ucd-snmp/diskio smux mibII/mta_sendmail default_modules => util_funcs/header_simple_table util_funcs/header_simple_table smux/smux snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host MYSQL Trap Logging: unavailable Embedded Perl support: disabled SNMP Perl modules: building -- not embeddable SNMP Python modules: disabled Authentication support: MD5 SHA1 Encryption support: DES AES --------------------------------------------------------- libtool: link: ranlib .libs/libnetsnmp.a libtool: link: ( cd ".libs" && rm -f "libnetsnmp.la" && ln -s "../libnetsnmp.la" "libnetsnmp.la" ) : libnetsnmp.la making all in /var/tmp/net-snmp-5.5.rc3/agent make: Fatal error in reader: Makefile, line 333: Unexpected end of line seen Current working directory /var/tmp/net-snmp-5.5.rc3/agent *** Error code 1 make: Fatal error: Command failed for target `subdirs' The errors at the end were the errors I had to work through. Basically there were dozens of lines in the Makefile that didn't have a \ at the end that I manually fixed. The output from make test is pretty substantial. I can send it all if you want or if you let me know what section you are interested in I will send that. I sent a truss output as response to another email. If you need a backtrace as well please let me know and I will read through the link you sent and see what I can do. -Chris -----Original Message----- From: Thomas Anders [mailto:thomas.and...@blue-cable.de] Sent: Monday, September 21, 2009 5:30 PM To: Burkhardt, Chris Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Error with net-snmp on Solaris 9 sparc Burkhardt, Chris wrote: > That seems to have fixed the primary problem. There were a lot of > errors (missing \'s) in the makefiles that I had to fix to get it to > compile. Also, there seems to be some other bug or issue related to the > snmpd process dying if you run the command snmpwalk -v 2c -c public -m > ALL localhost. > > If I don't run that command it seems to stay up and running. If I run > that, snmpd dies. Can you reproduce that only on the target host (E15K) or also on the build host? What machine is the build host? Does it also run Solaris 9 at the same patch level? What's the output of "make test" on the build host? What configure options did you use? Is there any chance you can get us a backtrace (see http://www.net-snmp.org/wiki/index.php/Debugger)? +Thomas ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ 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/listinfo/net-snmp-users