From owner-freebsd-questions@FreeBSD.ORG Tue Nov 14 14:31:22 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 02A3216A415 for ; Tue, 14 Nov 2006 14:31:22 +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 8221943D5C for ; Tue, 14 Nov 2006 14:31:21 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: (qmail 32906 invoked by uid 60001); 14 Nov 2006 14:31:20 -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=gaXYpcRu7EgCNWi3e8c7LnGKI5feM4aOeJfc7cD63a0L0fsqi8FvP9L2m/nSAQY2lVTqmAIk9nO1giz2zMAt0eqnW2rrcVxCzyAdQwGhEMFhoF93Iew+rl5wlA2ChGKDBAj9rbTPmOq0B4KOaJ+pHZHs/CpBN7S3zEFeRa33pmA= ; Message-ID: <20061114143120.32904.qmail@web52104.mail.yahoo.com> Received: from [62.56.216.83] by web52104.mail.yahoo.com via HTTP; Tue, 14 Nov 2006 06:31:20 PST Date: Tue, 14 Nov 2006 06:31:20 -0800 (PST) From: gahn To: Bill Moran In-Reply-To: <20061114084618.dd917a0d.wmoran@collaborativefusion.com> 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 14:31:22 -0000 thanks bill: no, i did "cat > /var/log/snmpd.log" every time i restarted the server. here is the error message after i disabled snmpd in rc.conf (with entry "bsnmpd="NO"): ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Received TERM or STOP signal... shutting down... here is the result of "sockstat -4l": root sshd 440 4 tcp4 *:22 *:* root httpd 350 3 tcp46 *:80 *:* root httpd 350 4 tcp4 *:* *:* root syslogd 290 7 udp4 *:514 *:* --- Bill Moran wrote: > 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. > > > _______________________________________________ > 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" > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com