Monday, January 1, 2018

How To Fix a Corrupted LDAP Directory for a WebLogic Administration Server 


Applies To:

Oracle WebLogic Server - Version 8.1 and later
Information in this document applies to any platform.
***Checked for relevance on 14-Jan-2014***

Goal:

This note explains how to fix a corrupted LDAP directory that is preventing start-up of a WebLogic Administration Server. It does not tell you how to diagnose this condition, only how to fix it if you have already diagnosed it or suspect it. It also assumes that you have access to back-ups of your LDAP directory files.

Solution:

Follow the below steps to fix the corrupted LDAP directory on the Weblogic Admin Server.

Kill the java processes associated with the failing start-up.
Rename the directory <server_directory>/data/ldap/ldapfiles to  <server_directory>/data/ldap/ldapfiles_original (for example).
Create a new <server_directory>/data/ldap/ldapfiles directory.
Restore the EmbeddedLDAP.<xxx> files in <server_directory>/data/ldap/ldapfiles with your backup copies.
Restart the Admin server.
Where there is Managed Server still running with an uncorrupted copy of the LDAP directory, it can be used as an alternative source of a backup copy.

Reference metalink Doc ID 1370860.1

No comments:

Post a Comment