Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2009 04:41:01 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to recover after power outage
Message-ID:  <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com>
In-Reply-To: <AF401DB4-C4D1-44B0-B9D2-A34D81596481@identry.com>
References:  <AF401DB4-C4D1-44B0-B9D2-A34D81596481@identry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 5, 2009 at 2:59 AM, John Almberg <jalmberg@identry.com> wrote:
> Blast... my beautiful FreeBSD servers were rudely switched off when my data
> had a power outage a couple hours ago. They restored power about 30 minutes
> later, and one box came up no problem.
>
> The other has a login prompt on the serial console, but my login does not
> work. I get a "Login incorrect" message, even though the username/password
> is correct.
>

Can you log in as *any* user?  Even root login fails?

> When I try to SSH into the box, I get this (server name changed):
>
> $ ssh user@example.com -p 48420
> ssh: connect to host example.com port 48420: Connection refused
>
> In other words, I seem to be locked out.
>
> I don't want to do anything drastic without having a good idea what I'm
> doing. Any suggestions, much appreciated.
>

What was the previous (estimated) uptime on the machine?  In other
words, did you change something and not/forget to restart the service?
 Have you tried ssh-ing to port 22 to see if the setting was changed
back to default?

Are there any other services on this box?  If so, are they running?


-- 
Glen Barber



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