i have a problem getting _any_ table of snmp from a windows xp host. Observe the following (working) snmpwalk helios@psychotic helios $ snmpwalk qntal public ip.ipAddrTable ip.ipAddrTable.ipAddrEntry.ipAdEntAddr.127.0.0.1 = IpAddress: 127.0.0.1 ip.ipAddrTable.ipAddrEntry.ipAdEntAddr.192.168.0.5 = IpAddress: 192.168.0.5 ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.127.0.0.1 = 1 ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.192.168.0.5 = 2 ip.ipAddrTable.ipAddrEntry.ipAdEntNetMask.127.0.0.1 = IpAddress: 255.0.0.0 ip.ipAddrTable.ipAddrEntry.ipAdEntNetMask.192.168.0.5 = IpAddress: 255.255.255.0 ip.ipAddrTable.ipAddrEntry.ipAdEntBcastAddr.127.0.0.1 = 1 ip.ipAddrTable.ipAddrEntry.ipAdEntBcastAddr.192.168.0.5 = 1 ip.ipAddrTable.ipAddrEntry.ipAdEntReasmMaxSize.127.0.0.1 = 65535 ip.ipAddrTable.ipAddrEntry.ipAdEntReasmMaxSize.192.168.0.5 = 65535 To show that it isn't the XP host that's malfunctioning. helios@psychotic helios $ snmptable -V UCD-snmp version: 4.2.6 Reproducible: Always Steps to Reproduce: 1. use snmptable to get a table or something else helios@psychotic helios $ snmptable qntal public ip.ipAddrTable Stays at the prompt doing nothing and eating cpu, a whole lot of cpu. Actual Results: Nothing, cpu goes up nothing happens ... Expected Results: A nice table When observing the strace, at a certain point it is getting stuff from the udp socket: socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0 .1")}, 28) = 0 sendto(3, "\274~\1\0\0\1\0\0\0\0\0\0\tpsychotic\4home\nde-b"..., 46, 0, NULL, 0) = 46 poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 ioctl(3, FIONREAD, [100]) = 0 recvfrom(3, "\274~\205\200\0\1\0\1\0\1\0\1\tpsychotic\4home\nde-b"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0.1")}, [16] ) = 100 close(3) = 0 getpid() = 5360 getpid() = 5360 getpid() = 5360 open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 3 select(4, [3], NULL, NULL, {0, 10000}) = 1 (in [3], left {0, 10000}) read(3, "\340\5\234\346\355\220U\331\304\313\335h\203\36\344\212"..., 32) = 32 close(3) = 0 getpid() = 5360 getpid() = 5360 getuid() = 1000 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 getpid() = 5360 <add a lot of getpid()'s > Than some normal stuff, reading the configfile, reading ~/.snmp/mib/* stat("/var/lib/ucd-snmp/snmpapp.0.conf", 0x7fbfffe690) = -1 ENOENT (No such file or directory) open("/var/lib/ucd-snmp/snmpapp.conf", O_RDONLY) = -1 ENOENT (No such file or di rectory) open("/var/lib/ucd-snmp/snmpapp.local.conf", O_RDONLY) = -1 ENOENT (No such file or directory) brk(0) = 0x568000 brk(0x599000) = 0x599000 brk(0) = 0x599000 brk(0) = 0x599000 brk(0x58a000) = 0x58a000 brk(0) = 0x58a000 mmap(NULL, 208896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2 a9556a000 brk(0) = 0x58a000 brk(0) = 0x58a000 brk(0x57a000) = 0x57a000 brk(0) = 0x57a000 mremap(0x2a9556a000, 208896, 217088, MREMAP_MAYMOVE) = 0x2a9556a000 mremap(0x2a9556a000, 217088, 225280, MREMAP_MAYMOVE) = 0x2a9556a000 mremap(0x2a9556a000, 225280, 233472, MREMAP_MAYMOVE) = 0x2a9556a000 mremap(0x2a9556a000, 233472, 241664, MREMAP_MAYMOVE) = 0x2a9556a000 And after that only mremap's come out .... and the keep going and going
This is my emerge info Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r1, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp. du.se/pub/os/gentoo http://gentoo.mirror.sdv.fr http://ftp.gentoo.skynet.be/pub/ gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X amd64 apm arts avi berkdb crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls nogc j oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang s nmp spell ssl tcpd truetype xml2 xmms xv zlib"
Created attachment 32318 [details] An strace An strace of the problem
Can you provide a remote XP machine to test against?
ucd-snmp is deprecated. Use net-snmp and reopen if problem remains.