Error: rpmdb open failed
My box is SCience Linux 6.3 x64, and I got this error message.
Quote:
Please let me know how to resolve this. Thanks in advance. |
The common fix is to delete the rpm databases and run rebuilddb, like
Quote:
|
The problem is a corrupted rpm database, mostly coming into existence because of an aborted update process. It also happens sometimes when the package containing rpm itself is updated.
The solution is to delete and then rebuild the database: Code:
# rm -f /var/lib/rpm/__db.[0-9][0-9]* |
Quote:
Quote:
eklavya/ The result is here. Quote:
|
Did you check for the availability of free disk space on the filesystem where /var is hosted. While installing/updating, yum caches downloaded files to /var/cache/yum directory. If enough space is not available in /var filesystem, then yum will fail.
|
Quote:
|
Code:
df -h |
Quote:
Quote:
|
Code:
[root@maestro Documents]# df -h Delete some unwanted files anywhere in '/' filesystem to make room for yum to cache downloaded files. |
1 Attachment(s)
I've found out my problem. I've copied 30G hdd which is installed Scientific Linux to 250G hdd. Then I got this sturcture of hdd as attached. I have 218G free space.
Please let me know how to include this free space into LVM. |
You can follow these steps. Here I'll assume you want add available free space(218 gb) to existing Logical Volume '/dev/mapper/vg_maestro-lv_root'
Step 1: Make a partition and mark that partition as 0x8e from available free space. Code:
# fdisk /dev/sda Code:
# partprobe /dev/sda Code:
# pvcreate /dev/sda3 Code:
# vgextend vg_maestro /dev/sda3 Code:
# lvextend -l +100%FREE /dev/vg_maestro/lv_root Code:
# reboot |
1 Attachment(s)
Thanks a lot!
It works. The result is at the attached picture, and this. Quote:
I appreciate you for kind and detailed guide. |
Glad it helped :)
|
All times are GMT -5. The time now is 08:48 AM. |