JAVA技术交流QQ群:170933152

这个问题是由于,上午通过堡垒机,装着,然后到饭点了,去吃饭,

吃饭回来,链接超时,然后装着的东西就卡在那了...

出现了这个问题

使用yum安装计划任务功能,结果提示:

# yum -y install vixie-cron
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 25960.
Another app is currently holding the yum lock; waiting for it to exit...

可能是系统自动升级正在运行,yum在锁定状态中。 
已经有一个yum进程在运行了,使用kill干掉它:

# kill -s 9 25960
# ps aux|grep yum
root      6744  0.0  0.0 103260   900 pts/1    S+   14:59   0:00 grep yum
root     25960  0.0  0.0      0     0 ?        Z    Sep19   0:01 [yumBackend.py] <defunct>

很遗憾,kill对付不了它,那怎么办呢?

可以通过强制关掉yum进程:

#rm -f /var/run/yum.pid

Linux工作笔记026---Centos7.3 yum提示Another app is currently holding the yum lock; waiting for it to exit.相关推荐

  1. yum提示Another app is currently holding the yum lock; waiting for it to exit...处理办法

    yum提示Another app is currently holding the yum lock; waiting for it to exit- 使用yum安装计划任务功能,结果提示: yum ...

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

    使用yum安装计划任务功能,结果提示: # yum update Loaded plugins: fastestmirror, refresh-packagekit, security Existin ...

  3. yum提示Another app is currently holding the yum lock

    使用yum安装计划任务功能,结果提示: # yum -y install vixie-cron Loaded plugins: fastestmirror, refresh-packagekit, s ...

  4. 解决yum锁定Another app is currently holding the yum lock; waiting for it to exit...

    完整的报警如下: Another app is currently holding the yum lock; waiting for it to exit...The other applicati ...

  5. Linux工作笔记033---Linux(CentOS7)安装zip、unzip命令

    JAVA技术交流QQ群:170933152 yum install -y unzip zip

  6. yum安装软件提示Another app is currently holding the yum lock

    关闭yum进程 ps -ef|grep yum

  7. linux提示Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

    多年来,我一直在使用bash shell脚本来设置复杂的iptables规则.但是,Debian Stretch当我尝试使用脚本时,它变得缓慢并且使iptables处于不良状态. 当我尝试执行操作时, ...

  8. Another app is currently holding the yum lock解决方法

    用yum安装包有时候会提示 ``` Another app is currently holding the yum lock; waiting for it to exit...   The oth ...

  9. 【Linux】Another app is currently holding the yum lock; waiting for it to exit...

    有时用yum升级一些文件时,会出现以下情况: another app is currently holding the yum lock;waiting for it to exit... 通过强制关 ...

最新文章

  1. 赠书 | 读懂生成对抗神经网络 GAN,看这文就够了
  2. hibernate搭建
  3. [xmlpull]XmlPull常见错误
  4. [UOJ #167]【UR #11】元旦老人与汉诺塔
  5. 用了四年的联想Thinkpad P50,今天还给公司了,拍个照留念
  6. Excel抽奖小程序
  7. vs用c语言写贪吃蛇,熬书几个月,终于编出简易的贪吃蛇了,VS2013
  8. UI完美素材|(Watch展示篇)Mockups动态图提案模板
  9. java中rhino什么用_使用require.js和Java / Rhino解析模块
  10. 201621123083 《Java程序设计》第9周学习总结
  11. jquery和prototype冲突解决
  12. 光环PMP:超凡IT经理人的“六重修炼”专题讲座
  13. Python学习笔记之循环的实战练习
  14. excel换行快捷键_13个excel快捷键,学会他们,让你的1秒钟,抵得上同事的5分钟...
  15. iphone与计算机连接,苹果usb怎么与电脑连接_苹果怎么设置与电脑连接的图文步骤...
  16. 获取Map的key值的几种方式
  17. 利用Autolisp提取天正墙体位置坐标
  18. 《JavaScript DOM编程艺术》笔记1
  19. 【Oracle之AWR报告解析】
  20. unreal 渲染讲的比较好的材料

热门文章

  1. 牛客网-这是一个沙雕题
  2. linux系统下修改某个文件夹下所有的文件权限
  3. BZOJ 4538: [Hnoi2016]网络
  4. 如何让nodejs在linux后台运行
  5. HUD 2544 最短路 迪杰斯特拉算法
  6. 管理oracle 11g RAC 常用命令
  7. NodeJs+Qunit的使用方式
  8. 如何建立内核级钩子控制操作系统实现程序隐身
  9. [Usaco2016 Dec]Moocast
  10. Linux grep及正则表达式