重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1453|回复: 0
打印 上一主题 下一主题

[Oracle] yum在锁定状态,Existing lock /var/run/yum.pid: another copy...

[复制链接]
跳转到指定楼层
楼主
发表于 2021-11-29 17:54:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
执行yum makecache的时候出现以下异常
[root@bigdata yum.repos.d]# yum makecache
Loaded plugins: langpacks, ulninfo
Existing lock /var/run/yum.pid: another copy is running as pid 3519.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 300 M RSS (723 MB VSZ)
    Started: Mon Nov 29 17:39:44 2021 - 03:45 ago
    State  : Sleeping, pid: 3519
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 300 M RSS (723 MB VSZ)
    Started: Mon Nov 29 17:39:44 2021 - 03:47 ago
    State  : Sleeping, pid: 3519
异常原因:yum在锁定状态中,已有一个yum进程在运行
解决方案:强制停掉yum,如下所示
[root@bigdata yum.repos.d]# rm -f /var/run/yum.pid
[root@bigdata yum.repos.d]# yum makecache
Loaded plugins: langpacks, ulninfo
oel7                                                     | 3.6 kB     00:00     
(1/4): oel7/group_gz                                       | 131 kB   00:00     
(2/4): oel7/filelists_db                                   | 3.9 MB   00:00     
(3/4): oel7/primary_db                                     | 5.2 MB   00:00     
(4/4): oel7/other_db                                       | 1.6 MB   00:00     
Metadata Cache Created

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-29 06:33 , Processed in 0.077290 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表