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

简介:

[root@localhost ~]# 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

[root@localhost ~]# 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目录内容即可



本文转自aaa超超aaa 51CTO博客,原文链接:http://blog.51cto.com/10983441/1899346

相关文章
|
Ubuntu
Ubuntu 1604报错cannot create temp file for here-document: No space left on device,拓展sda容量解决之
Ubuntu 1604报错cannot create temp file for here-document: No space left on device,拓展sda容量解决之
260 0
|
2月前
|
NoSQL Redis Docker
5-11write /var/lib/docker/tmp/GetImageBlob2366037717: no space left on device
5-11write /var/lib/docker/tmp/GetImageBlob2366037717: no space left on device
|
3月前
Mac 安装 Node Error: Could not symlink include/node/common.gypi
Mac 安装 Node Error: Could not symlink include/node/common.gypi
25 3
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
263 0
|
6月前
|
存储 Serverless 文件存储
No space left on device
No space left on device
297 1
ROOT_DIR=os.path.abspath(os.path.join(p, '..', 'data/raw/'))代码含义
这行代码的作用是设置一个名为 ROOT_DIR 的变量,其值为指向项目根目录下的"data/raw/"目录的绝对路径。下面是对每个部分的详细解释: os.path.abspath():这个函数返回参数路径的绝对路径,也就是完整路径,包括盘符或根目录和所有子目录。 os.path.join(p, '..', 'data/raw/'):这个函数使用操作系统特定的路径分隔符将参数连接起来,并返回一个新的路径。这里,它连接了当前工作目录(也就是代码所在的目录)的父目录("..") 和"data/raw/",生成了一个相对路径。 p:这是一个之前定义过的变量,代表了当前工作目录的路径。 ROOT_DI
135 0
|
监控 Linux Python
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
175 0
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
flAbsPath on /var/lib/dpkg/status failed - realpath
flAbsPath on /var/lib/dpkg/status failed - realpath
111 0
|
Ubuntu Shell
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
270 0
|
Docker 容器
no space left on device解决方法
no space left on device解决方法