My Oracle Support Banner

Emcli update_db_password Issues encountered when changing dbsnmp Password (Doc ID 1446349.1)

Last updated on FEBRUARY 21, 2020

Applies to:

Enterprise Manager Base Platform - Version to [Release 11.1]
Information in this document applies to any platform.


When changing the dbsnmp password via emcli (for a database which is monitored by Grid Control), an error may be returned indicating that the password is incorrect, even though the password has been verified at sql*plus.  For example:-

1. Verify the dbsnmp username/password using SQL Plus:

$ sqlplus dbsnmp/password1@orcl

SQL*Plus: Release - Production on Mon Apr 2 17:06:34 2012

Copyright (c) 1982, 2010, Oracle. All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options


2.  However, when running the emcli command:

emcli update_db_password -target_name=orcl -user_name=dbsnmp -change_at_target=yes -old_password=password1 -new_password=password2 -retype_new_password=password2

Error : Wrong old password entered for User or Key value "dbsnmp"

3. This may also fail when using special characters in the password (i.e. Pa$$word1).




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.