From owner-freebsd-questions@FreeBSD.ORG Tue Nov 14 13:46:30 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 71BD616A407 for ; Tue, 14 Nov 2006 13:46:30 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B248143D91 for ; Tue, 14 Nov 2006 13:46:19 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 14 Nov 2006 08:46:18 -0500 id 000564D6.4559C8AA.0000638E Received: from Internal Mail-Server by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 14 Nov 2006 08:46:18 -0500 Date: Tue, 14 Nov 2006 08:46:18 -0500 From: Bill Moran To: gahn Message-Id: <20061114084618.dd917a0d.wmoran@collaborativefusion.com> In-Reply-To: <20061114114102.77411.qmail@web52104.mail.yahoo.com> References: <45599A11.6090608@gmx.net> <20061114114102.77411.qmail@web52104.mail.yahoo.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 13:46:30 -0000 In response to gahn : > 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 Are you sure those messages aren't old, from before you disabled bsnmpd? sockstat -4 should show you what is listening on that port. net-snmpd starts a process called "snmpd", so you should be able to tell which one is running by the process name. If bsnmpd is still running, a "killall" should shut it down. -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.