Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 17:25:13 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        "ETHAN HOUSE (RIT Student)" <ewh2048@rit.edu>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Base System Rebuild
Message-ID:  <20131210172513.77fa8482@X220.alogt.com>
In-Reply-To: <CAFRryZhNKQz=EsxNdvXqBNj81u3VeFjJAYwcJnBMrFLXFk-jdA@mail.gmail.com>
References:  <CAFRryZg9GwSWLB3ytdpmVgrfnp4T0i6b0sgCJh9xuEdOic-Dng@mail.gmail.com> <20131210161620.667c1591@X220.alogt.com> <CAFRryZgTHHJrkg2iU9FWinjKhWZbUGtqANK-G7nxLQ3fGn0s_g@mail.gmail.com> <20131210162820.6834d51b@X220.alogt.com> <CAFRryZhTbbb8ZFBXX3HPvFSCDz16P9be0nd2Y%2B8T_vNxk-9tag@mail.gmail.com> <20131210170905.1dfb9fd7@X220.alogt.com> <CAFRryZhNKQz=EsxNdvXqBNj81u3VeFjJAYwcJnBMrFLXFk-jdA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Tue, 10 Dec 2013 01:11:26 -0800
"ETHAN HOUSE (RIT Student)" <ewh2048@rit.edu> 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)" <ewh2048@rit.edu> 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)" <ewh2048@rit.edu> 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 <ewh2048@rit.edu> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131210172513.77fa8482>