标签归档:centos

Could not create lock at /var/run/yum.pid: [Errno 28] 问题修复

环境:
Linux VM_185_189_centos 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
执行 yum update -y ,发生报错
Could not create lock at /var/run/yum.pid: [Errno 28]
执行 ps aux | grep yum 查看是否有进程冲突,发现没有。
查 google 发现是 centos 的 bug ,需要重启修复问题。
reference:
https://www.davidvandertuijn.nl/could-not-create-lock-at-varrunyumpid-errno-28-no-space-left-on-device
https://bugs.centos.org/view.php?id=14278