2004-01-22 04:33:08

by Stephen Clark

[permalink] [raw]
Subject: 2.6.2-rc1

Hello,

I am running RH9 with the latest kernel and get the following when I try
to use rpm:
rpm -qa
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

any ideas?

Thanks,
Steve



2004-01-22 04:39:32

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: 2.6.2-rc1

On Wed, 21 Jan 2004 23:32:59 EST, Stephen Clark <[email protected]> said:
> Hello,
>
> I am running RH9 with the latest kernel and get the following when I try
> to use rpm:
> rpm -qa
> 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

1) Later releases of RPM (from Fedora) have this fixed. Fedora-development
currently has rpm-4.3-0.7. Pre-reqs are your problem. :)

2) 'LD_ASSUME_KERNEL=2.4.1 rpm -qa' also works around it.


Attachments:
(No filename) (226.00 B)

2004-01-22 21:07:15

by Stephen Clark

[permalink] [raw]
Subject: Re: 2.6.2-rc1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OOPS, no.

Thanks.

Nigel Cunningham wrote:

|Hi.
|
|Does .config include CONFIG_SWAP (in config it's called "Support for
|paging of anonymous memory", found under 'General Setup').
|
|Nigel
|
|On Fri, 2004-01-23 at 09:24, Stephen Clark wrote:
|
|
|>Any ideas why my swapon from rh9 won't work?
|>
|>
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAEDt9CqcUhUI6GmARAuRVAJ4ppk+qTYMECTWWey/G4Dh4XFW4AwCfTSY6
5etiFfJF46x3oG4mstrb/rc=
=8tm5
-----END PGP SIGNATURE-----


2004-01-22 12:37:54

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: 2.6.2-rc1

On Thu, 2004-01-22 at 05:32, Stephen Clark wrote:
> Hello,
>
> I am running RH9 with the latest kernel and get the following when I try
> to use rpm:
> rpm -qa
> 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

rm -fr /var/lib/rpm/__db*

That should fix your problems.