Cannot upgrade because yum is locked (/var/run/yum.pid has existed for 10+ minutes).
-
Can you share the output of the below command: # ps auxf | grep yum0 -
As @kodeslogic was hinting at, this issue seems to be a problem with Yum itself and not the cPanel tools. I would expect a "yum update" would show a similar error, but checking the running processes like @kodeslogic mentioned could let you help see what is running on the machine. 0 -
Can you share the output of the below command:
# ps auxf | grep yum
After checking the following code appears:root 13978 0.0 0.0 112808 972 pts/0 S+ 12:51 0:00 | \_ grep --color=auto yum root 22160 0.0 0.0 224072 13480 ? SN Aug21 0:00 | \_ /opt/alt/python38/bin/python3 /opt/alt/python38/share/imunify360/scripts/report-command-error /usr/bin/yum update imunify-antivirus ai-bolit imunify-notifier --assumeyes root 22188 0.0 0.3 4551952 61704 ? SN Aug21 0:01 | \_ /usr/bin/python /usr/bin/yum update imunify-antivirus ai-bolit imunify-notifier --assumeyes0 -
As @kodeslogic was hinting at, this issue seems to be a problem with Yum itself and not the cPanel tools. I would expect a "yum update" would show a similar error, but checking the running processes like @kodeslogic mentioned could let you help see what is running on the machine.
Thanks you very much, I have entered the code requested by @ cPRex0 -
Nothing in that output seems odd to me. If you try running a 'yum update' now, do things work well? It's possible the issue resolved itself after an older Yum process timed out. 0 -
Nothing in that output seems odd to me. If you try running a 'yum update' now, do things work well? It's possible the issue resolved itself after an older Yum process timed out.
Yes, maybe.. The code above appears after I remove Immunify. Now, i have update "Yum Update" And now successfully update Yum. [QUOTE] Total 10 MB/s | 50 MB 00:00:04 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : kmod-libs-20-28.el7.x86_64 1/3 Installing : kernel-3.10.0-1160.59.1.el7.x86_64 2/3 Cleanup : kmod-libs-20-21.el7.x86_64 3/3 Verifying : kernel-3.10.0-1160.59.1.el7.x86_64 1/3 Verifying : kmod-libs-20-28.el7.x86_64 2/3 Verifying : kmod-libs-20-21.el7.x86_64 3/3 Installed: kernel.x86_64 0:3.10.0-1160.59.1.el7 Updated: kmod-libs.x86_64 0:20-28.el7 Complete!
Thanks a lot bro @cPRex0
Please sign in to leave a comment.
Comments
6 comments