From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Steudten Subject: Re: RPM issue on 2.6.5 Date: Tue, 27 Apr 2004 12:59:23 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <408E3D0B.8090005@steudten.com> References: <1083057225.1925.21.camel@ProfiLinux.bucharest-mof.ro.ibm.ro> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1083057225.1925.21.camel@ProfiLinux.bucharest-mof.ro.ibm.ro> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Calin Cosma Cc: linux-admin@vger.kernel.org Update your rpm version to RH 4.2-2, your db4 to 4.0.14-20 OR set the environment variable as a workaround to export LD_ASSUME_KERNEL=2.2.5 Calin Cosma wrote: > Hello pepole, > > I have an RH9, upgraded to 2.6.5. After I installed the new kernel, I > was unable to install any rpm due to following error. > > "rpmdb: unable to join the environment > error: db4 error(11) from dbenv->open: Resource temporarily unavailable > error: cannot open Packages index using db3 - Resource temporarily > unavailable (11) > error: cannot open Packages database in /var/lib/rpm > no packages" > > Now, I googled it about and found this: > > http://www.rpm.org/hintskinks/repairdb/ > > After following step by step the instructions I found, there the result > was the same. > The odd thing is that I receive this message even when I try rpm -qa as > root. But if I try rpm -qa as average user it seems to work. Even odd is > that when I'm using 2.4.20-8 kernel (the one which cames with RH9) rpm > works fine. That's why I think this gotta be a kernel issue (most > probably a configuration one, so I attached my 2.6.5 config file). > > Could anyone help me with this? > > Thank you in advance > > > > Calin Cosma > > > ----------------------------------------------------------------------- > > Perfection is reached, not when there is no longer anything to add, but > when there is no longer anything to take away. > -- Antoine de Saint-Exupery > > ------------------------------------------------------------------------ > > > > --------------------------------------------------------------- > Lucram pentru tine. Analizam. Cautam zilnic. > Alegem ceea ce te intereseaza. Te anuntam. > http://www.REDUCERI.ro/ -- Tom LINUX user since kernel 0.99.x 1994. RPM Alpha packages at http://alpha.steudten.com/packages Want to know what S.u.S.E 1995 cdrom-set contains?