[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RPM error/ corrupt database???
- From: "A.J. Werkman" <werkman digifarma nl>
- To: shrike-list redhat com
- Subject: RPM error/ corrupt database???
- Date: Thu, 06 Nov 2003 13:37:38 +0100
While installing tftp-server and tftp client through the command "rpm -Uvh
tftp*.rpm" rpm hung after it had reached the 100% count on installing the
first rpm.
After this every rpm command (like rpm -qa) hangs forever (well at least 15
minutes). The only thing to stop the rpm-process is a "kill -9". <contrl>-c
on the controling console isn't doing much then.
In the "/var/lib/rpm"-dir I found a few files "__db.*" with the current
timestamp. So I thought I'd remove them. After doing so the "rpm -qa"
command is functioning again.
But as soon as I do a "rpm --rebuilddb" rpm stops with the following message:
[root werk root]# rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy
[root werk root]#
Then the "__db" files appear again, making rpm non responsive again. On
deleting these I can do an "rpm -qa" again. Here is the listing of my
"/var/lib/rpm"
-rw-r--r-- 1 rpm rpm 5169152 Nov 5 14:08 Basenames
-rw-r--r-- 1 rpm rpm 12288 Nov 1 11:42 Conflictname
-rw-r--r-- 1 root root 16384 Nov 6 13:18 __db.001
-rw-r--r-- 1 root root 1318912 Nov 6 13:18 __db.002
-rw-r--r-- 1 root root 458752 Nov 6 13:18 __db.003
-rw-r--r-- 1 rpm rpm 688128 Nov 5 14:08 Dirnames
-rw-r--r-- 1 rpm rpm 5230592 Nov 5 14:08 Filemd5s
-rw-r--r-- 1 rpm rpm 12288 Nov 5 14:08 Group
-rw-r--r-- 1 rpm rpm 16384 Nov 5 14:08 Installtid
-rw-r--r-- 1 rpm rpm 24576 Nov 5 14:08 Name
-rw-r--r-- 1 rpm rpm 22073344 Nov 5 14:08 Packages
-rw-r--r-- 1 rpm rpm 315392 Nov 5 14:08 Providename
-rw-r--r-- 1 rpm rpm 69632 Nov 5 14:08 Provideversion
-rw-r--r-- 1 rpm rpm 12288 Nov 5 14:08 Pubkeys
-rw-r--r-- 1 rpm rpm 200704 Nov 5 14:08 Requirename
-rw-r--r-- 1 rpm rpm 122880 Nov 5 14:08 Requireversion
-rw-r--r-- 1 rpm rpm 86016 Nov 5 14:08 Sha1header
-rw-r--r-- 1 rpm rpm 45056 Nov 5 14:08 Sigmd5
-rw-r--r-- 1 rpm rpm 12288 Nov 5 14:08 Triggername
Is my rpm-database that much corrupt now that I should consider a complete
reinstallation. That would make me feel bad, because I would be like a
Win-user (If something fails reinstall the system).
Is there a more linux-like solution to this problem?
Thanks in advance, Koos.
BTW I am running rh9 not-upgraded ( I intended to, but this problem stop me
to) on a dual xeon system here.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]