My Oracle Support Banner

"Failed to Load server configuration" Error in the EM Console After Changing Orclhostname in OID 11g to Another Existing Secondary VIP Hostname (Doc ID 1340233.1)

Last updated on OCTOBER 16, 2019

Applies to:

Enterprise Manager for Fusion Middleware - Version 11.1.1.9.0 to 11.1.1.9.0
Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Symptoms

IMPORTANT NOTE

This Note is Not intended for hostname changes at the OS level after FMW/IDM was installed. FMW/OID 11g change of hostname after installation is Not supported as per FMW Note and documentation:

   How To Find Steps to Change Host Name, Domain Name, or IP Address of an Oracle Fusion Middleware 11g or 12c Host (Document 1127106.1)

   Oracle® Fusion Middleware Administrator's Guide 11g Release 1 (11.1.1.9) E10105-19
   Chapter 16 Changing Network Configurations
   Section 16.1.1 Overview of Support for Changing Network Configuration of Components
  
Subsection 16.1.1 Overview of Support for Changing Network Configuration of Components

 

After creating a new OID instance (oid2) as per:
Document 1203271.1 - 11g - How To Create New OID Instance And Configure For SSL Server Auth (mode 2)

The server has a secondary or virtual IP address that resolves to a different hostname:
<IP_ADDRESS1> physical.<COUNTRY>.<COMPANY>.com physical
<IP_ADDRESS2> secondary.<COUNTRY>.<COMPANY>.com secondary

The default OID orclhostname was changed from "localhost" to "secondary.<COUNTRY>.<COMPANY>.com".

So these ports are now bound to that specific IP/hostname as can be seen with netstat, e.g.:
netstat -an|grep 3061
tcp 0 0 <IP_ADDRESS2>:3061 0.0.0.0:* LISTEN
 netstat -an | grep 3132
tcp 0 0 <IP_ADDRESS2>:3132 0.0.0.0:* LISTEN

In Enterprise Manager Console (EM)
General Port usage screen: shows the correct values

Port Hostname Protocol
3132 secondary.<COUNTRY>.<COMPANY>.com LDAPS
3061 secondary.<COUNTRY>.<COMPANY>.com LDAP

Error on the EM OID Server Configuration Page for component oid2:

Failed to Load server configuration. Check the Internet Directory Server logs. Possible Error: "physical.<COUNTRY>.<COMPANY>.com:3132".


Note that it is still trying to connect to the original hostname, which is not listening on these ports.

Component oid2 was reregistered with:
opmnctl updatecomponentregistration -adminHost physical.<COUNTRY>.<COMPANY>.com -Host secondary.<COUNTRY>.<COMPANY>.com -adminPort 7001 -adminUsername weblogic -componentType OID -componentName oid2 -Port 3061 -Sport 3132

The topology.xml and targets.xml now have the correct values for "host" for the oid2 component, but EM is still trying to connect to the original hostname.

Changes

By default OID will listen on all network adapters.
OID has been reconfigured to bind to a specific IP address.

Cause

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
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.