opatch apply/auto on grid home fails with "OUI-67073:UtilSession failed: null" (Doc ID 2223854.1)

Last updated on JANUARY 30, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

Opatch apply/napply fails:

[grid@npsdbXXXX ~]/u01/app/11.2.0.4/grid/OPatch/opatch apply -oh /u01/app/11.2.0.4/grid -local /u01/app/oracle/software/22191577/21948347

Oracle Interim Patch Installer version 11.2.0.3.15
Copyright (c) 2017, Oracle Corporation. All rights reserved.

Oracle Home : /u01/app/11.2.0.4/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/11.2.0.4/grid/oraInst.loc
OPatch version : 11.2.0.3.15 <<< Using the latest OPatch
OUI version : 11.2.0.4.0
Log file location : /u01/app/11.2.0.4/grid/cfgtoollogs/opatch/opatch2017-01-17_04-38-27AM_1.log

....

Backing up files...
UtilSession failed: null <<< !!! HERE
Log file location: /u01/app/11.2.0.4/grid/cfgtoollogs/opatch/opatch2017-01-17_04-38-27AM_1.log

OPatch failed with error code 73

From opatch log

....
[Jan 17, 2017 4:38:42 AM] User Responded with: Y
[Jan 17, 2017 4:38:42 AM] Backing up files...
[Jan 17, 2017 4:38:42 AM] OUI-67117:Backing up files affected by the patch 'NApply' for restore. This might take a while...
[Jan 17, 2017 4:38:42 AM] OUI-67073:UtilSession failed: null <<< !! HERE
[Jan 17, 2017 4:38:42 AM] Finishing UtilSession at Tue Jan 17 04:38:42 UTC 2017
[Jan 17, 2017 4:38:42 AM] Log file location: /u01/app/11.2.0.4/grid/cfgtoollogs/opatch/opatch2017-01-17_04-38-27AM_1.log
[Jan 17, 2017 4:38:42 AM] Stack Description: java.lang.RuntimeException: null
[Jan 17, 2017 4:38:42 AM] StackTrace: oracle.opatch.SystemCall.fastCopy(SystemCall.java:296)
[Jan 17, 2017 4:38:42 AM] StackTrace: oracle.opatch.SystemCall.backupFile(SystemCall.java:1253)
....

More details with opatch tracing turned on:

[grid@npsdbXXXX ~] export OPATCH_DEBUG=true
[grid@npsdbXXXX ~]/u01/app/11.2.0.4/grid/OPatch/opatch apply -oh /u01/app/11.2.0.4/grid -local /u01/app/oracle/software/22191577/21948347
...
CopyAction::backupForRestore()
CopyAction::backupForRestore(): source file "/u01/app/11.2.0.4/grid/rdbms/admin/bug19289642.sql" not exist, do not back up /u01/app/11.2.0.4/grid/rdbms/lib/kkxwtp.o
CopyAction::restorable()
Action details: src = "/u01/app/11.2.0.4/grid/rdbms/lib/kkxwtp.o", dst = "/u01/app/11.2.0.4/grid/.patch_storage/NApply/2017-01-17_07-14-26AM/backup/rdbms/lib/kkxwtp.o"
CopyAction::backupForRestore()
CopyAction::backupForRestore(): back up "/u01/app/11.2.0.4/grid/rdbms/lib/kkxwtp.o" to "/u01/app/11.2.0.4/grid/.patch_storage/NApply/2017-01-17_07-14-26AM/backup/rdbms/lib/kkxwtp.o"
SystemCall::backupFile()
SystemCall::backupFile(): back up file /u01/app/11.2.0.4/grid/suptools/orachk/release/orachk.zip to /u01/app/11.2.0.4/grid/.patch_storage/NApply/2017-01-17_07-14-26AM/backup/suptools/orachk/release/orachk.zip <<< !!! HERE
SystemCall::backupFile() failed, null <<< !!! HERE
UtilSession failed: null
OUISessionManager::endSavedSession()
OUISessionManager::endSavedSession() end saved session
OUISessionManager::endSavedSession()
==> OUIInventorySession::endSession(): Process ID: 30358. Thread ID: 1
Log file location: /u01/app/11.2.0.4/grid/cfgtoollogs/opatch/opatch2017-01-17_07-14-26AM_1.log

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms