Saturday, April 11, 2015

WebLogic Server Not Starting in OBIEE 11g

While you were trying to start the WebLogic Server, it shutdown and you are getting the below error message in the nohup.out file.
__________________________________
<Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Could not obtain an exclusive lock to the embedded LDAP data files directory: /Middleware/user_projects/domains/bifoundation_domain/servers/AdminServer/data/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
__________________________________

Remove EmbeddedLDAP.lok file in the following directory
/opt/app/obi/Middleware/user_projects/domains/bifoundation_domain/servers/bi_server1/data/ldap/ldapfiles

Now, navigate to the following directory and execute the find command as in below.

/opt/app/obi/Middleware/user_projects/domains/bifoundation_domain
bifoundation_domain]$ find . -name "*DAT"
./servers/bi_server1/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
./servers/bi_server1/data/store/default/_WLS_BI_SERVER1000000.DAT
./servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
./servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT

Navigate to those directories and remove the files.

Reason for the above error. If you have used "KILL -9" command to kill any of the servers before you did the starting.




No comments:

Post a Comment