15-5-23 下午02时22分58秒 CST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>

简介:  A-141281> <unable to get file lock, will retry ...>   http://gdutlzh.blog.163.com/blog/static/164746951201291903824812/I ran into this error the first time I restarted Weblogic on on

A-141281> <unable to get file lock, will retry ...>  
http://gdutlzh.blog.163.com/blog/static/164746951201291903824812/





I ran into this error the first time I restarted Weblogic on one of my installs, the only reference that I was able to find is the error description below:




BEA-141281


Info: unable to get file lock, will retry …


Description


This message indicates that WLS can not get file lock because other process still holds the lock. W LS will try again before timeout.
Cause


This is an information-level message only.
Action


If WLS fails to start due to unable to get file lock, then lock files need to be removed manually before restart WLS.
The funny thing is that it tells you to remove the locks but doesn’t provide their location, if you are running OBIEE 11g you can remove AdminServer.lok from:


d:\oracle\fmw\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp


If you are not using Weblogic in the context of Oracle Busines Intelligence you can do a file search for any lok files under your middleware home (d:\oracle\fmw).


------------------------------------------------


概述


由于先前服务器直接down掉了,所有进程都非正常的进行关闭了,也就导致了下次启动weblogic的时候报了以下错误:


<2012-3-2 下午05时08分34秒 CST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry …> 
<2012-3-2 下午05时08分44秒 CST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry …>


解决办法


一.删掉Domain下的*.lok文件


1. 删除edit.lok


进入到domain_home下:


cd /u01/Oracle/Middleware/user_projects/domains/idm_domain


将edit.lok文件删掉


rm edit.lok


2.删除config.lok


进入到domain_home/config下:


cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/config/


将config.lok文件删掉


rm config.lok


3.删除AdminServer.lok


cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/tmp


rm AdminServer.lok


4.删除EmbeddedLDAP.lok


/u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/data/ldap/ldapfiles


rm EmbeddedLDAP.lok


二.删掉Domain下的*.DAT文件:


进入到domain_home当中


cd /u01/Oracle/Middleware/user_projects/domains/idm_domain


找到文件删掉


[oracle@idm idm_domain]$ find servers/ -name "*.DAT" 
servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT 
servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT


重新启动weblogic,搞定!
目录
相关文章
Encountered &amp;lt;/#list&amp;gt;, but was expecting one of
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/81001864 freemarker.
3215 0
|
8月前
|
Shell
Shell 整数值操作符(大小等与、-eq、-ne、-ge、-le、-gt、-lt)
Shell 整数值操作符(大小等与、-eq、-ne、-ge、-le、-gt、-lt)
62 0
|
Linux 数据安全/隐私保护 Shell
|
分布式计算 数据库 Spark
Spark的这些事&lt;二&gt;——几个概念
1、SparkContext [经常简称为 sc] spark app 的起点和入口,一般用来加载数据集,生成第一个 rdd。 2、定义一个 spark 应用程序所需要的三大步骤的逻辑:加载数据集,处理数据,结果展示。 加载数据集 加载数据集,这里的数据集大概分为两组: - 一种是不变的,静态数据集,大多数场景都是从数据库,文件系统上面加载进来
1358 0
&lt;compilation debug="true" targetFramework="4.0"&gt;的解决
将winserver2008下的silverlight+wcf程序换到win7旗舰版,运行后wcf服务不可访问,网页也不能访问弹出如下问题: 配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。
1693 0
Dev GridView 绑定List&lt;T&gt;、BindingList &lt;T&gt;、BindingSource
作者:jiankunking 出处:http://blog.csdn.net/jiankunking         今天听到同事处理数据结构的时候特意处理为了 BindingList&lt;T&gt;,据说可以直接绑定到Dev GridView上,于是测试了一下: 1、在Dev GridView中新增三列,三列的FieldName分别对应与FormItem类对应:ItemKey、Name
2448 0
错误 1 Files 的值“&lt;&lt;&lt;&lt;&lt;&lt;&lt; .mine”无效。路径中具有非法字符。
Microsoft Visual Studio 2010项目编译的时候,提示如下错误: 错误 1 Files 的值“&lt;&lt;&lt;&lt;&lt;&lt;&lt; .mine”无效。路径中具有非法字符。 解决办法:在你的工程OBJ/DEBUG目录下,找到 工程名.csproj.FileListAbsolute.txt的文件打开并删除含有'&lt;&lt;&lt;&lt;&lt;&l
2251 0
.Net——Func&lt;&gt;与Action&lt;&gt;
                    首先来先写几个测试函数: public delegate void SayHello(string strName); public static void Hello(string strName) { Console.
975 0