From owner-freebsd-questions@FreeBSD.ORG Tue Oct 18 11:33:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B544E16A41F for ; Tue, 18 Oct 2005 11:33:22 +0000 (GMT) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [195.115.46.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ED6F43D48 for ; Tue, 18 Oct 2005 11:33:19 +0000 (GMT) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 5BF7C2877A for ; Tue, 18 Oct 2005 13:33:18 +0200 (CEST) Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12198-09 for ; Tue, 18 Oct 2005 13:33:15 +0200 (CEST) Received: from [10.0.1.201] (me.todoo.biz [82.66.93.242]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by newmail.rmm.fr (Postfix) with ESMTP id B94D3286A8 for ; Tue, 18 Oct 2005 13:33:15 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <666bdb140510060231m3bf4f15ft@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <8C85793B-B49A-4BFF-8446-094A12D110E6@todoo.biz> Content-Transfer-Encoding: quoted-printable From: bsd Date: Tue, 18 Oct 2005 13:33:09 +0200 To: Liste FreeBSD X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at rmm.fr Subject: Re: Core Dump using portversion 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, 18 Oct 2005 11:33:22 -0000 Problem was due to multiple install of ruby that were not cleaned well. solution : de-install these various version and keep the last release of ruby. Le 6 oct. 05 =E0 12:00, bsd a =E9crit : > This has not solved my issue : > > >> ns2# pkgdb -fu >> ---> Updating the pkgdb >> [Rebuilding the pkgdb in /var/db/pkg ... - 168 =20= >> packages found (-0 =20 >> +168) ...............................................................=20= >> .....................................................................=20= >> .................................... done] >> ns2# portversion -l "<" >> [Failed `Inappropriate file type or format'] [Updating the portsdb =20= >> in /usr/ports ... - 13568 port entries =20 >> found .........1000.........2000... >> > > > The ruby process involved puts the processor at 98% use and nothing =20= > move on after that... > > I had to kill the process in order to get my hand back on the =20 > server... > > ?? > > > > > Le 6 oct. 05 =E0 11:31, Vladimir Tsvetkov a =E9crit : > > >>> We have one of our server that core dumps when we are trying to use >>> portversion >>> >>> >>> >>>> ns2# portversion -l "<" >>>> [Updating the pkgdb in /var/db/pkg ... - 168 >>>> packages found (-1 +1) (...). done] >>>> [Failed `Inappropriate file type or format'] [Updating the portsdb >>>> in /usr/ports ... - 13568 port entries >>>> found .........1000.........2000...[BUG] Segmentation fault >>>> ruby 1.8.2 (2004-12-25) [i386-freebsd5] >>>> >>>> Abort (core dumped) >>>> >>>> >>> >>> So far I have : >>> >>> - de-install and re-install ruby. >>> - de-install and re-install portupgrade. >>> >>> Nothing has changed... >>> >>> >>> Our system is FreeBSD 5.2.1 >>> >>> >>> Do you have any clue regarding the way we can solve this issue ?? >>> >>> >> >> This is from the portupgrade man page in the WARNING section: >> >> "Even if you don't do anything wrong, a package database may get >> corrupt somehow when it is heavily updated. In such cases, run =20 >> ``pkgdb >> -fu '' to rebuild the database and rescue the tools from coredumping. >> " >> >> Best Regards, >> Vladimir >> >> > > > > ________________________________________________ > =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB= ?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ________________________________________________ > =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB= ?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-=20 > unsubscribe@freebsd.org" >