datapatch.sql fails with ORA-28374 if environment variable (ex: $ORACLE_UNQNAME) is not set with SRVCTL

(Doc ID 2332172.1)

Last updated on DECEMBER 24, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Advanced Networking Option - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

On RAC databases, datapatch.sql fails with:

ORA-28374: typed master key not found in wallet

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