本站即将迁移,迁移前对新服务器使用一些,常用的脚本!

出错

  • 新服务器测试脚本 常用测试脚本
  • 使用了以上命令
  • 重装系统后安装宝塔面板出错
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  55 M RSS (534 MB VSZ)
    Started: Mon Jul 20 17:15:20 2020 - 01:43 ago
    State  : Traced/Stopped, pid: 414
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  55 M RSS (534 MB VSZ)
    Started: Mon Jul 20 17:15:20 2020 - 01:45 ago
    State  : Traced/Stopped, pid: 414
Another app is currently holding the yum lock; waiting for it to exit...

解决

使用这个命令 yum install安装时...

ps aux|grep yum

root 414 1.8 5.7 547044 55840 pts/1 T 17:15 0:03 /usr/bin/python /usr/bin/yum install jenkins-2.138.4-1.1.noarch.rpm -y
root 517 0.2 2.2 349248 22116 pts/1 T 17:16 0:00 /usr/bin/python /usr/bin/yum install jenkins-2.204.1-1.1.noarch.rpm -y

kill -9 414(此处自行修改)