From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 25 11:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF99A16A418 for ; Fri, 25 Jan 2008 11:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DA9E013C46A for ; Fri, 25 Jan 2008 11:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0PBo073047454 for ; Fri, 25 Jan 2008 11:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0PBo06b047453; Fri, 25 Jan 2008 11:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 25 Jan 2008 11:50:00 GMT Resent-Message-Id: <200801251150.m0PBo06b047453@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Catalin Miclaus Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A45F16A419 for ; Fri, 25 Jan 2008 11:49:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3460013C455 for ; Fri, 25 Jan 2008 11:49:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0PBlvsW085883 for ; Fri, 25 Jan 2008 11:47:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0PBlvGX085882; Fri, 25 Jan 2008 11:47:57 GMT (envelope-from nobody) Message-Id: <200801251147.m0PBlvGX085882@www.freebsd.org> Date: Fri, 25 Jan 2008 11:47:57 GMT From: Catalin Miclaus To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/119974: net-mgmt/net-snmp problem on SPARC-64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 11:50:01 -0000 >Number: 119974 >Category: ports >Synopsis: net-mgmt/net-snmp problem on SPARC-64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 25 11:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Catalin Miclaus >Release: 6.2 >Organization: Starcomms Ltd. >Environment: FreeBSD xxx.xxx.xxx 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 >Description: Upgrading net-snmp on sparc-64 platform from ports is failing. For ports I'm using cvsup targeting current so ports are updated properly. For sources I'm using original one from FreeBSD 6.2-p0. I had read /usr/ports/UPDATES but only one issue was related to net-snmp and it was not about this. Upgrade of net-snmp was schedule due to vulnerability warning issued by FreeBSD security team. I have posted also on mailing list but w/o luck. I was following below procedure to upgrade: csup -z -L2 /root/ports-supfile (which is targeting cvsup3.uk.freebsd.org) cd /usr/ports/net-mgmt/net-snmp [root@xxxxx net-snmp]# cat distinfo MD5 (net-snmp-5.3.2.tar.gz) = 978b9c5e26a36806945761b8ad0a0ecb SHA256 (net-snmp-5.3.2.tar.gz) = 8171e0592b8c7e5dbb4009a44843c9b7f3b089f4685555578a0f3eeb849d49e7 SIZE (net-snmp-5.3.2.tar.gz) = 4320436 pkg_delete net-snmp.... make install clean (here I tried also with make install "WITH_PERL=yes" but same result) After install finish in snmpd.log following errors appear when trying to start snmpd: [root@xxxxxx ]# /usr/local/etc/rc.d/snmpd start Starting snmpd. [root@xxxxxx ]# [root@xxxxxx ]# tail -f /var/log/snmpd.log error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) [root@xxxxxx ]# The process is refusing to start. [root@xxxxxx ]# ps aux |grep snmpd [root@xxxxxx ]# In /etc/rc.conf I have tried below settings: [root@xxxxxx ]# grep snmp /etc/rc.conf snmpd_enable="YES" snmpd_flags="-a" snmpd_pidfile="/var/run/snmpd.pid" snmpd_conffile="/usr/local/etc/snmpd.conf" [root@xxxxxx ]# or: [root@xxxxxx ]# grep snmp /etc/rc.conf snmpd_enable="YES" [root@xxxxxx ]# but w/o luck. This is my snmpd.conf file and permissions: [root@xxxxxx ]# more /usr/local/etc/snmpd.conf rocommunity public x.x.x.x [root@xxxxxx ]# [root@xxxxxx ]# ls /usr/local/etc/snmpd.conf -rw-r--r-- 1 root wheel 138 Jan 24 21:53 /usr/local/etc/snmpd.conf [root@xxxxxx ]# Let me know if output of snmpd with '-D ALL' flag is needed (around 1MB ). >How-To-Repeat: [root@xxxxxx ]# cd /usr/ports/net-mgmt/net-snmp [root@xxxxxx ]# make deinstall && make install clean [root@xxxxxx ]# tail -f /var/log/snmpd.log error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) [root@xxxxxx ]# ps aux |grep snmpd [root@xxxxxx ]# >Fix: >Release-Note: >Audit-Trail: >Unformatted: