From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 20:31:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D7F816A403 for ; Thu, 1 Mar 2007 20:31:37 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 651BA13C461 for ; Thu, 1 Mar 2007 20:31:37 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l21KVdWQ049318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Mar 2007 12:31:39 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45E73821.5090506@enabled.com> Date: Thu, 01 Mar 2007 12:31:29 -0800 From: Noah User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Kris Kennaway References: <45E5F634.9060408@enabled.com> <20070301195031.GB29334@xor.obsecurity.org> In-Reply-To: <20070301195031.GB29334@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: /libexec/ld-elf.so.1 [solved] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 20:31:37 -0000 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