×![]()
×
×![]()
×
×
Red Hat YUM Already Running
Problem
You receive an error message, Patch scan/deployment operation failed because the YUM/DNF package manager is currently in use by the process {process_name} with process ID {process_id}, while installing the patches or scanning the systems on your network computers using Patch Manager Plus.
Cause
The following are the possible reasons:
- The
yumbackend.pyprocess, i.e., the automatic updates for RedHat, could be running. - The user might have initiated a software installation at his end.
- The user could have run commands based on yum.
- A patch scan or deployment via Patch Manager Plus could already be using yum.
Resolution
The following steps will help in resolution:
- Check the
{process_name}and{process_id}mentioned in the error message. - Verify if the process is currently running:
- Use the following command:
ps -p <process_id> - If it is running:
- Wait for the process to finish, or terminate it with caution (as this may impact its parent process).
- To forcefully terminate the process (only if absolutely necessary), use:
kill -9 <process_id>
- Use the following command:
- Verify there are no active processes holding the yum tool:
- Use the command below to check if any instance of yum is currently running:
ps aux | grep yum
- Use the command below to check if any instance of yum is currently running:
- Check if the `/var/run/yum.pid` file exists and contains process details. If it does, it likely indicates an active `yum` operation. In that case, wait for it to finish or safely terminate the process if needed.
- In the case of automatic updates, follow steps to disable Auto updates.
Further Assistance
Kindly contact patchmanagerplus-support@manageengine.com team if the issue still persists.