My Oracle Support Banner

Can Not Change dbsnmp Password Using Emcli Update_db_password : error ORA-00922: missing or invalid option (Doc ID 1525898.1)

Last updated on JANUARY 18, 2023

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=<FULL_TARGET_NAME> -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 :<FULL_TARGET_NAME> to change password
for user: dbsnmp
ORA-00922: missing or invalid option

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.