设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย french

搜索
热搜: 活动 交友 discuz

这个是嘛意思 .那个哥们给说说怎么办? [复制链接]
查看:98 | 回复:10

9

主题

14

回帖

63

积分

注册会员

积分
63
发表于 2011-10-18 09:00:38 | 显示全部楼层 |阅读模式
Existing lock /var/run/yum.pid: another copy is running as pid 1550.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  39 M RSS (201 MB VSZ)
    Started: Mon Oct 17 20:54:09 2011 - 05:49 ago
    State  : Sleeping, pid: 1550
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  39 M RSS (201 MB VSZ)
    Started: Mon Oct 17 20:54:09 2011 - 05:51 ago
    State  : Sleeping, pid: 1550
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  39 M RSS (201 MB VSZ)
    Started: Mon Oct 17 20:54:09 2011 - 05:53 ago
    State  : Sleeping, pid: 1550

414

主题

7199

回帖

1万

积分

论坛元老

积分
15732
发表于 2011-10-18 09:01:38 | 显示全部楼层
yum被锁住了吧

另外有yum在运行?

18

主题

2536

回帖

5208

积分

论坛元老

积分
5208
发表于 2011-10-18 09:04:02 | 显示全部楼层
意思不说是一个进程id为1550的占用了copy。看看pid为1550的是啥么进程。关了或者重启一下该进程呗。

9

主题

14

回帖

63

积分

注册会员

积分
63
 楼主| 发表于 2011-10-18 09:04:49 | 显示全部楼层
噢 .谢谢各位 .

9

主题

14

回帖

63

积分

注册会员

积分
63
 楼主| 发表于 2011-10-18 21:59:48 | 显示全部楼层
运行yum,系统提示Existing lock /var/run/yum.pid: another copy is running as pid 3046

问题描述:登录系统后,执行yum install vsftpd,提示Existing lock /var/run/yum.pid: another copy is running as pid 5048.有时等5~10分钟yum可以正常使用。

问题分析:主要原因就是yum在自动更新,所以再运行yum就会报这个错。

问题解决:只要关掉正在执行的yum更新就可以了就可以了,停止正在运行的yum进程,或者禁用开机自动启动yum进程。

操作步骤:

停止yum进程

[root@localhost ~]# rm -f /var/run/yum.pid

为什么会有一个yum进程在执行呢?

原来是yum自动更新机制自动激活了yum进程,用下面的命令停止自动更新:

[root@localhost ~]# /etc/init.d/yum-updatesd stop

停止 yum-updatesd: [确定]

如果我们不需要自动更新服务,可以直接删除它。
#yum remove yum-updatesd
不过删除该服务之后,以后的更新要用下面的命令手工来完成了。

#yum update

原文:http://www.lutuzhi.com/howto/112.html

1562

主题

7592

回帖

1万

积分

论坛元老

积分
19968
发表于 2011-10-18 22:12:49 | 显示全部楼层
/etc/init.d/yum-updatesd stop

0

主题

73

回帖

152

积分

注册会员

积分
152
发表于 2011-10-20 08:42:09 | 显示全部楼层
原帖由 tobeychan 于 2011-10-18 22:12 发表


/etc/init.d/yum-updatesd stop


我收藏下这个命令

0

主题

73

回帖

152

积分

注册会员

积分
152
发表于 2011-10-20 08:42:09 | 显示全部楼层
原帖由 tobeychan 于 2011-10-18 22:12 发表


/etc/init.d/yum-updatesd stop


我收藏下这个命令

5

主题

56

回帖

141

积分

注册会员

积分
141
发表于 2011-10-20 08:50:03 | 显示全部楼层
技术贴留名。这就是技术贴啦

332

主题

2337

回帖

5760

积分

论坛元老

积分
5760
发表于 2011-10-20 09:15:41 | 显示全部楼层
收藏先
您需要登录后才可以回帖 登录 | 立即注册

论坛客服/商务合作/投诉举报:2171544 (QQ)
落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
© 2001-2014

浙公网安备 33060302000191号

浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

  落伍法律顾问: ITlaw-庄毅雄

Archiver|手机版|Discuz! X

GMT+8, 2026-6-14 09:50 , Processed in 0.022095 second(s), 4 queries , Gzip On, Redis On.

返回顶部