Re: Core Dump using portversion
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 à 12:00, bsd a écrit : This has not solved my issue : ns2# pkgdb -fu ---> Updating the pkgdb [Rebuilding the pkgdb in /var/db/pkg ... - 168 packages found (-0 +168) ... . done] ns2# portversion -l "<" [Failed `Inappropriate file type or format'] [Updating the portsdb in /usr/ports ... - 13568 port entries found .1000.2000... The ruby process involved puts the processor at 98% use and nothing move on after that... I had to kill the process in order to get my hand back on the server... ?? Le 6 oct. 05 à 11:31, Vladimir Tsvetkov a écrit : 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 ``pkgdb -fu '' to rebuild the database and rescue the tools from coredumping. " Best Regards, Vladimir «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core Dump using portversion
This has not solved my issue : ns2# pkgdb -fu ---> Updating the pkgdb [Rebuilding the pkgdb in /var/db/pkg ... - 168 packages found (-0 +168) .. .. done] ns2# portversion -l "<" [Failed `Inappropriate file type or format'] [Updating the portsdb in /usr/ports ... - 13568 port entries found .1000.2000... The ruby process involved puts the processor at 98% use and nothing move on after that... I had to kill the process in order to get my hand back on the server... ?? Le 6 oct. 05 à 11:31, Vladimir Tsvetkov a écrit : 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 ``pkgdb -fu '' to rebuild the database and rescue the tools from coredumping. " Best Regards, Vladimir «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core Dump using portversion
On 10/6/05, bsd <[EMAIL PROTECTED]> wrote: > Hello, > > > 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 ?? Try adding these lines to /usr/local/etc/pkgtools.conf, just after other ENV's: ENV['PORTS_DBDRIVER'] = 'dbm_hash' ENV['PKG_DBDRIVER'] = 'dbm_hash' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Core Dump using portversion
Hello, 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 ?? Thanks «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"