From owner-freebsd-questions@FreeBSD.ORG Wed Feb 1 00:44:45 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 E311D16A420 for ; Wed, 1 Feb 2006 00:44:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A063743D45 for ; Wed, 1 Feb 2006 00:44:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7CD3D1A3C2B; Tue, 31 Jan 2006 16:44:45 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D263B51BFD; Tue, 31 Jan 2006 19:44:44 -0500 (EST) Date: Tue, 31 Jan 2006 19:44:44 -0500 From: Kris Kennaway To: gahn Message-ID: <20060201004444.GA18873@xor.obsecurity.org> References: <20060201003923.2424.qmail@web52101.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20060201003923.2424.qmail@web52101.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd general questions Subject: Re: sshd error on 5.4 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: Wed, 01 Feb 2006 00:44:46 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 31, 2006 at 04:39:23PM -0800, gahn wrote: > Hi All: >=20 > I upgraded sshd on the 5.4 (VPN server) and made > /etc/rc.d/sshd using /usr/local/sbin/sshd instead of > old one /usr/sbin/sshd. If you modified the rc.d script, you did something wrong. It already provides rc.conf variables that you can use to control the location of the ssh binary to run (see the rc.conf manpage). > well, now I got error whenever > the server reboots: >=20 > sshd[445]: Bind to port 22 on 0.0.0.0 failed. Address > already in use. > sshd[445]: Fata: Connot bind any address. >=20 > seems to be the old sshd is still running but I can't > find it. How did you look? ps, and sockstat will both show it. Kris --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD4AR8Wry0BWjoQKURAhxYAJ9R2ESo9IP7DRbash0Uvz8MGfJs1ACgxoSn 3WpFMdd0ZpTXKsvfmw5AcwE= =SONP -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--