My Oracle Support Banner

EM 13c: OMSPatcher Post-patch Script Fails with Error: ORA-20110: New invalid objects, patch application is not complete (Doc ID 2525973.1)

Last updated on SEPTEMBER 02, 2021

Applies to:

Enterprise Manager Base Platform - Version 13.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Two node Enterprise Manager 13.2 Cloud Control OMS, applying the following patch :

28970534 - EMBP Patch Set Update 13.2.0.0.190115

As per the README the patch binaries are applied successfully but running the scripts , on the OMS 1 Primary Node results in an invalid package in the repository:

 From Command Prompt output:

OMS_HOST1:/<OMS MIDDLEWARE HOME>/.omspatcher_storage/oms_session/scripts_<TIMESTAMP>-01>./run_script#2_on_host_<OMS_HOST1>_as_user_zgrid.sh

Creating master log file /<OMS MIDDLEWARE HOME>/.omspatcher_storage/oms_session/oms_session_<TIMESTAMP>

Verifying embedded script host-address "OMS_HOST1" against the network interface for a match...

Trying for a match with: <IP ADDRESS>

Trying for a match with: <IP ADDRESS>

Trying for a match with: <IP ADDRESS>

Trying for a match with: OMS_HOST1<IP ADDRESS>

Trying for a match with: OMS_HOST1<IP ADDRESS>

Trying for a match with: OMS_HOST1<IP ADDRESS>

Trying for a match with: OMS_HOST1<IP ADDRESS>

Trying for a match with: OMS_HOST1(<IP ADDRESS>)

Script-host address matched with host network interface.

Creating session file /<OMS MIDDLEWARE HOME>/.omspatcher_storage/oms_session/oms_session_<TIMESTAMP>...

Please provide credential for OMS repository SYSMAN user:

Command to execute (Step 2): /<OMS MIDDLEWARE HOME>/OMSPatcher/omspatcher checkApplicable -ph /PATCH HOME LOCATION/28970534 -oh /<OMS MIDDLEWARE HOME>/ -invPtrLoc /<OMS MIDDLEWARE HOME>/oraInst.loc

OMSPatcher Automation Tool

Copyright (c) 2017, Oracle Corporation. All rights reserved.

OMSPatcher version : 13.8.0.0.2

OUI version : 13.9.1.0.0

Running from : /<OMS MIDDLEWARE HOME>/

Log file location : /<OMS MIDDLEWARE HOME>/cfgtoollogs/omspatcher/opatch<TIMESTAM>.log

OMSPatcher log file: /<OMS MIDDLEWARE HOME>/cfgtoollogs/omspatcher/28970534/omspatcher_<TIMESTAMP>_analyze.log

Running apply prerequisite checks for sub-patch(es) "28970534" and Oracle Home "/<OMS MIDDLEWARE HOME>/"...

Sub-patch(es) "28970534" are successfully analyzed for Oracle Home "/<OMS MIDDLEWARE HOME>/"

Complete Summary

================

All log file names referenced below can be accessed from the directory "/<OMS MIDDLEWARE HOME>/cfgtoollogs/omspatcher/<TIMESTAMP>_SystemPatch_28970534_1"

Prerequisites analysis summary:

-------------------------------

Percent Complete: 58

 

 

 FROM em_patch_apply_original_patch_<TIMESTAMP>_dbmsOutput.log:

 #####################################################

<TIMESTAMP> Begin: PreReq Checks....

#####################################################

<TIMESTAMP> Begin: Validate User pre_req check

<TIMESTAMP> End: Validate User pre_req check

<TIMESTAMP> Begin: Validate Repository Version pre_req check

<TIMESTAMP> Repository version: 13.2.0.0.0

<TIMESTAMP>End: Validate Repository Version pre_req check

<TIMESTAMP> Begin: Disable EM Jobs

<TIMESTAMP> End: Disable EM Jobs

<TIMESTAMP> Begin: Wait for running job completion

<TIMESTAMP> End: Wait for running job completion

#####################################################

<TIMESTAMP> End: PreReq Checks

#####################################################

NUM ROWS:0

##############################################

<TIMESTAMP> Begin: Post Validate Checks

##############################################

<TIMESTAMP>Begin: Check for invalid objects

<TIMESTAMP> Patch has introduced following new invalid objects. New invalid object count = 1

EMD_RAC PACKAGE BODY NULL

<TIMESTAMP> Exception occurred : ORA-20110: New invalid objects, patch application is not complete, please contact Oracle Support

<TIMESTAMP> Begin: Enable EM Jobs

<TIMESTAMP> End: Enable EM Jobs

##############################################

<TIMESTAMP> End: Post Validate Checks

##############################################

#####################################################

<TIMESTAMP> Begin: PostPatch Actions....

#####################################################

<TIMESTAMP> Begin: Enable EM Jobs

<TIMESTAMP> End: Enable EM Jobs

#####################################################

<TIMESTAMP> End: PostPatch Actions

#####################################################

 

From a query on the repository database:

SQL> select owner, object_name, object_type, status from dba_objects where status='INVALID'

SYSMAN EMD_RAC PACKAGE BODY INVALID

 

Note :

Repository database is on Two Node RAC.

 

Cause

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
Symptoms
Cause
Solution
References


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