public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Williams <mike@gaima.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] sshd won't restart on remote system
Date: Wed, 12 Nov 2008 17:49:06 +0000	[thread overview]
Message-ID: <200811121749.07765.mike@gaima.co.uk> (raw)
In-Reply-To: <49bf44f10811120937g2af6ef6dj685da2c31d749f0a@mail.gmail.com>

On Wednesday 12 November 2008 17:37:29 Grant wrote:
> After updating to the latest stable x86 openssh and merging config
> files on my remote system, I get:
>
> # /etc/init.d/sshd restart
> * Stopping sshd ... [ !! ]
>
> There is nothing in /var/log/sshd/current.  Does anyone know what I should
> do?

Sometimes ssh won't restart if it's being used, possible after an openssl 
update I'm not sure.
Try this

(sleep 5 ; /etc/init.d/sshd restart) &

then logout, and 5-6 seconds later try to login, if it worked ssh can now be 
restarted while you're logged in as normal.

-- 
Mike Williams



  reply	other threads:[~2008-11-12 17:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 17:37 [gentoo-user] sshd won't restart on remote system Grant
2008-11-12 17:49 ` Mike Williams [this message]
2008-11-12 18:35 ` Dan Wallis
2008-11-12 19:05   ` Grant
2008-11-12 22:57     ` Nicolas Sebrecht
2008-11-12 23:27       ` Grant
2008-11-12 23:36         ` Andrey Falko
2008-11-12 23:38           ` Andrey Falko
2008-11-13  0:29             ` Grant
2008-11-28  1:28               ` Alex Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811121749.07765.mike@gaima.co.uk \
    --to=mike@gaima.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox