Datapatch failed with error "ORA-04021: timeout occurred while waiting to lock object" in a RAC environment (Doc ID 2213685.1)

Last updated on JANUARY 29, 2017

Applies to:

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

Symptoms

From the post patch apply log.
-----------------------------

SQL> GRANT SELECT ON sys.v_$instance TO dv_secanalyst
2 /

Grant succeeded.

SQL>
SQL> GRANT SELECT ON sys.gv_$instance TO dv_secanalyst
2 /
GRANT SELECT ON sys.gv_$instance TO dv_secanalyst
*
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object
SQL>
SQL> GRANT SELECT ON sys.v_$session TO dv_secanalyst
2 /

Grant succeeded.

 

 

Changes

 

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