Can Not Change dbsnmp Password Using Emcli Update_db_password : error ORA-00922: missing or invalid option

(Doc ID 1525898.1)

Last updated on SEPTEMBER 26, 2017

Applies to:

Enterprise Manager for Oracle Database - Version 11.1.0.6.0 to 11.1.0.7.0 [Release 11.1]
Information in this document applies to any platform.

Symptoms

Unable to change dbsnmp password for database targets configuration with emcli. The job fails.

example:

emcli update_db_password -target_name=emrep.fr.oracle.com -change_at_target=yes -user_name=dbsnmp -old_password=oracle12 -new_password=x1x2.x3x4 -retype_new_password=x1x2.x3x4
Job fails Could not connect to target database :emrep.fr.oracle.com to change password
for user: dbsnmp
ORA-00922: missing or invalid option

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