Dear DBA-mates, Hope
you all are doing great!!!
[Fixed] Weblogic Error: ><BEA-141281> <unable to get file lock, will retry
...>
Recently, while starting the weblogic services we found
this below error. This is very common error for any weblogic DBAs. And almost
people may know the solution.
But if a DBA working in PROD, at least once he will
check either in google or colleagues to kill the process in PROD.
So, we thought lets share this error with you all for
future references without any doubts.
weblogic java error:
<Sep 16, 2019 11:04:18 AM EDT>
<Info> <WebLogicServer> <BEA-000377> <Starting WebLogic
Server with Java HotSpot(TM) Client VM Version 20.45-b01 from Sun Microsystems
Inc.>
<Sep 16, 2019 11:04:29 AM EDT>
<Info> <Management> <BEA-141281> <unable to get file lock,
will retry ...>
<Sep 16, 2019 11:04:39 AM EDT>
<Info> <Management> <BEA-141281> <unable to get file lock,
will retry ...>
<Sep 16, 2019 11:04:49 AM EDT>
<Info> <Management> <BEA-141281> <unable to get file lock,
will retry ...>
$tail -f nohup.out
<Sep 16, 2019 11:04:18 AM EDT> <Info>
<WebLogicServer> <BEA-000377> <Starting WebLogic Server with
Java HotSpot(TM) Client VM Version 20.45-b01 from Sun Microsystems Inc.>
<Sep 16, 2019 11:04:29 AM EDT> <Info>
<Management> <BEA-141281> <unable to get file lock, will retry
...>
<Sep 16, 2019 11:04:39 AM EDT> <Info>
<Management> <BEA-141281> <unable to get file lock, will retry
...>
Solution:
$ps ucx
Here, it will show all the running process.
Check for the JAVA process and kill it.
$kill -9 <java process>
Again start the services, it will work.
Work around -2:
If still not working then you need to check the .lok file and
remove that and then again start the services.
First either bring down the weblogic services or kill
the process including java process and then remove the .lok file.
Expected Path:
../Middleware/user_projects/domains/<your
domain name>/servers/<mostly AdminServer>/tmp
You can find out .lok file. You either rename it or
remove it.
From AdminServer directory, you can use below commands
to find out the *.lok files also:
$find . –name *.lok –exec ls
–ltr {} \;
Note: Always be careful and 100 % sure while removing any
files.
Some more useful links:
Regards,
I've learn several good stuff here. Certainly value bookmarking for revisiting.
ReplyDeleteI surprise how a lot attempt you place to make any such fantastic informative site.
I have read so many articles about the blogger lovers except this paragraph is truly a fastidious paragraph, keep it up.
ReplyDeleteWow, marvelous blog layout! How long have you been blogging for?
ReplyDeleteyou make blogging look easy. The overall look of your site is great,
let alone the content!
excellent points altogether, you simply gained a emblem new reader.
ReplyDeleteWhat could you suggest about your put up that you
just made some days ago? Any certain?
ReplyDeleteDear User,
Thank you for your support and nice feedback.
Regards,
ora-data Team
ReplyDeleteDear User,
Thank you for your support and nice feedback.
Regards,
ora-data Team
Hello! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form?
ReplyDeleteI'm using the same blog platform ass yours and I'm having problems finding one?
Thanks a lot!
Thank v much,solution suggested has helped to continue my work with developer11g.
ReplyDelete