From owner-freebsd-questions@FreeBSD.ORG Sun Apr 5 08:41:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47208106564A for ; Sun, 5 Apr 2009 08:41:02 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 01A0C8FC08 for ; Sun, 5 Apr 2009 08:41:01 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by an-out-0708.google.com with SMTP id d11so1052287and.13 for ; Sun, 05 Apr 2009 01:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0W5wYanV2JXxBHpze0LVP031FJwWTRvgJY1/IhUS7tk=; b=UpHPfzek7+ypi3ikSMG+DexLNqm2IntJwMX9hj0hgC7tbkD3O+2hTHPDDWbcGObhPQ 4NgN+lnCU6Tvshd0NGBFUeMXTGI0/38kv2yMTu5lwndtA8T8oEwIL8f2hN1Wxda+f+gN 0AZKeP/J5XN4LjeXkcpucAHZ7+3Exz4Ux9IQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=P8Rp6TPQxYWpQkihpDbjLq0Sa3jzEZtSp6qWoXd/rLknsSOZHO7LpRj0f/sUfJo2OE SLIkdAQuWSxO5fpbwKv45gfMMDRyxlCuqXCd78N5DQ7SVm19hsZJ1uEq2b5ahMrDb5O0 D+AlAqu5nqWltlCuqnKvth+dmTfcD78GUv3bg= MIME-Version: 1.0 Received: by 10.100.254.15 with SMTP id b15mr4349828ani.150.1238920861428; Sun, 05 Apr 2009 01:41:01 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Apr 2009 04:41:01 -0400 Message-ID: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> From: Glen Barber To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how to recover after power outage 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: Sun, 05 Apr 2009 08:41:02 -0000 On Sun, Apr 5, 2009 at 2:59 AM, John Almberg 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