From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 19:50:32 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 608B716A401 for ; Thu, 1 Mar 2007 19:50:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 40F2113C491 for ; Thu, 1 Mar 2007 19:50:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2D5331A4D98; Thu, 1 Mar 2007 11:50:32 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6DFD8516C4; Thu, 1 Mar 2007 14:50:31 -0500 (EST) Date: Thu, 1 Mar 2007 14:50:31 -0500 From: Kris Kennaway To: Noah Message-ID: <20070301195031.GB29334@xor.obsecurity.org> References: <45E5F634.9060408@enabled.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: <45E5F634.9060408@enabled.com> User-Agent: Mutt/1.4.2.2i Cc: User Questions Subject: Re: /libexec/ld-elf.so.1 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 19:50:32 -0000 --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2007 at 01:37:56PM -0800, Noah wrote: >=20 >=20 > so something strange has happened and my machine no longer boots and I=20 > am not clear why. Here is what happens during boot: >=20 >=20 > 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: >=20 > 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 --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF5y6GWry0BWjoQKURAo4gAJ9Ov0MNqZ+cmP6bXyLrsYgbKD/zQACfVr0U eXvcMNndqjRGdKMgR3z33Ao= =EklS -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc--