EM13c: Fleet Maintenance - Step Stop/Start Database Fails When Starting Standby With Error: "PRCD-1120 : The resource for database could not be found"
(Doc ID 2648837.1)
Last updated on AUGUST 19, 2022
Applies to:
Enterprise Manager for Oracle Database - Version 13.3.2.0.0 and laterInformation in this document applies to any platform.
Symptoms
In Oracle Enterprise Manager(OEM) Cloud Control, when applying patch on Standby DB using Fleet Maintenance it fails at step Stop/Start database with below error.
$ emcli db_software_maintenance -performOperation -name="UPDATE_DB_START_STANDBY" -purpose=UPDATE_DB -target_type=oracle_database -target_list=<target_name> -dataguard_role=standby
-normal_credential=<NAMEDCREDENTIALS>:SYSMAN -privilege_credential=<PRIV-NC>:SYSMAN
-database_credential=<DB-CREDENTIALS>:SYSMAN -startupAfterSwitch=true -skipSwitchDatabase=true
-input_file="data:/u01/for_fleet/start_standby_db.txt" -procedure_name_prefix=Start_Standby_DB
Step: Execute Command (Failed)
Final command line to execute is $PERL_HOME/perl "/tmp/JOB_96F1324994E15621E05385881AACCA12/srvctlCommands.pl" -oracleHome="/opt/oracle/product/12.1.0.2/db_2" -dbSID="<DB_NAME>" -newOracleHome="/oragrid/product/12.1.0.2/gi_1" -operation="runStartStopDB" -isRacOne="${IS_RAC_ONE}" -startDB="${START_DB}" -physicalStdySids="<DB_NAME>" -startManagedRecovery="${START_RECOVERY}" -stopManagedRecovery="${STOP_RECOVERY}" -standbyStartOption="${STANDBY_START_OPTION}" -isCDB="${IS_CDB}" -workDir="/u02/tmp/26031877339468613/1573334327159"
The output of the directive is: [INFO] -
Setting Oracle Home /opt/oracle/product/12.1.0.2/db_2
Command to stop database : /opt/oracle/product/12.1.0.2/db_2/bin/srvctl stop database -d <db_name>
Result:PRCD-1120 : The resource for database <db_name> could not be found.
PRCR-1001 : Resource ora.<db-name>.db does not exist
-normal_credential=<NAMEDCREDENTIALS>:SYSMAN -privilege_credential=<PRIV-NC>:SYSMAN
-database_credential=<DB-CREDENTIALS>:SYSMAN -startupAfterSwitch=true -skipSwitchDatabase=true
-input_file="data:/u01/for_fleet/start_standby_db.txt" -procedure_name_prefix=Start_Standby_DB
Step: Execute Command (Failed)
Final command line to execute is $PERL_HOME/perl "/tmp/JOB_96F1324994E15621E05385881AACCA12/srvctlCommands.pl" -oracleHome="/opt/oracle/product/12.1.0.2/db_2" -dbSID="<DB_NAME>" -newOracleHome="/oragrid/product/12.1.0.2/gi_1" -operation="runStartStopDB" -isRacOne="${IS_RAC_ONE}" -startDB="${START_DB}" -physicalStdySids="<DB_NAME>" -startManagedRecovery="${START_RECOVERY}" -stopManagedRecovery="${STOP_RECOVERY}" -standbyStartOption="${STANDBY_START_OPTION}" -isCDB="${IS_CDB}" -workDir="/u02/tmp/26031877339468613/1573334327159"
The output of the directive is: [INFO] -
Setting Oracle Home /opt/oracle/product/12.1.0.2/db_2
Command to stop database : /opt/oracle/product/12.1.0.2/db_2/bin/srvctl stop database -d <db_name>
Result:PRCD-1120 : The resource for database <db_name> could not be found.
PRCR-1001 : Resource ora.<db-name>.db does not exist
Changes
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 |
Changes |
Cause |
Solution |
References |