From owner-freebsd-questions@FreeBSD.ORG Tue Dec 10 09:25:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5063F551 for ; Tue, 10 Dec 2013 09:25:21 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2360E165D for ; Tue, 10 Dec 2013 09:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=uxNnNlT9ohe65BN6HQA54xIwjdlyxb4amMIBCMfpKd8=; b=Zd23vTFd0BIJy2SJ936UhEeiuRedrGYTxFtM4RAUHPhSqjEKjTbVbNAAlMhNTgimKb7zgj4+8VaAR13iDo2VYmEdU2fzJdUfEsKsPsSwiog3V+gEyjk0h5VAwQwKM8t3dpXIoVryLFqJsckM/5sBnMhsa11WPm0A10E4BfvnilY=; Received: from [182.9.96.173] (port=55708 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1VqJZ9-000npb-5G; Tue, 10 Dec 2013 02:25:20 -0700 Date: Tue, 10 Dec 2013 17:25:13 +0800 From: Erich Dollansky To: "ETHAN HOUSE (RIT Student)" Subject: Re: Base System Rebuild Message-ID: <20131210172513.77fa8482@X220.alogt.com> In-Reply-To: References: <20131210161620.667c1591@X220.alogt.com> <20131210162820.6834d51b@X220.alogt.com> <20131210170905.1dfb9fd7@X220.alogt.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 09:25:21 -0000 Hi, On Tue, 10 Dec 2013 01:11:26 -0800 "ETHAN HOUSE (RIT Student)" wrote: > It is also a FreeBSD 9.2 machine. It is being virtualized using KVM > and virtio. you should then be able to compare the include paths and the content of the /usr/inlude directories and sub-directories. Just do not forget to backup all files from the remote machine before you overwrite anything. And again, changing something in /usr/include does affect the machine's ability to boot. Just keep your fingers away from /etc and /boot for the moment. I am still worried a bit about the file system. I do not believe that somebody deleted part of the system. Can you find a little bit more out what history this machine has. I have had a similar problem when the hosting company a dying hard disk only after they made the backup and used that backup for the new disk. Erich > > Ethan House > > > On Tue, Dec 10, 2013 at 1:09 AM, Erich Dollansky < > erichsfreebsdlist@alogt.com> wrote: > > > Hi, > > > > On Tue, 10 Dec 2013 00:34:28 -0800 > > "ETHAN HOUSE (RIT Student)" wrote: > > > > > http://pastebin.com/LcCXcjq6 > > > > > > Not sure if I am making a newb mistake. This would be my first > > > worldbuild. > > > > > just compiling the kernel and the world does not install anything on > > the system. With other words, there is not chance to destroy it > > except the file system is already damaged. But this would be a > > totally different problem then. > > > > It seems to me that there are some files missing from your include > > directory. Try to install a fresh 9.2 locally and compare to see > > what is really missing. It also could be that just a path is set > > the wrong way. > > > > Are you able to run a fsck on the machine? This should be done > > normally during the start-up of the machine. > > > > > I confirmed I was on the 9.2 source tree. > > > > What is uname -a saying? You might be able to re-install the same > > version of it then. This will avoid certain potential problems for > > you. > > > > Do you know what hardware you are using? If so, check the Internet > > for potential problems with it. > > > > Erich > > > > > > Ethan House > > > > > > > > > On Tue, Dec 10, 2013 at 12:28 AM, Erich Dollansky < > > > erichsfreebsdlist@alogt.com> wrote: > > > > > > > Hi, > > > > > > > > On Tue, 10 Dec 2013 00:21:32 -0800 > > > > "ETHAN HOUSE (RIT Student)" wrote: > > > > > > > > > I have a working root shell. sshd still seems to work fine, > > > > > for now atleast. > > > > > > > > so, download the sources. Isn't 9.2 also the current version of > > > > the 9 branch? If not, download the 9.2 release sources and > > > > compile them. > > > > > > > > It should always work out to download and compile the sources. > > > > If the version is identical, you should not need the > > > > mergemaster step but this could also create other problems. > > > > Root should always work afterwards. At least it did for me. > > > > > > > > Erich > > > > > > > > > > Ethan House > > > > > > > > > > > > > > > On Tue, Dec 10, 2013 at 12:16 AM, Erich Dollansky < > > > > > erichsfreebsdlist@alogt.com> wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > On Mon, 09 Dec 2013 23:57:53 -0800 > > > > > > Ethan House wrote: > > > > > > > > > > > > > I inherited a FreeBSD 9.2 machine in pretty bad shape. The > > > > > > > base system seems to be all out of whack with missing > > > > > > > libraries all over the place. A reinstall of the OS is > > > > > > > not an option as I am many states away from the box in > > > > > > > question. Having no idea what caused this what is the > > > > > > > best way to fix this? > > > > > > > > > > > > how can you connect to the machine? > > > > > > > > > > > > If you have any chance to copy files to it as root, I would > > > > > > build a 9.2-system on a machine at hand and then copy the > > > > > > files to the affected machine until a normal log-in is > > > > > > possible. > > > > > > > > > > > > It should then be possible to download the 9.2 sources and > > > > > > compile a new system locally. > > > > > > > > > > > > Erich > > > > > > > > > > > _______________________________________________ > > > > > freebsd-questions@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > To unsubscribe, send any mail to > > > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"