快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

运行yuminstallphp-y出现无法安装的问题

问题:运行yun install php -y 出现Existing lock /var/run/yum.pid: another copy is running as pid 12092.问题。

创新互联长期为上1000家客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为辛集企业提供专业的成都网站建设、网站建设,辛集网站改版等技术服务。拥有十年丰富建站经验和众多成功案例,为您定制开发。

[root@xiao ~]# yum install php -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 12092.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  14 M RSS ( 31 MB VSZ)
    Started: Mon Nov 24 02:55:21 2014 - 00:23 ago
    State  : Sleeping, pid: 12092

原因:安装的时候yum有一个自动更新的服务(/etc/init.d/yum-updatesd)在运行,激活了yum进程。

方法:停止进程,关闭服务

停止进程:[root@xiao ~]#rm -f /var/run/yum.pid

关闭服务:[root@xiao ~]#/etc/init.d/yum-updatesd stop


文章题目:运行yuminstallphp-y出现无法安装的问题
当前地址:http://6mz.cn/article/gggopc.html

其他资讯