From owner-freebsd-chat@FreeBSD.ORG Tue Jan 4 04:27:35 2005 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58B3316A4CE for ; Tue, 4 Jan 2005 04:27:35 +0000 (GMT) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 807EC43D39 for ; Tue, 4 Jan 2005 04:27:34 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id j044RWOJ017439; Mon, 3 Jan 2005 22:27:32 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <41DA1B2B.5080504@centtech.com> Date: Mon, 03 Jan 2005 22:27:23 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <41DA0AB8.3080400@centtech.com> <20050104041859.GA56168@xor.obsecurity.org> In-Reply-To: <20050104041859.GA56168@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-chat@freebsd.org Subject: Re: portupgrade system destruction? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 04:27:35 -0000 Kris Kennaway wrote: > On Mon, Jan 03, 2005 at 09:17:12PM -0600, Eric Anderson wrote: > >>I have a few dedicated servers at a hosting company (about 3 hours drive >>time away). On one of the systems I ran a 'portupgrade -arR' this >>morning, and then disconnected (I ran it in a screen session). About an >>hour later, I realized I could not log in anymore via ssh. Seems that I >>can connect, but my passwords fail (permission denied). I can't FTP in, >>or check mail with any username/password combos. Even my preshared SSH >>keys do not work. When connecting via POP, I get this message: >> >>Connected to hostname. >>Escape character is '^]'. >>/usr/libexec/ld-elf.so.1: Shared object "libc-client4.so.8" not found >>Connection closed by foreign host. >> >>Can anyone help me figure out what may have gone wrong? > > > Probably you're 1) using an ssh port instead of the base system > version, and 2) the portupgrade stalled or exited somewhere in between > updating a library it depends on and updating the port itself (ditto > for pop). System upgrades can be dangerous when you don't have a > fallback plan :-) Is ssh a port by default in 4.10? I thought it was in the base os.. How would that explain my ftp access problems too? Seems like they would not be tied.. >>or walk someone through a fix? > > > Depends on exactly what has gone wrong. You'll need to at least get > someone to tell you what's on the console, if anything. > > In future, consider setting up a serial console from another machine > that you can access remotely. You can repair almost anything this way > without needing physical access to the machine (since you can reboot > and do stuff from single-user mode). Unfortunately, I didn't get to build it, and I can get any physical access to it - it's in a rack somewhere. If I had the opportunity to do that, I would have before now. :) Just seems odd that a portupgrade could smash the system so badly. Any ideas on what 'libc-client4.so.8' is installed from? Maybe that would help me find the culprit port. Thanks for the thoughts.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology When in doubt, mumble; when in trouble, delegate; when in charge, ponder ------------------------------------------------------------------------