In this Document
Symptoms |
Cause |
Solution |
References |
APPLIES TO:
Oracle Universal Installer - Version 10.2.0.1 and laterInformation in this document applies to any platform.
SYMPTOMS
When applying CPUAPR2011 patch 11725015, opatch is attempting to rollback the following patches:
-----------------------------------------------------------------------------------
Patches [ 10249540 8836681 8568405 ] will be rolled back
-----------------------------------------------------------------------------------
During rollback operation opatch fails this way:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Patch 8836681:
Archive Action: Source file "/u01/oracle/product/10.2.0/.patch_storage/8836681_Sep_1_2009_10_39_07/files/lib/libserver10.a/kkxs.o" does not exists.
'oracle.rdbms, 10.2.0.4.0': Cannot update file '/u01/oracle/product/10.2.0/lib/libserver10.a' with '/kkxs.o'
Archive Action: Source file "/u01/oracle/product/10.2.0/.patch_storage/8836681_Sep_1_2009_10_39_07/files/lib/libserver10.a/kza.o" does not exists.
'oracle.rdbms, 10.2.0.4.0': Cannot update file '/u01/oracle/product/10.2.0/lib/libserver10.a' with '/kza.o'
Archive Action: Source file "/u01/oracle/product/10.2.0/.patch_storage/8836681_Sep_1_2009_10_39_07/files/lib/libserver10.a/kzvdve.o" does not exists.
'oracle.rdbms, 10.2.0.4.0': Cannot update file '/u01/oracle/product/10.2.0/lib/libserver10.a' with '/kzvdve.o'
Patch 8568405:
Archive Action: Source file "/u01/oracle/product/10.2.0/.patch_storage/8568405_Jun_8_2009_20_04_47/files/lib/libserver10.a/kpolon.o" does not exists.
'oracle.rdbms, 10.2.0.4.0': Cannot update file '/u01/oracle/product/10.2.0/lib/libserver10.a' with '/kpolon.o'
UtilSession failed: Prerequisite check "CheckRollbackable" on auto-rollback patches failed.
......................................................
OPatch failed with error code 73
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
CAUSE
$ORACLE_HOME/.patch_storage is corrupted and does not contain the needed files for the rollback.
It is highlighted this way:
on UNIX :
cd $ORACLE_HOME
find ./.patch_storage > /tmp/find.log
(on windows the method is to open a cmd box and do:
set ORACLE_HOME=.....
cd %ORACLE_HOME%\.patch_storage
dir /s * > c:\find.log)
The content of find.log shows that the files reported by opatch are no longer under the .patch_storage directory.
Possibilities to explain these missing files:
- Space is exhausted in the filesystem (df -k will show this). In such case the first thing to do is to recover some space.
"opatch util cleanup" can be used to accomplish this.
Note 550522.1: How To Avoid Disk Full Issues Because OPatch Backups Take Big Amount Of Disk Space
- Manual clean up in .patch_storage: this is not supported
Note 403218.1: Can You Delete $ORACLE_HOME/.patch_storage Directory ?
The hidden directory .patch_storage must never be touched manually unless technical support advises to do so.
SOLUTION
These are the only supported solutions :
- Restore complete .patch_storage directory from backed up ORACLE_HOME prior to the files missing .
- Reinstall ORACLE_HOME .
- Clone the ORACLE_HOME from a identical environment .
REFERENCES
NOTE:403218.1 - Can You Delete $ORACLE_HOME/.patch_storage Directory ?NOTE:550522.1 - How To Avoid Disk Full Issues Because OPatch Backups Take Big Amount Of Disk Space.