From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L0PHm-00075L-Tc for garchives@archives.gentoo.org; Wed, 12 Nov 2008 23:38:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCEA1E04CA; Wed, 12 Nov 2008 23:38:10 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by pigeon.gentoo.org (Postfix) with ESMTP id B124BE04CA for ; Wed, 12 Nov 2008 23:38:10 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so324243ywm.46 for ; Wed, 12 Nov 2008 15:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=sMIQjZQbkvTw8Rv0NmVycrIzncEhTUi1CDBCY0s3RMk=; b=L2XJIlKpIcBJoOqYER9xECz21XP3HRYoaq+F0ikzLUVYqxaKHXEw5u21Wu4ozeXhsP yiYDdQuB9C6J3n7T9S3QeHK7Z0cHdHiR1Mi49d7lDzCkH+zzyn54f6Nqbikk6VxaGfU8 SXyy3vhuzvzUCMJcpANeVlgQ0hBBHgmcNNgTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=AwCs1Xb57aq95IfGkjnoGyrI73a2zKRwSEgc2XOxigYfjHbaOnUAaMLgnAGnizevCN 5Hgt4ALQf9BTj2XDwN6gh8gXuw8Q07Z+GTjoja0Nchk/2veOXdSKwlgGXqjSmitPgHVM 5AuVJUTV9fFdtRzfbXw6ZioG10FakVCtBLtMU= Received: by 10.151.109.11 with SMTP id l11mr14988404ybm.232.1226533088930; Wed, 12 Nov 2008 15:38:08 -0800 (PST) Received: by 10.150.198.18 with HTTP; Wed, 12 Nov 2008 15:38:08 -0800 (PST) Message-ID: <350fc7cf0811121538r343218efwc78fb9881c889e01@mail.gmail.com> Date: Wed, 12 Nov 2008 15:38:08 -0800 From: "Andrey Falko" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sshd won't restart on remote system In-Reply-To: <350fc7cf0811121536j11aadaack97bade298b258ab7@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8574_18029477.1226533088931" References: <49bf44f10811120937g2af6ef6dj685da2c31d749f0a@mail.gmail.com> <919d41310811121035s33220838r2638911f4e3c7a9c@mail.gmail.com> <49bf44f10811121105t3d29167au178ff8b61b9ae3c4@mail.gmail.com> <20081112225737.GA13362@ultras> <49bf44f10811121527p2c0dcbb8ubc76f0c8d66621e5@mail.gmail.com> <350fc7cf0811121536j11aadaack97bade298b258ab7@mail.gmail.com> X-Archives-Salt: 2602d487-7c3b-479a-bb9b-7b363d7ef577 X-Archives-Hash: 4bc313dc2261e00f5e3da72f8caaa15e ------=_Part_8574_18029477.1226533088931 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Nov 12, 2008 at 3:36 PM, Andrey Falko wrote: > > > On Wed, Nov 12, 2008 at 3:27 PM, Grant wrote: > >> >> If it doesn't start I'm locked out of the remote system. >> > >> > You may be interested in : >> > /etc/init.d/sshd reload >> >> I get: >> >> # /etc/init.d/sshd reload >> * Reloading sshd ... >> No /usr/sbin/sshd found running; none killed. [ ok ] > > > That is scary. Can you do equery f openssh, also do a simple ls > /usr/sbin/sshd > > When is the last time you did an etc-update? > > I just checked on my system. sshd is in /usr/bin/sshd. Not sbin. You have an outdated /etc/init.d/sshd file. You might need to etc-update, or reinstall sshd and run etc-update afterwards ------=_Part_8574_18029477.1226533088931 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Wed, Nov 12, 2008 at 3:36 PM, Andrey Falko <ma3oxuct@gmail.com> wrote:


On Wed, Nov 12, 2008 at 3:27 PM, Grant <emailgrant@gmail.com> wrote:
>> If it doesn't start I'm locked out of the remote system.
>
> You may be interested in :
> /etc/init.d/sshd reload

I get:

# /etc/init.d/sshd reload
 * Reloading sshd ...
No /usr/sbin/sshd found running; none killed. [ ok ]

That is scary. Can you do equery f openssh, also do a simple ls /usr/sbin/sshd

When is the last time you did an etc-update?

I just checked on my system. sshd is in /usr/bin/sshd. Not sbin. You have an outdated /etc/init.d/sshd file. You might need to etc-update, or reinstall sshd and run etc-update afterwards
------=_Part_8574_18029477.1226533088931--