Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing patch Status stuck at "deactivating" 1

Status
Not open for further replies.

Craft01

Technical User
Aug 25, 2013
51
TN
Dear all, any idea at bellow issu?

On Midsize Enterprise 6.2, not sure what happened during uninstall patch 02.0.823.0-20199 but status is at "deactivating"

with error msg: 02.0.823.0-20199 is not in the correct state (state = deactivating)

Now any patch install faile with error:

Error Detail: ErrorCode="104", ErrorMsg="The patch cannot be installed.", Standard Output="", Standard Error="Patch install failed (255), unpacking file /tmp/02.0.823.0-21049.tar.gz completed successfully. /tmp/02.0.823.0-21049.tar.gz unpacked successfully. memory_only: no overwrite_updates: no update_kind: CM update_type: cold license_required: yes publication_date: 15 August 2013 update_id: 21049 release: 02.0.823.0 reason: patch 21049 for 02.0.823.0 Cannot activate 02.0.823.0-21049,another update is activating or deactivating. check_need2deact failed, rc = -1.. ".
 
Generally that means corruption and you will need a server rebuild. CM 6.2 is no longer supported as well.
 
I've had this happen on one of my CM 6 systems before and it did not require a rebuild. Avaya logged in and cleared the issue; I think there may have been a text file with the status in it that was edited.
Since version 6 is no longer supported, you will probably need to reinstall unless you can live with it in this state and don't experience any issues.
 
You will need root to perform this action. Edit the following file:
vi /opt/updates/update-info

Change the patch that is stuck in deactivating to a status of unpacked and write the file. This is the format of the file:
update-<release>-<update ID>:<status>:<update-dir>

EXAMPLE:
KERNEL-3.10.0-1127.el7:pending_deactivate:/opt/updates/KERNEL-3.10.0-1127.el7

Change to:
KERNEL-3.10.0-1127.el7:unpacked:/opt/updates/KERNEL-3.10.0-1127.el7


We're all ignorant, just in different subjects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top