Date: Fri, 25 Jan 2008 11:47:57 GMT From: Catalin Miclaus <catalin@starcomms.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/119974: net-mgmt/net-snmp problem on SPARC-64 Message-ID: <200801251147.m0PBlvGX085882@www.freebsd.org> Resent-Message-ID: <200801251150.m0PBo06b047453@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801251147.m0PBlvGX085882>