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

Last updated on SEPTEMBER 01, 2016

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.
***Checked for relevance on 18-Sep-2013***

Symptoms

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 10.2.0.4.0 - 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 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>



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).

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