Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 12:00:54 +0200
From:      bsd <bsd@todoo.biz>
To:        Vladimir Tsvetkov <npacemo@gmail.com>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Core Dump using portversion
Message-ID:  <EAE55509-F4B5-40C3-933A-AFB15FB1E988@todoo.biz>
In-Reply-To: <666bdb140510060231m3bf4f15ft@mail.gmail.com>
References:  <EC8A6AA6-BD22-4EBF-A621-0E13C819D954@todoo.biz> <666bdb140510060231m3bf4f15ft@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This has not solved my issue :

> ns2# pkgdb -fu
> --->  Updating the pkgdb
> [Rebuilding the pkgdb <format:bdb1_btree> 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
> <format:bdb1_btree> 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 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 <format:bdb1_btree> in /var/db/pkg ... - 168
>>> packages found (-1 +1) (...). done]
>>> [Failed `Inappropriate file type or format'] [Updating the portsdb
>>> <format:bdb1_btree> 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 ``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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EAE55509-F4B5-40C3-933A-AFB15FB1E988>