/libexec/ld-elf.so.1 [solved]

Noah admin2 at enabled.com
Thu Mar 1 20:31:37 UTC 2007



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



More information about the freebsd-questions mailing list