SYSMAN Password Change Fails with ORA-01422: exact fetch returns more than requested number of rows

(Doc ID 1964813.1)

Last updated on FEBRUARY 09, 2017

Applies to:

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

Symptoms

Executing the command to change the SYSMAN password failed with below errors:

$<OMS_HOME>/bin>./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd <syspwd> -new_pwd <newsysmanpwd>

Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
Changing passwords in backend ... Passwords changed in backend successfully.
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYSMAN.MGMT_ADMIN_DATA", line 5188 ORA-06512: at line 1 Error occurred.
Check the log /ora01/app/oracle/product/middleware/gc_inst/em/EMGC_OMS1/sysman/log/secure.log

secure.log has the below errors:

java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYSMAN.MGMT_ADMIN_DATA", line 5188
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