Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 19:44:44 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        gahn <ipfreak@yahoo.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: sshd error on 5.4
Message-ID:  <20060201004444.GA18873@xor.obsecurity.org>
In-Reply-To: <20060201003923.2424.qmail@web52101.mail.yahoo.com>
References:  <20060201003923.2424.qmail@web52101.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060201004444.GA18873>