From owner-freebsd-questions@FreeBSD.ORG Wed Jan 5 02:50:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC0A516A4CE for ; Wed, 5 Jan 2005 02:50:21 +0000 (GMT) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53BC743D53 for ; Wed, 5 Jan 2005 02:50:21 +0000 (GMT) (envelope-from m16e1@mchsi.com) Received: from yourvvx88vyrxo (12-216-86-146.client.mchsi.com[12.216.86.146]) by sccmmhc91.asp.att.net (sccmmhc91) with SMTP id <20050105025015m91000eerie>; Wed, 5 Jan 2005 02:50:20 +0000 Message-ID: <006501c4f2d1$4ee23230$9256d80c@yourvvx88vyrxo> From: "Tom Bratland" To: Date: Tue, 4 Jan 2005 20:50:18 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Unsubscribne failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 02:50:21 -0000 Hi! I've unsubscribed nunerous times, but I still get subscriber mail. Last msg below. Thanks, Tom m16e1@mchsi.com ----- Original Message ----- From: "Eric Anderson" To: "Kris Kennaway" Cc: Sent: Tuesday, January 04, 2005 8:33 PM Subject: Re: portupgrade system destruction? SOLVED Kris Kennaway wrote: [..snip..] >>>>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.. > > > No. Something unexpected has clearly happened..maybe your system ran > out of swap space? For those that are curious - what happened was the night before, I installed a new port, but needed to change $PREFIX to a user's home area to set the port up in that particular spot. As expected, that went uneventfully. The next morning, I decided to do a portupgrade - and promptly went about cvsupping my ports, bla bla, and then doing a portupgrage -arR. However - I never unset the $PREFIX variable, so each port was being removed from the main system area, then the new port was being installed in a users' home area. Bash was one of the first to be done, which explains the login errors (/usr/local/bin/bash was removed from /etc/shells, and it was replaced with /home/username/usr/local....bash, so my shell in the passwd file no longer was in /etc/shells file). The portupgrade continued until some point when it basically killed itself off. I'm now recovering pieces of the installed packages. :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology When in doubt, mumble; when in trouble, delegate; when in charge, ponder ------------------------------------------------------------------------ _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"