EM12c: Dbsnmp Password Change For RAC Db using emcli gives "ORA-20206: Target does not exist" message (Doc ID 2085307.1)

Last updated on DECEMBER 03, 2015

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.4.0 to 12.1.0.8.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

12.1.0.4.4 OMS with 12.1.0.7.7 DB Plugin

Trying to change the dbsnmp password using following command is failing:

emcli update_db_password -target_name=racdb -target_type=rac_database -user_name=dbsnmp -change_at_target=yes -old_password=xxxxxx -new_password=yyyyyyy -retype_new_password=yyyyyyy

Error:

Action 1:Changed the password of user dbsnmp at the target racdb.
Action 2: Updated the password in the named credential DBSNMP_STANDARD reffering to the username dbsnmp.
Error updating the password in monitoring credential : ORA-20206: Target does not exist: racdb:oracle_database
ORA-06512: at "SYSMAN.MGMT_TARGET", line 1228
ORA-06512: at "SYSMAN.EM_CREDENTIAL", line 786
ORA-06512: at line 1

 

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