Date: Thu, 01 Mar 2007 12:31:29 -0800 From: Noah <admin2@enabled.com> To: Kris Kennaway <kris@obsecurity.org> Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: /libexec/ld-elf.so.1 [solved] Message-ID: <45E73821.5090506@enabled.com> In-Reply-To: <20070301195031.GB29334@xor.obsecurity.org> References: <45E5F634.9060408@enabled.com> <20070301195031.GB29334@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > On Wed, Feb 28, 2007 at 01:37:56PM -0800, Noah wrote: >> >> so something strange has happened and my machine no longer boots and I >> am not clear why. Here is what happens during boot: >> >> >> Trying to mount root from ufs:/dev/ad0s1a >> WARNING: / was not properly dismounted >> ELF interpreter /libexec/ld-elf.so.1 not found >> Enter full pathname of shell or RETURN for /bin/sh: >> ELF interpreter /libexec/ld-elf.so.1 not found >> Enter full pathname of shell or RETURN for /bin/sh: sh >> FEnter full pathname of shell or RETURN for /bin/sh: /bin/sh >> ELF interpreter /libexec/ld-elf.so.1 not found >> Enter full pathname of shell or RETURN for /bin/sh: >> ELF interpreter /libexec/ld-elf.so.1 not found >> Enter full pathname of shell or RETURN for /bin/sh: >> ELF interpreter /libexec/ld-elf.so.1 not found >> Enter full pathname of shell or RETURN for /bin/sh: >> ELF interpreter /libexec/ld-elf.so.1 not found >> Enter full pathname of shell or RETURN for /bin/sh: >> >> what is the best suggestion for troubleshooting this? > > That's a pretty serious error, it indicates your system has lost the > ability to run any dynamically linked binaries (i.e. almost all of > them, by default) because the dynamic linker was removed somehow. The > cause of this could either be accidental misuse of rm or similar, > filesystem corruption, disk failure, etc. Try to work out what you or > the other admins were doing prior to this failure. > > To repair, you can boot -s and use the statically linked tools in > /rescue to try and investigate the cause and possible fix. One thing > that might work is that if you have done an installworld on this > machine in the past then you might have a useable backup > /libexec/ld-elf.so.1.old which you could copy into place. If not, and > you can't find a way to get a copy of this file onto the machine, then > your remaining alternative would be a reinstall. > > Kris thanks we used /rescue and saves the system
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E73821.5090506>