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

Advertisements

2 comments

  1. zdinesh03

    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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s