Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: Local rpm database corruption

Subject: Local rpm database corruption

2007-02-21       - By G.Pitman

 Back
Reply:     1     2     3  

Is this RHEL3?
If so:
# cd /var/lib/rpm
# rm __00*
# rpm --rebuilddb

atleast thats been a fix for me


On 2/21/07, Jerry Roy <jerry.roy@(protected)> wrote:
>
>  All...I'm failing rhn update because of a corruption in the local
> /var/lib/rpm database as evidence by the following example...
>
> root]# rpm -q telnet
> rpmdb: Program version 4.2 doesn't match environment version
> error: db4 error(22) from dbenv->open: Invalid argument
> error: cannot open Packages index using db3 - Invalid argument (22)
> error: cannot open Packages database in /var/lib/rpm
> package telnet is not installed
>
> Iwill someone please give me an idea how to correct and recover from this
> error?
>
> Thanks in Advance
> Jerry
>
> --
> Taroon-list mailing list
> Taroon-list@(protected)
> https://www.redhat.com/mailman/listinfo/taroon-list
>



--
"There's plenty of room for all God's creatures... Right next to the mashed
potatoes."

Is this RHEL3?<br>If so:<br># cd /var/lib/rpm<br># rm __00*<br># rpm -
-rebuilddb<br><br>atleast thats been a fix for me<br><br><br><div><span class=
"gmail_quote">On 2/21/07, <b class="gmail_sendername">Jerry Roy</b> &lt;<a href=
"mailto:jerry.roy@(protected)">
jerry.roy@(protected)</a>&gt; wrote:</span><blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left: 1ex;">



<div>
<font face="Verdana, Helvetica, Arial"><span style="font-size: 12px;">All...I'm
failing rhn update because of a corruption in the local /var/lib/rpm database
as evidence by the following example...<br>
<br>
root]# rpm -q telnet<br>
rpmdb: Program version 4.2 doesn&#39;t match environment version<br>
error: db4 error(22) from dbenv-&gt;open: Invalid argument<br>
error: cannot open Packages index using db3 - Invalid argument (22)<br>
error: cannot open Packages database in /var/lib/rpm<br>
package telnet is not installed<br>
<br>
Iwill someone please give me an idea how to correct and recover from this error
?<br>
<br>
Thanks in Advance<br>
Jerry</span></font>
</div>


<br>--<br>Taroon-list mailing list<br><a onclick="return top.js.OpenExtLink
(window,event,this)" href="mailto:Taroon-list@(protected)">Taroon-list@(protected)
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https:/
/www.redhat.com/mailman/listinfo/taroon-list" target="_blank">
https://www.redhat.com/mailman/listinfo/taroon-list</a><br></blockquote></div>
<br><br clear="all"><br>-- <br> &quot;There&#39;s plenty of room for all God&#39
;s creatures... Right next to the mashed potatoes.&quot;

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list