Phil Schwan
2006-May-19 07:36 UTC
[Lustre-discuss] some problems about install "rpm" package
Hawk Chen wrote:> My OS is Redhat 9.0,and I have downloaded the lustre install packages > : kernel-smp-2.4.20-24.9_lustre.1.0.1.i686.rpm and > lustre-lite-utils-2.4.20-24.9_lustre.1.0.1.i386.rpm . > After installing the two packages , the Lustre filesystem is good . > But in the kernel for lustre I can not run rpm command normally . System > error console stat some error information which just like to say can > not open rpm database.However, the origin kernel 2.4.20-8 works well > with rpm .The version of RPM which ships with Red Hat 9 is buggy, and fails on other kernels. The easiest thing to do is to upgrade to RPM version 4.2-1, which can be found in ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.2.x/ To upgrade, you can override the problematic behaviour with an environment variable: LD_ASSUME_KERNEL=2.4.1 rpm -Uvh <list of RPMs> If you continue to experience problems, you may also have to remove the /var/lib/rpm/__db.* files. This will not harm your rpmdb. Thanks-- -Phil
Hawk Chen
2006-May-19 07:36 UTC
[Lustre-discuss] some problems about install "rpm" package
--0-1297021908-1072021243=:26921 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit My OS is Redhat 9.0,and I have downloaded the lustre install packages : kernel-smp-2.4.20-24.9_lustre.1.0.1.i686.rpm and lustre-lite-utils-2.4.20-24.9_lustre.1.0.1.i386.rpm . After installing the two packages , the Lustre filesystem is good . But in the kernel for lustre I can not run rpm command normally . System error console stat some error information which just like to say can not open rpm database.However, the origin kernel 2.4.20-8 works well with rpm . Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1297021908-1072021243=:26921 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit <DIV> My OS is Redhat 9.0,and I have downloaded the lustre install packages : kernel-smp-2.4.20-24.9_lustre.1.0.1.i686.rpm and lustre-lite-utils-2.4.20-24.9_lustre.1.0.1.i386.rpm . </DIV> <DIV> After installing the two packages , the Lustre filesystem is good . But in the kernel for lustre I can not run rpm command normally . System error console stat some error information which just like to say can not open rpm database.However, the origin kernel 2.4.20-8 works well with rpm .</DIV> <DIV> </DIV> <DIV> Thanks </DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com --0-1297021908-1072021243=:26921--