My Oracle Support Banner

12c Cloud Control: Securing OMS Without ORACLE_HOSTNAME Variable in a Virtual Hostname Installation Configures the OMS on Physical Hostname (Doc ID 1373246.1)

Last updated on OCTOBER 18, 2019

Applies to:

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


The OMS was initially installed on a virtual hostname using:

runInstaller ORACLE_HOSTNAME=oms-virtualhostname.domain -silent -responseFile /u01//em12c_new_install.rsp

Installation was successful and the Cloud Console URL was accessible from the browser.

-  After this, the OMS was re-secured using:

emctl secure oms

-  OMS was secured finebut the Cloud Console URL is no longer accessible from the browser, it is redirected to /omsunavailable.html.

-  It was found that the <EM_CONFIG_HOME>/WebTierIH1/config/OHS/ohs1/mod_wl_ohs.conf  has reference to the physical hostname instead of the virtual hostname, provided at the time of the installation:

<IfModule mod_weblogic.c>
     WebLogicHost omsmachine.domain
     WebLogicPort 7201
     Debug ERR


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.