Saturday, September 13, 2014

BEA-000365 - Weblogic Admin / Managed server startup issues

Admin / Managed server startup Issues –

a. LDAP Files lok

<Error> <EmbeddedLDAP> <BEA-171519> <Could not obtain an exclusive lock to the embedded LDAP data files directory: /<domainhomepath>/<domainname>/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>

Suggestion  –

1.       Navigate to <domainhomepath>/<domainname>/servers/Adminserver/data/ldap/Idapfiles
2.       Rename the file “EmbeddedLDAP.lok” to “EmbeddedLDAP_bkp.bkp_lok”
3.       Restart the Admin server

b. Admin Server lok
weblogic.management.ManagementException: Unable to obtain lock on /<domainhomepath>/<domainname>/servers/AdminServer/tmp/AdminServer.lok. Server may already be running at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:206)
 <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>

Suggestion  –

1.       Navigate to <domainhomepath>/<domainname>/servers/Adminserver/tmp
2.       Rename the file “AdminServer.lok” to “AdminServer_bkp.bkp_lok”
3.       Restart the Admin server

c. WLS_ADMINSERVER DAT
<Emergency> <Store> <BEA-280060> <The persistent store "_WLS_AdminServer" encountered a fatal  error, and it must be shut down: weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.
The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.
weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.

Suggestion  –

1.       Navigate to <domainhomepath>/<domainname>/servers/Adminserver/data/store/default
2.       Rename the file “WLS_ADMINSERVER000000.DAT” to “WLS_ADMINSERVER000000_bkp.bDAT
3.       Restart the Admin server

d. WLS_ADMINSERVER DAT
weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "WLS_DIAGNOSTICS" cannot open file WLS_DIAGNOSTICS000000.DAT.
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>

Suggestion  –

1.       Navigate to <domainhomepath>/<domainname>/servers/Adminserver/data/store/default
2.       Rename the file “WLS_DIAGNOSTICS.DAT” to “WLS_DIAGNOSTICS_bkp.bDAT

3.       Restart the Admin server

2 comments:

  1. What is the root cause of these error? I need to avoid such scenarios in production. What should be taken care from dev perspective that we don't reach to this state?

    Thanks in advance

    ReplyDelete
  2. грохнул _WLS_ADMINSERVER000000.DAT , стартовало. Спасибо!

    ReplyDelete