My Oracle Support Banner

EM 13c: Fleet Custom Pre/Post Script Does Not Work If SID And Target Name Are Different in EM Console (Doc ID 2914954.1)

Last updated on DECEMBER 13, 2022

Applies to:

Enterprise Manager for Oracle Database - Version 13.5.1.0.0 and later
Information in this document applies to any platform.

Symptoms

In Enterprise Manager (EM) Cloud Control,Fleet custom pre/post script does not work if SID and target name are different in EM console and fails with below error.

The output of the directive is:
File Name is /tmp/263081809078889/scriptInputFile.txt
Oracle Home is: /u01/app/oracle/product/11.2.0.4/DB and Oracle SID is: <sid_name>
SQL Command is srvctl modify database -d <DB_NAME>
/u01/app/oracle/product/11.2.0.4/DB_JUL21PSU
Executig..
PRCD-1120 : The resource for database <DB_NAME> could not be found.
PRCR-1001 : Resource ora.<DB_NAME>.db does not exist
Error occured while executing

*******************End of Script********************

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.