My Oracle Support Banner

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

Last updated on SEPTEMBER 20, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - 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.


Opatch apply/napply fails:

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

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

Oracle Home : /u01/app/
Central Inventory : /u01/app/oraInventory
from : /u01/app/
OPatch version : <<< Using the latest OPatch
OUI version :
Log file location : /u01/app/


Backing up files...
UtilSession failed: null <<< !!! HERE
Log file location: /u01/app/

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/
[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(
[Jan 17, 2017 4:38:42 AM] StackTrace: oracle.opatch.SystemCall.backupFile(

More details with opatch tracing turned on:

[grid@npsdbXXXX ~] export OPATCH_DEBUG=true
[grid@npsdbXXXX ~]/u01/app/ apply -oh /u01/app/ -local /u01/app/oracle/software/22191577/21948347
CopyAction::backupForRestore(): source file "/u01/app/" not exist, do not back up /u01/app/
Action details: src = "/u01/app/", dst = "/u01/app/"
CopyAction::backupForRestore(): back up "/u01/app/" to "/u01/app/"
SystemCall::backupFile(): back up file /u01/app/ to /u01/app/ <<< !!! HERE
SystemCall::backupFile() failed, null <<< !!! HERE
UtilSession failed: null
OUISessionManager::endSavedSession() end saved session
==> OUIInventorySession::endSession(): Process ID: 30358. Thread ID: 1
Log file location: /u01/app/



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

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