From owner-freebsd-questions@FreeBSD.ORG Tue Nov 14 11:41:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAD5816A54A for ; Tue, 14 Nov 2006 11:41:03 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web52104.mail.yahoo.com (web52104.mail.yahoo.com [206.190.48.107]) by mx1.FreeBSD.org (Postfix) with SMTP id EFBCD43D66 for ; Tue, 14 Nov 2006 11:41:02 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: (qmail 77413 invoked by uid 60001); 14 Nov 2006 11:41:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=h6qPySIi+zcDXx6qhHf1DoDQPFUw0vFFsgLtqQyWur8XgGg9Zib3sOK9eFmMtaWB52UZD9jO+j8Kr1BsrfFKk+ZwlbIBNhRuPuOru5k91oO2BLDa6UhyZ+Di2yuBECUtoCGf1OoVL9gUdWBhF5k+srArYuCpd2wNlMze/eTf1t0= ; Message-ID: <20061114114102.77411.qmail@web52104.mail.yahoo.com> Received: from [62.56.216.83] by web52104.mail.yahoo.com via HTTP; Tue, 14 Nov 2006 03:41:02 PST Date: Tue, 14 Nov 2006 03:41:02 -0800 (PST) From: gahn To: Frank Staals In-Reply-To: <45599A11.6090608@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd general questions Subject: Re: net-snmp and 6.1 (confusion) 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: Tue, 14 Nov 2006 11:41:04 -0000 the entry "bsnmpd_enable="NO"" does works and the result from "sockstat" showed there is no snmpd running. then i added following entries in rc.conf: snmpd_enable="YES" snmpd_flags="-a -p /var/run/snmpd.pid" snmptrapd_enable="YES" snmptrapd_flags="-a -p /var/run/snmptrapd.pid" snmpd_conffile="/usr/local/etc/snmp/snmpd.conf" well, they started snmpd alright, but i am not sure which one: bsnmpd or net-snmpd since i still have error messages in snmpd.log: [init_smux] bind failed: Address already in use Error opening specified endpoint "udp:161" Server Exiting with code 1 any ideas? --- Frank Staals wrote: > gahn wrote: > > thanks. > > > > i didn't recall that i activated any snmp but > there is > > a bsnmpd running though: > > > > root snmpd 414 13 tcp4 *:199 > > > *:* > > root snmpd 414 14 udp4 *:161 > > > *:* > > root snmptrapd 408 10 udp4 *:162 > > > *:* > > > > how could i remove it? in rc.conf? or else? > > > > thanks > > > > > > > > --- Frank Staals wrote: > > > > > >> gahn wrote: > >> > >>> hi: > >>> > >>> is a generic snmp running with 6.1? i installed > >>> net-snmp on 6.1 and it seems to have conflict > with > >>> some another snmp process: > >>> > >>> [init_smux] bind failed: Address already in use > >>> Error opening specified endpoint "udp:161" > >>> Server Exiting with code 1 > >>> > >>> i have no anothe snmp application running except > >>> > >> the > >> > >>> net-snmp. > >>> > >>> any ideas? > >>> > >>> > >>> > >>> > >>> > >>> > >>> > > > ____________________________________________________________________________________ > > > >>> Cheap talk? > >>> Check out Yahoo! Messenger's low PC-to-Phone > call > >>> > >> rates. > >> > >>> http://voice.yahoo.com > >>> _______________________________________________ > >>> freebsd-questions@freebsd.org mailing list > >>> > >>> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > >>> To unsubscribe, send any mail to > >>> > >> "freebsd-questions-unsubscribe@freebsd.org" > >> > >>> > >>> > >> I believe there is no smnp daemon running by > >> default. Maybe you > >> accidentally allready started it ? You might > check > >> it with sockstat -4 > >> | grep 161 > >> > >> -- > >> -Frank Staals > >> > >> > >> > >> > > > > > > > > > > > ____________________________________________________________________________________ > > Cheap talk? > > Check out Yahoo! Messenger's low PC-to-Phone call > rates. > > http://voice.yahoo.com > > > > > > > Hmm apparantly there IS a bsndmp running. Didn't see > that one on my > server, anyway on my laptop it wasn't running as I > apparantly disabled it: > > frank@Riza$ cat /etc/rc.conf | grep snmpd > bsnmpd_enable="NO" > > that might help I guess > > -- > -Frank Staals > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com