From nobody Mon May 22 07:13:39 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QPpb70lpqz4T8vj for ; Mon, 22 May 2023 07:13:55 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QPpb64GKZz43Lb for ; Mon, 22 May 2023 07:13:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Authentication-Results: mx1.freebsd.org; none Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id CB6B3FFD1A; Mon, 22 May 2023 08:13:46 +0100 (BST) Message-ID: <2340d01b-7c75-045e-7b35-27eff9bed1f7@qeng-ho.org> Date: Mon, 22 May 2023 07:13:39 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: System reports libelf.so.1 finds libedit.so.8 not proper layout? Content-Language: en-GB To: Kevin Oberman , "freebsd-questions@freebsd.org" References: From: Arthur Chance In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QPpb64GKZz43Lb X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 22/05/2023 06:18, Kevin Oberman wrote: > My month-old server has died with a baffling error. It boots to the > prompt to enter the shell (default: /bin/sh). Entering anything returns: > libelf.so.1:  /usr/lib32/libedit.20.8: unsupported file layout > > As there is no way to enter any command without a shell, I can't > proceed. This baffles me. Have you tried using /rescue/sh (or /rescue/{csh,tcsh) depending on taste)? The /rescue programs are statically linked so should work. -- We build our computer systems the way we build our cities; over time, without a plan, on top of ruins. — Ellen Ullman