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

one to remeber

OBIEE

I ran into this error the first time I restarted Weblogic on one of my installs…

Error :

<Jan 5, 2012 7:00:36 PM IST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry …>

Solution :

Navigate to the path : <OBIEE HOME>/C:\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp

and delete the “AdminServer.lok” file .

If required ,do the same for “bi_server1” file and Start the services again.. The services should be able to start .

-By Prasad Madhasi.

 

View original post

Been a long term user of Opera Mini since my iPhone 3G, never had a bad thing to say about it

Gigaom

Back in the early days of the internet-capable mobile phone – and by this I mean 2006, the pre-iPhone(s aapl) era – Opera Mini came out, and it was the best way to surf the web from such a device. The browser uses server-side compression to squeeze data by up to 90 percent, so it meant faster page loads and less data usage.

That was then, this is now. But it turns out the popularity of Opera Mini is still growing like mad – in fact, last December saw the biggest month-on-month growth for the tiny browser in its history, up 6.3 percent from 195.5 million to 207.8 million users. The Mini servers handled more than 143 billion pages and compressed more than 12 petabytes of data during the month. What gives?

Opera Mini growth chart
The answer is a bit of a mixed bag. Firstly, the big growth in mobile internet usage these…

View original post 269 more words

The Warning Sign

The “best of” lists have been well underway, and it’s time for me to join in on the festivities. I wanted to wait until I saw a few of the most recent heavy-hitters, and now I feel confident enough to put together my own top 10. This has been a great year for film, and I could have easily stretched this out to a top 20, or even 25. For the sake of consistency, I am sticking with a top ten.

Honorable Mentions:
The Intouchables
Zero Dark Thirty
The Perks of Being a Wallflower
Beasts of the Southern Wild

Killer Joe [2011]
10) Killer Joe
“A totally twisted deep-fried Texas redneck trailer park murder story.” Yeah, it’s as great as it sounds. I will never look at fried chicken the same way again.

Take This Waltz [2011]
9) Take This Waltz
Pretty much a “love it or hate it” film, but this one struck an emotional chord…

View original post 311 more words

DAC Restart Script

Hi,

Just thought I would share the script I wrote to restart your DAC server in the event of a crash, this can be helpful during the night as there is no need for a manual restart.

I used a cron job to check to see if the process is running every 5min.


#!/bin/ksh

#########################################################
 # NAME:email_dac_restart.sh #
 # AUTHOR:  #
 # DESC: Makes sure dac is running and restarts if not #
 # VERSION: 18/1/13 #
 # CHANGE LOG: #
 #########################################################

. ~/.profile

if ps -ef | grep '/usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -server -Xmn500m -Xms2048m -Xmx204'
 then
 echo 'do nothing'
 ## tail -1 $DAC_HOME/nohup.out | mailx -s 'DAC Running TST1 ' your@email.com
 else
 cd $DAC_HOME
 nohup $DAC_HOME/startserver.sh &
 tail -200 $DAC_HOME/nohup.out | mailx -s 'DAC Restarted  ' your@email.com
 fi

exit
 EOF

Any improvements or comments are welcome