From owner-freebsd-performance@FreeBSD.ORG Fri Feb 29 14:26:18 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC8F01065675 for ; Fri, 29 Feb 2008 14:26:18 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 583048FC13 for ; Fri, 29 Feb 2008 14:26:18 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 1D5531B10F2C; Fri, 29 Feb 2008 15:26:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_61 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 83E231B10EF4; Fri, 29 Feb 2008 15:26:13 +0100 (CET) Message-ID: <47C81604.7030304@moneybookers.com> Date: Fri, 29 Feb 2008 16:26:12 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.12 (X11/20080229) MIME-Version: 1.0 To: Noisex References: <47C59591.6040600@errno.com> <47C6991E.1050502@FreeBSD.org> <01ce01c87adc$e2796720$a76c3560$@lv> In-Reply-To: <01ce01c87adc$e2796720$a76c3560$@lv> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/6042/Fri Feb 29 13:55:01 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-performance@freebsd.org Subject: Re: Upgrade from 6.3 to 7.0: Result ->Shared object not found :) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 14:26:19 -0000 Greetings, Noisex wrote: > Hi! The first of all i want felicitate FreeBSD development team and all FBSD > community with 7.0 come-out. > > Ok, the question is not about performance, but anyway maybe you have > some ideas how to solve problem in short time - i don't want rebuld all > needed packages :) > Yes -stable or -questions will be more proper mail list to ask this :) If you will not update any ports/packages you should install compat6x and then you will be able to run bash compiled for 6.X. The upgrade procedure is discussed every time when new major version is released, so you can read this thread - http://lists.freebsd.org/pipermail/freebsd-stable/2008-February/040809.html There is very good explanation what are the problems if you do not reinstall all of your ports/packages. > This morning i decided to upgrade one of the my boxes from 6.3 to 7.0 using > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.htm > l script not native freebsd-update(). > > Scenario: > # fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz > # fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.asc > # gpg --verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz > # tar -xf freebsd-update-upgrade.tgz > # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade > # sh freebsd-update.sh -f freebsd-update.conf install > # shutdown -r now > # sh freebsd-update.sh -f freebsd-update.conf install > # portupgrade -faP > # sh freebsd-update.sh -f freebsd-update.conf install > # shutdown -r now > > > All goes fine till second reboot. > > After reboot, i couldn't logon to remote box, because default shell is bash, > and i got error on SSH login: > > /libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found, required by > "-bash" > > Thanx GOD, this box is with ILO management and i didnt need go to the data > But if you follow documentation you will see that you need access to the server - via serial or local, because you have to run mergemaster and installworld in single user mode. So you can't blame anybody just because you try to upgrade without following the instructions? > center, so i connect through this one, reboot server to single-user mode, > mount all necessary partitions, changed default shell to csh...I have a look > to dmesg/messages and a roger that some services also didn't start up > because some of the shared libs are missing or something like that: > > Checked some daemons depencies with ldd and libs like: libc, libm, libthr, > libcrypt, libcrypto are missing, or version is changed etc. > > Question: what i did wrong in upgrade process? And how can i fix this errors > now i short time, because portupgrade now also not working because ruby > depencies/libs is missing and go on problems. > > Manualy rebuild every all packages is pain in the ass on Friday night :D > compat6x can help you to run the apps and to postpone the upgrade of everything for Monday morning ;) -- Best Wishes, Stefan Lambrev ICQ# 24134177