EM 12c: Enterprise Manager 12c Cloud Control OMS Securing fails with Invalid Input Errors (Doc ID 1953497.1)

Last updated on DECEMBER 15, 2014

Applies to:

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

Symptoms

The following commands have been used to secure the EM 12c oms with virtual hostname, but result in failre as indicated:

1) $OMS_HOME/bin>./emctl secure oms –host <VIRTUAL_HOSTNAME> –secure_port <4900> –slb_port <4900> –slb_console_port <443>

Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Securing OMS... Started.
Invalid input: –host


2) $OMS_HOME/bin>emctl secure oms –sysman_pwd xxxxxxxx –reg_pwd xxxxxxxx –host <VIRTUAL_HOSTNAME> –secure_port <4900> –slb_port <4900> –slb_console_port <443>

Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Securing OMS... Started.
Invalid input: –sysman_pwd

The emkey is not in the repository.


Additionally, an emkey status check shows the following:

$OMS_HOME/bin>emctl status emkey
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey is configured properly.

 

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