Date: Mon, 19 Jul 2010 13:54:21 -0700 From: "David Brodbeck" <gull@gull.us> To: freebsd-questions@freebsd.org Subject: Re: Samba gives "invalid PT_PHDR" after upgrading from 7.2-RELEASE to 7.3-RELEASE Message-ID: <99458820158da6e9d05f9bcb05c7fb3f.squirrel@www.gull.us> In-Reply-To: <20100719194754.GL5485@dan.emsphone.com> References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> <d835a692278fddb7977182fb267ed973.squirrel@www.gull.us> <001501cb1db5$b3db2240$1b9166c0$@wakefield.sch.uk> <6341639666e4d0c65cd1b29a89e64beb.squirrel@www.gull.us> <E121DFA5-78CC-4228-96FB-4CE94A5438B2@gull.us> <AANLkTilwoc-iURlyhtCKEWxdZaDDvTZZBxZqk07o4ZC1@mail.gmail.com> <2e47f936a2985dda9c655b79c0f00091.squirrel@www.gull.us> <20100719194754.GL5485@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, July 19, 2010 12:47 pm, Dan Nelson wrote: > In the last episode (Jul 19), David Brodbeck said: >> That doesn't work, unfortunately. Once you rename ld-elf.so.1 to >> ld-elf.so.1.old, trying to run any further commands -- even mv and cp -- >> fails with an error. (I didn't write down which one; something about >> failing to load the ELF interpreter, I think.) I know, I managed to >> cripple my system that way. I had to boot a LiveCD to recover, because >> it >> couldn't even load /bin/sh to get into single-user mode. > > A better method would be to copy (not move) the file to a backup location, > then either use mv or install to install the new version. Also, the > programs in /rescue/ are statically linked so they can be used to recover > if > you end up losing ld-elf.so.1 or other critical shared libs. That was actually what I tried first, but I got a file in use error when I tried to overwrite it with the new version. Good to know about /rescue. I'll remember that next time something like this happens.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99458820158da6e9d05f9bcb05c7fb3f.squirrel>