From owner-freebsd-questions@FreeBSD.ORG Thu Jan 24 21:35:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6048916A41B for ; Thu, 24 Jan 2008 21:35:07 +0000 (UTC) (envelope-from sh1nny_kn1ght@yahoo.com) Received: from n2d.bullet.mail.tp2.yahoo.com (n2d.bullet.mail.tp2.yahoo.com [203.188.202.140]) by mx1.freebsd.org (Postfix) with SMTP id DBFED13C45B for ; Thu, 24 Jan 2008 21:35:06 +0000 (UTC) (envelope-from sh1nny_kn1ght@yahoo.com) Received: from [202.43.196.225] by n2.bullet.mail.tp2.yahoo.com with NNFMP; 24 Jan 2008 21:22:50 -0000 Received: from [217.12.4.214] by t2.bullet.tpe.yahoo.com with NNFMP; 24 Jan 2008 21:22:49 -0000 Received: from [216.252.122.216] by t1.bullet.ukl.yahoo.com with NNFMP; 24 Jan 2008 21:22:49 -0000 Received: from [69.147.65.173] by t1.bullet.sp1.yahoo.com with NNFMP; 24 Jan 2008 21:22:48 -0000 Received: from [127.0.0.1] by omp508.mail.sp1.yahoo.com with NNFMP; 24 Jan 2008 21:22:48 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 955825.69286.bm@omp508.mail.sp1.yahoo.com Received: (qmail 91697 invoked by uid 60001); 24 Jan 2008 21:22:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4Vp8Hjw26zyXLbLa3MTfMUWf/sARUqvDPMaYajInQsgSlHlbUJ1ecp2kd8zmNU/RBc6YIq3tR0/M0D/YCTXj3/WSKleRTDbxt51u0V46JhmI/npFGqR7KGTdBIqBS2hg6NdZcn8B63+Mxi4MqZLEZSnlXk1o5SKQVoYRRJDG+QA=; X-YMail-OSG: X394a3sVM1nW_oyOqxdLtn5cnXbgKkV4IEIwpJvP Received: from [41.219.192.25] by web44809.mail.sp1.yahoo.com via HTTP; Thu, 24 Jan 2008 13:22:48 PST Date: Thu, 24 Jan 2008 13:22:48 -0800 (PST) From: shinny knight To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <866627.90540.qm@web44809.mail.sp1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Net-snmp on SPARC64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 21:35:07 -0000 G'day, I'm trying to upgrade Net-snmp package on FreeBSD 6.2 SPARC-64 machine but no matters if I'm trying port install or precompiled by using 'pkg_add -r' is not working. Let's start with precompiled package: Uninstall previous one (which by the way was net-snmp-5.1.3) Then: [root@dnscache1 net-snmp]# pkg_add -r net-snmp Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/sparc64/packages-6.2-release/Latest/net-snmp.tbz... Done. pkg_add: warning: package 'net-snmp-5.2.3_3' requires 'perl-5.8.8', but 'perl-5.8.8_1' is installed [root@dnscache1 net-snmp]# cat /usr/local/etc/snmpd.conf rocommunity public x.x.x.x [root@dnscache1 net-snmp]# /usr/local/etc/rc.d/snmpd start Starting snmpd. [root@dnscache1 net-snmp]# [root@dnscache1 ]# sockstat -4 |grep 161 root snmpd 39606 14 udp4 *:161 *:* [root@dnscache1 ]# ps aux |grep snmpd root 39606 0.0 0.7 23408 7160 ?? S 9:57PM 0:00.58 /usr/local/sbin/snmpd -c /usr/local/etc/snmpd.conf -p /var/run/snmpd.pid [root@dnscache1 ]# cat /etc/rc.conf |grep snmpd snmpd_enable="YES" snmpd_conffile="/usr/local/etc/snmpd.conf" [root@dnscache1 ]# ls /usr/local/etc/snmpd.conf -rw-r--r-- 1 root wheel 138 Jan 24 21:53 /usr/local/etc/snmpd.conf [root@dnscache1 ]# tail -f /var/log/snmpd.log sysctl: physmem: Cannot allocate memory NET-SNMP version 5.2.3 Connection from UDP: [a.a.a.a]:57287 no storage for OID [root@dnscache1 ]# [root@dnscache1 ]# uname -a FreeBSD dnscache1.ph.starcomms.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 23:30:59 UTC 2007 root@s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 [root@dnscache1 ]# sysctl -a |grep physmem hw.physmem: 1063469056 Needles to say that I have plenty of free memory on the server, more than 350MB reported as free by top. I've noticed that CPU insted is going high for snmpd process: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 39879 root 1 132 0 51912K 31416K RUN 3:54 80.86% snmpd A snmpwalk from other machines is not returning anything. [root@nms ]# snmpwalk -v 1 -c public x.x.x.x Timeout: No Response from x.x.x.x Packets are reaching the server and appear also in snmpd.log file: [root@dnscache1 catalin]# tail -f /var/log/snmpd.log Connection from UDP: [x.x.x.x]:59023 Connection from UDP: [x.x.x.x]:59023 Connection from UDP: [x.x.x.x]:59023 Connection from UDP: [x.x.x.x]:59023 Connection from UDP: [x.x.x.x]:50194 Connection from UDP: [x.x.x.x]:50194 Connection from UDP: [x.x.x.x]:50194 Connection from UDP: [x.x.x.x]:50194 Connection from UDP: [x.x.x.x]:50194 No other error message in /var/log files except above one. Only strange thing is that warning for Perl, but I guess 5.8.8_1 should be fully compatible with 5.8.8 since it's only a patch issues by maintainers. Did anybody experienced issues with same? Any ideas what could be the reason? TIA for help. Best Regards, Catalin --------------------------------- Never miss a thing. Make Yahoo your homepage.