EM 13c AOM: emsctl set_ems_repos_conn Command Fails with Error executing set_ems_repos_conn: Unexpected input argument (Doc ID 2298192.1)

Last updated on SEPTEMBER 20, 2017

Applies to:

Enterprise Manager Base Platform - Version 13.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

$ emsctl set_ems_repos_conn -username=EMS -password=passwordremoved connect_string="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dbserv)))"

Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 2015, 2016, Oracle Corporation. All rights reserved.
------------------------------------------------------------------
Error executing set_ems_repos_conn: Unexpected input argument, connect_string=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dbserv)))

$AOM_HOME/logs/emsctl.err file reports the following error:

[SEVERE]:17-08-2017 11:36:38: Thread[main,5,main]:Thread[main,5,main]:Error executing set_ems_repos_conn
java.lang.RuntimeException: Unexpected input argument, connect_string=hostname:1521/dbserv

 

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