天天看點

Existing lock /var/run/yum.pid: another copy is running as pid 解決辦法

今天用yum安裝軟體時報錯:

[root@lvs2 yum.repos.d]# yum -y install ipvsadm

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Existing lock /var/run/yum.pid: another copy is running as pid 11986.

Another app is currently holding the yum lock; waiting for it to exit...

  The other application is: pirut

    Memory :  54 M RSS (103 MB VSZ)

    Started: Fri Jul  2 01:09:33 2010 - 18:52:40 ago

    State  : Sleeping, pid: 11986

解決辦法如下:

1。rm -rf /var/run/yum.pid

2./etc/init.d/yum-updatesd stop

問題得到解決!

繼續閱讀