[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URGENT - OpenBSD 3.1 problem
You destroyed /usr. Restore it from your backups.
If you can't do that, go get your cd release set and restore /usr from
base31.tgz using `tar -zxpf base31.tgz usr/`. You may want to `mv /usr
/usr-destroyed` first, just in case you've something important and not
backed up in there.
If you don't have a cd release set, order one for next time and then get
base31.tgz via another machine, burn it to cd and use that.
If you've installed bsd.rd, you could boot into that and grab base31.tgz
via ftp.
If you can ftp in, you could place base31.tgz on the machine and then use
it.
You may need to grab some other release set, but i think base31.tgz will
get you to a workable position. Oh, don't forget to patch everything
that's necessary for 3.1, you may want to upgrade soon. And before doing
any of this, make sure you have a backup of relevant data; tar/dump
should still be available to you.
Good luck, and next time remember to `tar -tf [filename]` first and don't
overuse root.
-f
http://www.blackant.net/
On Wed, 17 Sep 2003, Teren wrote:
> Hi, i have a openbsd 3.1 box mainly being used as a webserver. Today, i went
> to update ssh, and i found that i needed to put the src.tar.gz stuff into the
> usr partition. So, i downloaded it, and attempted to untar it in the /usr.
> Now, after it said it was untaring, it didn't have the src directory, just the
> tared version. Now, something got messed up majorly. I'm still logged in as
> root, so i have limited access, so i can do a little, but it won't let me do
> very many commands, I can't use any text editors or anything. FTP is still
> running along with web and everything else. What happens when I try to put in
> a command, it says "Failure reading ld.so". Nobody can login via ssh. What can
> I do to fix this? Thank you for your help, this is truly an emergency. Thanks
> again
>
> Teren