My Oracle Support Banner

DB Upgrade Fails With ORA-04021 Error (Doc ID 1105014.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.1.0 and later
Information in this document applies to any platform.

Goal

After a DB upgrade, the instructions ask for running the run_patch.sql. In some cases, this fails and an error similar to this one is received:

CREATE OR REPLACE PACKAGE Vpd AS
*
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object

Solution

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
Goal
Solution


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