/var/lib/rpm/__db.001: No space left on device

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了/var/lib/rpm/__db.001: No space left on device相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# df -h

Filesystem                     Size  Used Avail Use% Mounted on

/dev/mapper/VolGroup-LogVol00   20G  1.7G   18G   9% /

tmpfs                          3.9G     0  3.9G   0% /dev/shm

/dev/sda1                      485M   38M  422M   9% /boot

/dev/mapper/VolGroup-LogVol01  9.9G  228M  9.2G   3% /home

/dev/mapper/VolGroup-LogVol03  9.9G  160M  9.2G   2% /tmp

/dev/mapper/VolGroup-LogVol02  9.9G  9.0G  430M  96% /var

/dev/mapper/rootvg-lv01         99G   11G   83G  12% /opt

[[email protected] ~]# yum install ntp

rpmdb: /var/lib/rpm/__db.001: No space left on device

error: db3 error(28) from dbenv->open: No space left on device

error: cannot open Packages index using db3 - No space left on device (28)

error: cannot open Packages database in /var/lib/rpm

CRITICAL:yum.main:


Error: rpmdb open failed


清理、/var目录内容即可

以上是关于/var/lib/rpm/__db.001: No space left on device的主要内容,如果未能解决你的问题,请参考以下文章

使用yum时出现Error: rpmdb open failed解决方案

error: cannot open Packages database in /var/lib/rpm

error: cannot open Packages database in /var/lib/rpm

Linux - error: cannot open Packages database in /var/lib/rpm

Linux - error: cannot open Packages database in /var/lib/rpm

__db.001 在伯克利数据库中是啥意思?