From owner-freebsd-questions@FreeBSD.ORG Tue Jul 14 04:51:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E92B1106566C for ; Tue, 14 Jul 2009 04:51:46 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 700598FC15 for ; Tue, 14 Jul 2009 04:51:46 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fxm24 with SMTP id 24so2274096fxm.43 for ; Mon, 13 Jul 2009 21:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uE0CsyRIEM1r1w6XHXuWlYKezUXdzedN7YCM6Jr36y0=; b=biUK3mvSBX5z2iroS9QdxNBNfL3OsK4VlfZ7BcuX3YQzvsgQ+kTGucEMDOpXn5WTb/ jp+kJNt/vHg5ESLPfdOK/rLJzxnxsUiXR3kyxsy8eKH5AHpBK0nEQz+5AACaO9TSVfQN iNDkR9/jYT1teQUsxFlJtqxpKC/9p5jszt0Uk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IfuhV/THLe1OpMupft66/9fO8kEVC6f58eBsbO4+mTKnawGmq1SdWkMdLhdojNMc1v qeMnJJsc5BOIYNeKjZDnLBtUDfSQ4B9rUeX9c0qQ0qzXniCnvk98m+wx0Mw6m9Ug9wom iVM4Cxd2GEwXrSE8bYpQeuMZ1iV9kAlfPn8Es= MIME-Version: 1.0 Received: by 10.204.62.135 with SMTP id x7mr5932739bkh.95.1247547105417; Mon, 13 Jul 2009 21:51:45 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Jul 2009 06:51:45 +0200 Message-ID: <3a142e750907132151s20477a7ah99fda56dc65fc14e@mail.gmail.com> From: "Paul B. Mahol" To: Victor Starenky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") 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: Tue, 14 Jul 2009 04:51:47 -0000 On 7/14/09, Victor Starenky wrote: > Hi guys, > I was running FreeBSD server at home for a few years on an old box for mail, > some web and ftp etc. I've been through a number of upgrades even though > it's not easy with the box as old as this one (PII 350). Right now I'm at > 7.0 Release. > Now last weekend something's screwed up there pretty badly and machine is > pretty much unusable. > The sympthom is that pretty much any command results in the following error: > /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" There is still /rescue, but you will need to resurect /lib/* files anyway. This can happen only if something was attempting to upgrade/update something and failed for whatever reson yet to be found. > Specifically this is thrown when trying to login (after entering login name) > on the console, ssh, ftp. > This is also thrown for "fetch"or for "ls -l" (plain ls works). > So I'm lucky to have one root session on the console as I can't login at any > other... > Most recent thing that might have something to do with it would be an > (unsuccessful) attempt to portupgrade cups-base. This failed with the error > message of wrong cups client. Now this is not new and I have a number of > ports that wouldn't upgrade - cups-base, apache for example. But before > portupgrade would fail without affecting the system. Same cups-base failed > before without any side effects. > As I said this might have nothing to do with the errors I'm getting, just > most recent my actions. > So currently server is not usable - it won't even accept mail (Currier > server) with the same error message. > I tried portupgrade bash but portupgrade itslef also fails with the same > message. I do have one mean of getting new files there through mounted smb > directory. I've tried putting all new bash files into > /usr/ports/distfiles/bash but portupgrade still fails (just a bit further > now). > I ran pkg_libchk which shows a bunch of missing libraries, mostly for > compat4x-i386-5.3_9 but for example courier also misses one: > courier-0.54.0: /usr/local/libexec/filters/perlfilter misses libperl.so > At this point I think I'm lost. I'd really rather avoid complete reinstall > of the server if possible. > I would greatly appreciate any help troubleshooting the libraries. Still > hope there is something that can be done other than reinstall. > Thanks in advance! > Victor > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Paul