Re: rpmdb write File too large problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/15/2010 06:30 PM, seth vidal wrote:
> On Tue, 2010-06-15 at 18:11 +0300, Piavlo wrote:
>   
>> Hi,
>>
>> I'm running Centos 5.5 64 bit
>> At some point I've started getting the following error
>> "Error: Database disk image is malformed"
>> and could not install anything anymore with yum
>>
>> I've stried "yum clean all" several times but next "yum update"
>> failed with same error.
>>
>> Next I tried to remove /var/lib/rpm/__db.* files and run "rpm --rebuilddb"
>> and now I get the following error and have no idea how to fix it:
>>
>> [root@srv]#  rpm --rebuilddb
>> rpmdb: write: 0x2b9224bbb7b8, 1024: File too large
>> rpmdb: /var/lib/rpmrebuilddb.10789/Packages: write failed for page 2777
>> rpmdb: /var/lib/rpmrebuilddb.10789/Packages: unable to flush page: 2777
>> error: db4 error(27) from db->sync: File too large
>> rpmdb: write: 0x2b9224bbb7b8, 1024: File too large
>> rpmdb: /var/lib/rpmrebuilddb.10789/Packages: write failed for page 2777
>> rpmdb: /var/lib/rpmrebuilddb.10789/Packages: unable to flush page: 2777
>> error: db4 error(27) from db->sync: File too large
>> File size limit exceeded
>> [root@src]#             
>>
>> Any ideas how to solve the problem?
>>
>>     
>
> 1. Are you out of disk space on /var or /var/lib?
>   
No
> 2. Do you have some sort of weird limit on that fs for filesizes?
>
>   
No it's ext3, and the original /var/lib/rpm/Packages files size is just
33M and
failing /var/lib/rpmrebuilddb.10789/Packages is 11M

[root@srv]# du -h /var/lib/rpmrebuilddb.10789/Packages
11M     /var/lib/rpmrebuilddb.10789/Packages
[root@srv]# du -h /var/lib/rpm/Packages
33M     /var/lib/rpm/Packages
[root@srv]# rpm -qa | wc
    487     487   11338
[root@srv]# df -h -l
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             220G   13G  197G   6% /
/dev/sda1              99M   13M   82M  14% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/ram0              62M   60K   62M   1% /var/www/html
/dev/sdb1             917G  109G  762G  13% /logs
[root@srv]#                            

Thanks
Alex
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux