My Oracle Support Banner

opatch fails with Error: 'Archive Action: Source file "$ORACLE_HOME/.patch_storage/..." does not exist.' or 'Achive Action: Directory "$ORACLE_HOME/.patch_storage/..." does not exists or is not readable'. (Doc ID 1244414.1)

Last updated on JUNE 02, 2021

Applies to:

Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

opatch fails with error:

Superset Patches are Unable To Rollback Subset Patches. 

For example:

$ opatch apply
.
.
Applying interim patch '13923474' to OH '/users/oracle/product/11.1.0'
Verifying environment and performing prerequisite checks...
.
.
OPatch will roll back the subset patches and apply the given patch.
Prerequisite check "CheckRollbackable" on auto-rollback patches failed.
The details are:

Patch 8782971:
Archive Action: Source file "/users/oracle/product/11.1.0/.patch_storage/8782971_Aug_19_2009_21_05_01/files/lib/libserver11.a/knlb.o" does not exists.
'oracle.rdbms, 11.1.0.7.0': Cannot update file '/users/oracle/product/11.1.0/lib/libserver11.a' with '/knlb.o'
.
.
Recommended actions: Please roll back the conflict patches using 'opatch rollback' command.

OPatch failed with error code 70

Additional errors in log:
OUI-67074:ApplySession failed during prerequisite checks: Prerequisite check "CheckRollbackable" on auto-rollback patches failed.

OUI-67035:System is intact, OPatch will not restore the system

 

 or

 

opatch rollback fails:

$ORACLE_HOME/OPatch/opatch rollback -id 21530203
Oracle Interim Patch Installer version 11.2.0.3.15
Copyright (c) 2017, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/11.2.0
Central Inventory : /u01/app/oracle/oraInventory
from : /u01/app/oracle/11.2.0/oraInst.loc
OPatch version : 11.2.0.3.15
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/11.2.0/cfgtoollogs/opatch/opatch2017-12-02_02-58-47AM_1.log


Patches will be rolled back in the following order:
21530203
Prerequisite check "CheckRollbackable" failed.
Possible causes are:
No read or write permission to ORACLE_HOME/.patch _storage
The ORACLE_HOME/.patch_storage file may have been removed.
The details are:

Patch 21530203:
Achive Action: Directory "/u01/app/oracle/11.2.0/.patch_storage/21530203_Aug_2_2015_22_26_42" does not exists or is not readable.
'oracle.rdbms, 11.2.0.4.0': Cannot update file '/u01/app/oracle/11.2.0/lib/libserver11.a' with '/kdc.o'
Achive Action: Directory "/u01/app/oracle/11.2.0/.patch_storage/21530203_Aug_2_2015_22_26_42" does not exists or is not readable.
'oracle.rdbms, 11.2.0.4.0': Cannot update file '/u01/app/oracle/11.2.0/lib/libserver11.a' with '/kdt.o'
Achive Action: Directory
..
..
..

Achive Action: Directory "/u01/app/oracle/11.2.0/.patch_storage/21530203_Aug_2_2015_22_26_42" does not exists or is not readable.
'oracle.rdbms, 11.2.0.4.0': Cannot update file '/u01/app/oracle/11.2.0/lib/libserver11.a' with '/ktspsrch.o'

UtilSession failed: Prerequisite check "CheckRollbackable" failed.
Log file location: /u01/app/oracle/11.2.0/cfgtoollogs/opatch/opatch2017-12-02_02-58-47AM_1.log

OPatch failed with error code 73

 

 

Changes

The $ORACLE_HOME has been cloned, copied, moved or likewise placed.

or

The hard drive partition which contains the $ORACLE_HOME has recently been cleaned up, and unused files deleted, by a cron job for example.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.