R: net-snmp rev 5.3.1 on red-hat 7.3
"Enzo Arlati" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I try to give some suggestions ( I didn't know how should it be helpfull ), but on the net-snmp list you should have more suggestions.
First che if snmpd is still running with a simple ps command.
Try before and after issue the snmpwalk command, mybe the subagent should not start or crash before of wrong command.
Check also the revision of snmpwalk and if there some old librarie on net-snmp 4 still around, there should be some conflict withh the older net-snmp release with red-hat 7.3.
Another point is the compiler.
red-hat 7.3 have the gcc compiler 2.96 witch was never be a standard one, it should be something exerimental, at least for what concerned c++, for c code it seem good.
However for compatibility reason I upgraded it with gcc 3.4.6 and I have compiled teh new net-snmp with this compiler.
Some check should be this:
[enzo@P0101222 enzo]$ /usr/local/bin/snmpwalk -V
NET-SNMP version: 5.3.1
[enzo@P0101222 enzo]$ ldd /usr/local/bin/snmpwalk
libnetsnmp.so.10 => /usr/local/lib/libnetsnmp.so.10 (0x40014000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x400d3000)
libm.so.6 => /lib/i686/libm.so.6 (0x40196000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
libdl.so.2 => /lib/libdl.so.2 (0x401b8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[root@P0101222 root]# /usr/sbin/snmpd -vC
NET-SNMP version: 5.3.1
Web: http://www.net-snmp.org/
Email: [email protected]
[root@P0101222 root]# ldd /usr/sbin/snmpd
libnetsnmpmibs.so.10 => /usr/lib/libnetsnmpmibs.so.10 (0x4002c000)
libnetsnmpagent.so.10 => /usr/lib/libnetsnmpagent.so.10 (0x40153000)
libnetsnmphelpers.so.10 => /usr/lib/libnetsnmphelpers.so.10 (0x4018d000)
libnetsnmp.so.10 => /usr/lib/libnetsnmp.so.10 (0x401ad000)
libdl.so.2 => /lib/libdl.so.2 (0x40253000)
librpm-4.0.4.so => /usr/lib/librpm-4.0.4.so (0x40256000)
librpmdb-4.0.4.so => /usr/lib/librpmdb-4.0.4.so (0x402a0000)
librpmio-4.0.4.so => /usr/lib/librpmio-4.0.4.so (0x4034b000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x40386000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40396000)
librt.so.1 => /lib/librt.so.1 (0x403aa000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x403bb000)
libdb.so.2 => /usr/lib/libdb.so.2 (0x403c2000)
libz.so.1 => /usr/lib/libz.so.1 (0x403d1000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x403df000)
libm.so.6 => /lib/i686/libm.so.6 (0x404a2000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
regards, Enzo
-----Messaggio originale-----
Da: Sassy Natan [mailto:[email protected]]
Inviato: venerdì 24 novembre 2006 7.58
A: Enzo Arlati
Oggetto: net-snmp rev 5.3.1 on red-hat 7.3
Hellow Enzo,
I hope you can give me some help with this issue,
I need to install the new Net-SNMP on some old machine running red-hat 7.3
This box is a real-time machine with very limited disk space.
I have install the RehHat 7.3 rpm release of the net-snmp on this box and It was working.
Since I do not have gcc/make etc... on this box I have install a new redhat7.3 machine with all the development tools
Downloaded the net-snmp rev 5.3.1 source and compiled it, built rpm package and then install it on the realtime machine
When I'm trying to run SNMP walk in the real-time machine I get timeout.
Can you please send me some feedback how did you compiled the new source?
Thanks
Sassy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users