OBIEE .lok .DAT files

Came across this issue today took me an age to work out what was wrong then I knocked up a couple of finds and boom all sorted. Anyway the below is more for self reference in case I come across it again.


<Error> <Store> <BEA-280061> <The persistent store “_WLS_AdminServer” could not be deployed: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file “_WLS_ADMINSERVER000000.DAT”

Other Errors that can be encountered are


There are 1 nested errors:
 weblogic.management.ManagementException: Unable to obtain lock on /u01/app/oracle/admin/soa_domains/aserver/soa_domain/servers/AdminServer/tmp/AdminServer.lok. Server may already be running at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
 <Warning> <BEA-171520> <Could not obtain an exclusive lock for directory: /u01/app/oracle/admin/soa_domains/aserver/soa_domain/servers/AdminServer/data/ldap/ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.><Warning> <BEA-171520> <Could not obtain an exclusive lock for directory: /u01/app/oracle/admin/soa_domains/aserver/soa_domain/servers/AdminServer/data/ldap/ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>

or


<Security> <BEA-090082> <Security initializing using security realm myrealm.>
 <Error> <Store> <BEA-280061> <The persistent store “_WLS_AdminServer” could not be deployed: weblogic.store.PersistentStoreException: [Store:280105]The persistent file store “_WLS_AdminServer” cannot open file _WLS_ADMINSERVER000000.DAT. weblogic.store.PersistentStoreException: [Store:280105]The persistent file store “_WLS_AdminServer” cannot open file _WLS_ADMINSERVER000000.DAT. at weblogic.store.io.file.Heap.open(Heap.java:325)

To resolve the above issues, clear below .lok and .DAT files


find . -name “*.DAT” -print -exec rm {} \;
 find . -name “*.lok” -print -exec rm {} \;

For Admin server
 $DOMAIN_HOME/servers/<server name>/tmp/Adminserver.lok
 $DOMAIN_HOME/servers/<server name>/data/ldap/ldapfiles/Embedded.lok
 $DOMAIN_HOME/servers/<server name>/data/store/default/_WLS_ADMINSERVER000000.DAT
 $DOMAIN_HOME/servers/<server name>/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT

For Managed servers

$DOMAIN_HOME/servers/<server name>/tmp/<servername>.lok
 $DOMAIN_HOME/servers/<server name>/data/ldap/ldapfiles/Embedded.lok
 $DOMAIN_HOME/servers/<server name>/data/ldap/store/default/_WLS_<servername>000000.DAT
 $DOMAIN_HOME/servers/<server name>/data/ldap/store/diagnostics/WLS_DIAGNOSTICS000000.DAT


Posted

in

by

Tags:

  1. zdinesh03 avatar

    awsome piece of information, I had come to know about your website from my friend vinod, indore,i have read atleast seven posts of yours by now, and let me tell you, your blog gives the best and the most interesting information. This is just the kind of information that i had been looking for, i’m already your rss reader now and i would regularly watch out for the new posts, once again hats off to you! Thanks a ton once again, Regards,obiee online training

  2. OBIEE Online Training avatar

    Thank you provide valuable informations and iam seacrching same informations,and saved my time OBIEE Online Training

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.