From owner-freebsd-chat@FreeBSD.ORG Tue Jan 4 04:18:45 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 EFE7016A4CE for ; Tue, 4 Jan 2005 04:18:45 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A691B43D1F for ; Tue, 4 Jan 2005 04:18:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B9B8B512B5; Mon, 3 Jan 2005 20:18:59 -0800 (PST) Date: Mon, 3 Jan 2005 20:18:59 -0800 From: Kris Kennaway To: Eric Anderson Message-ID: <20050104041859.GA56168@xor.obsecurity.org> References: <41DA0AB8.3080400@centtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <41DA0AB8.3080400@centtech.com> User-Agent: Mutt/1.4.2.1i 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:18:46 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > time away). On one of the systems I ran a 'portupgrade -arR' this=20 > morning, and then disconnected (I ran it in a screen session). About an= =20 > hour later, I realized I could not log in anymore via ssh. Seems that I= =20 > can connect, but my passwords fail (permission denied). I can't FTP in,= =20 > or check mail with any username/password combos. Even my preshared SSH= =20 > keys do not work. When connecting via POP, I get this message: >=20 > 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. >=20 > 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 :-) > And even how I might be able to fix it remotely If you can't log in to the machine, you're out of luck.=20 > 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). Kris --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB2hkzWry0BWjoQKURAguLAJ9S0BmdR+KjDPXC3hCszcVuUp7B6gCfdzXD Hy/Y7+292RgFwEfoMO4qHIo= =iip6 -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--