Sponsored Content
Full Discussion: rpmdb open failed
Operating Systems Linux Red Hat rpmdb open failed Post 302516039 by sef alislam on Thursday 21st of April 2011 01:57:41 PM
Old 04-21-2011
rpmdb open failed

Hi,

Code:
[root@localhost]# yum --skip-broken -y  update
rpmdb: Thread/process 6657/3078387392 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

note:
i'm using fedora 14 with kernel 2.6.35.12-88.fc14.i686

---------- Post updated at 19:57 ---------- Previous update was at 19:38 ----------

Oh sorry i got it !

1- rm /var/lib/rpm/__db*
2- yum --rebuilddb
3- yum -y update

Last edited by sef alislam; 04-21-2011 at 03:02 PM..
This User Gave Thanks to sef alislam For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Failed to open output file Error

Hi guys, I Have written a script,In that it will call another file which contains the sql quaries. while wxecuting that I am getting the below exception 01/16|06:28:06:16800: Operating System Error|Failed to open output file Can anybody help me about this,,Its urgent (0 Replies)
Discussion started by: Anji
0 Replies

2. Solaris

libCstd.so.1: open failed

Morning all, I have a problem with a Sun workstation which is running Solaris 8. When I attempt to open an application, the executable fails with this message : "fatal: libcstd.so.1: open failed: No such file or directory" It was suggested to me that I need to add these patches to fix the... (4 Replies)
Discussion started by: AndyD
4 Replies

3. Solaris

Error:: libm.so.2:open failed

Hi, I am working with solaris 9 and I want to install perforce on that,so I downloaded the p4v.bin file and try to install it by the command ./p4v after that it is giving the error--- ld.so.1: ./p4v.bin: fatal: libm.so.2: open failed: No such file or directory Killed I am not... (3 Replies)
Discussion started by: smartgupta
3 Replies

4. Solaris

Solaris10..Open boot diagnostic failed

Hi all, when am rebooting the server (SF v890) we are facing "open boot diagnostic failed". Thanks in Adv. (5 Replies)
Discussion started by: arjunreddy3
5 Replies

5. UNIX for Dummies Questions & Answers

Rdesktop failed to open keymap common#015

Hi everybody... I have installed qrdesktop(is a tool similar to rdesktop used to access remote desktop) on Ubuntu 8.10. when i am accessing the remote desktop some of the keyboard keys are not working on remote desktop like up arrow ,down arrow, left, right, delete etc. the output of tail... (5 Replies)
Discussion started by: lokeshsingla
5 Replies

6. Solaris

libucb.s0.1: open failed...

Hi all. I try to start an application, but libucb.so1 is missing. # appl23 # appl23ld.so.1: appl23: fatal: libucb.so1: open failed: No such file or directory killed # # ldd appl23 libXm.so.3 => /usr/lib/libXm.so.3 libMrm.so.3 => /usr/lib/libMrm.so.3 ... (14 Replies)
Discussion started by: wolfgang
14 Replies

7. Solaris

Sendmai l: libssl.so.0.9.7: open failed

Hey for some reason I think I deleted a critical file for sendmail. I was looking the log file on /var/log/cron for cron, and the file isn't there and I found out the reason why is because I'm missing libssl.so.0.9.7. Im running Solaris 11. I checked smtp and got the following: #svcs -xv... (3 Replies)
Discussion started by: picolin
3 Replies

8. UNIX for Beginners Questions & Answers

Rdesktop - ERROR: Failed to open keymap en-us

I just updated my rdesktop to 1.8.3 from source ( on Slackware 11 ) and had troubles with arrow keys/page up/page down not working. I see this on the console: ERROR: Failed to open keymap en-us The fix is a permission change. I initially looked at /usr/share/rdesktop/keymaps and everything... (1 Reply)
Discussion started by: agentrnge
1 Replies

9. Shell Programming and Scripting

Linux open failed: No such file or directory error

Hi, The below commands works fine on serverB . /etc/profile; cd /export/home/user2/utils/plugin/ ./runme.shHowever, when i run the same commands from serverA it fails $ ssh -q user2@serverB ". /etc/profile; cd /export/home/user2/utils/plugin; ./runme.sh"Output Error: Please find the below... (8 Replies)
Discussion started by: mohtashims
8 Replies

10. Shell Programming and Scripting

Script to find Error: rpmdb open failed on list of servers

Hello all, I have a task to patch red hat servers and some servers have a corrupted rpm database and return the error: Error: rpmdb open failed I know how to fix this when it occurs. What I'm hoping to do is scan a list of servers by IP and report back which server have this error. ... (6 Replies)
Discussion started by: greavette
6 Replies
yum-filter-data(1)														yum-filter-data(1)

NAME
yum filter data plugin SYNOPSIS
yum [options] [command] [package ...] DESCRIPTION
This plugin extends yum with some options, currently just for "update" and "list update" type commands, to allow filters to be placed on which packages should be used based on the data in those packages. Note that due to some of the data being unknown, and thus could possibly match, all unknown data is treated as a match. GENERAL OPTIONS
These are the options added to yum that are available in the "list updates", "info updates", "check-update" and "update" commands. They are: --filter-vendors This option includes packages which have a vendor which matches one of the passed vendor wildcard strings, or is unknown. Note that vendors can have spaces in their value, so "," is the only way to specify multiple vendors as one option argument. --filter-rpm-groups This option includes packages which have a group which matches one of the passed rpm group wildcard strings, or is unknown. Note that rpm groups can have spaces in their value, so "," is the only way to specify multiple rpm groups as one option argument. --filter-packagers This option includes packages which have a packager which matches one of the passed packager wildcard strings, or is unknown. Note that vendors can have spaces in their value, so "," is the only way to specify multiple packagers as one option argument. --filter-licenses This option includes packages which have a license which matches one of the passed license wildcard strings, or is unknown. Note that licenses can have spaces in their value, so "," is the only way to specify multiple licenses as one option argument. --filter-arches This option includes packages which have a arch which matches one of the passed arch wildcard strings, or is unknown. --filter-committers This option includes packages which have a committer which matches one of the passed committer wildcard strings, or is unknown. Note that committers can have spaces in their value, so "," is the only way to specify multiple committers as one option argument. Also, committer values are so loosely formed that they could contain commas too, it is recommended to not do that but you can work around it by using "?". --filter-buildhosts This option includes packages which have a buildhost which matches one of the passed buildhost wildcard strings, or is unknown. --filter-urls This option includes packages which have a url which matches one of the passed url wildcard strings, or is unknown. --filter-package-sizes This option includes packages which have a packagesize which is within one of the passed packagesize ranges, or is unknown. --filter-archive-sizes This option includes packages which have a archivesize which is within one of the passed archivesize ranges, or is unknown. --filter-installed-sizes This option includes packages which have a installedsize which is within one of the passed installedsize ranges, or is unknown. --filter-groups This option includes packages which are in a yum group which matches one of the passed yum group id strings, or is unknown. Note that yum groups can have spaces in their value, so "," is the only way to specify multiple yum groups as one option argument. EXAMPLES
To list all updates that are 1 MB or less use: yum --filter-package-sizes=-1m check-update To apply updates that Dan Walsh has committed use: yum --filter-committers='Dan Walsh *' update To list updates for a specific group use: yum --filter-rpm-groups='App*/Sys*' list updates To apply updates to a specific set of groups use: yum --filter-rpm-groups='App*/System,Devel*/Lib*,System Environment/Base' update To list updates for a set of yum groups use: yum --filter-groups='PostgreSQL Database,Web Server' list updates To apply updates to a specific set of yum groups use: yum --filter-groups='KDE,Core,Printing Support' update SEE ALSO
yum-list-data (1) yum (8) yum.conf (5) AUTHORS
James Antill <james.antill@redhat.com>. BUGS
Currently yum can't filter packages in all of the commands, so for instance "yum list 'yum*'" doesn't get the results filtered. Apart from that there are no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.red- hat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. James Antill 04 February 2008 yum-filter-data(1)
All times are GMT -4. The time now is 11:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy