Search This Blog

Saturday 14 November 2015

Error while restarting Manager Server in the Weblogic server instance

Error while restarting Manager Server in the Weblogic server instance

Error :
An error occurred while initializing the Embedded LDAP Server. The exception thrown is java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard. This may indicate a problem with the data files for the Embedded LDAP Server. This managed server has a replica of the data contained on the Master Embedded LDAP Server in the Admin server. This replica has been marked invalid and will be refreshed on the next boot of the managed server. Retry the reboot of this server.


I got the above error while restarting the Managed Server  [ bi_Server1 ]. The Admin server was UP and RUNNING, but the we try to start Managed Server its starts but suddenly shut down with above mentioned error in bi_server1.log or bi_server.out files.


Solution :

Navigate to that server instance directory and browse inside that for the
OBIEE_Domain/domain-name/servers/server-name/data/ldap/ldapfiles directory path

You will get below listed files in that particular directory

-rw-r--r--   1 weblogic weblogic   79649      Sep 13  18:48 EmbeddedLDAP.data
-rw-r--r--   1 weblogic weblogic       0          Sep 13  18:48 EmbeddedLDAP.delete
-rw-r--r--   1 weblogic weblogic     648        Sep 13  18:48 EmbeddedLDAP.index
-rw-r--r--   1 weblogic weblogic       0          Sep 13  18:48 EmbeddedLDAP.lok
-rw-r--r--   1 weblogic weblogic   80126      Sep 13  18:48 EmbeddedLDAP.tran
-rw-r--r--   1 weblogic weblogic       8          Sep 13  18:48 EmbeddedLDAP.trpos

Just delete the below listed files inside the directory
-rw-r--r--   1 weblogic weblogic       0      Sep 13 18:48 EmbeddedLDAP.delete
-rw-r--r--   1 weblogic weblogic       0      Sep 13 18:48 EmbeddedLDAP.lok

Now restart the instance from the bin directory, this will get your Server up and running without issue.

Restart the Server

cd $OBIEE_DOMAIN/user_projects/domains/bifoundation_domain/bin

nohup ./startManagedWebLogic.sh bi_server1 http://hostname:7001 > managed_server1.log &

tail -f managed_server.log

No comments:

Post a Comment