This post is to address a failed Weblogic start in EM12c. The fix is performed on a Windows host, but the fix can easily be for any EM12c environment that experiences this issue. In the below instructions, just replace the %OMS_BASE% for Windows Env Var to $OMS_BASE for Linux/Unix.
Issue: OMS Fails to Start and Points to Weblogic Issue in EMGC_OMS1.out File.
Error in Out File: <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.ldap.EmbeddedLDAPException: Empty initial replica
Reason: Failure on create domain from template step, aka “Emplty Initial Replica”
How to resolve:
1. Stop all Oracle processes/services on the host.
2. Go to:
Rename the ldap folder to ldapold.
3. Go to each of the following folders and remove all folders and files out of the directories:
%OMS_BASE%\gc_inst\user_projects\domains\GCDomain\servers\EMGC_ADMINSERVER\cache %OMS_BASE%\gc_inst\user_projects\domains\GCDomain\servers\EMGC_ADMINSERVER\tmp %OMS_BASE%\gc_inst\user_projects\domains\GCDomain\servers\EMGC_ADMINSERVER\logs
4. Restart all Oracle services/processes for the EM12c environment on the host.
You’ll notice the LDAP folder is recreated with the restart of the Weblogic tier. This should also resolve the domain creation error and all services should start successfully.