原文:http://gdutlzh.blog.163.com/blog/static/164746951201291903824812/

<BEA-141281> <unable to get file lock, will retry ...>

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,搞定!

BEA-141281 unable to get file lock, will retry ...相关推荐

  1. weblogic unable to get file lock问题解决方案

    前两天在配置weblogic到最后一步出现的weblogic unable to get file lock这个问题,原因有两点分两方面来说: 一:检查配置文件时候删除,出现这中情况需要删除几个配置文 ...

  2. linux weblogic java_options_linux系统启动weblogic受管服务器报unable to get file lock, will ret_daring的解决...

    linux系统启动weblogic受管服务器报如下错误时: 解决方法:进入cd Middleware/ ,使用 find . -name *.lok 命令查找文件,然后删除即可. 例: rm ./us ...

  3. h5py OSError: Unable to open file (unable to lock file, errno = 11, error message = ‘Resource tempor

    报错:h5py OSError: Unable to open file (unable to lock file, errno = 11, error message = 'Resource tem ...

  4. 服务器锁定文件,BEA-141297 - 无法获取服务器文件锁定(BEA-141297 - Could not get the server file lock)...

    BEA-141297 - 无法获取服务器文件锁定(BEA-141297 - Could not get the server file lock) 尝试启动Oracle Weblogic Server ...

  5. unable to write file .git/objects/8a/5a043a43c0dad68ceb65f5a7bd9f7e7a70078b: Permission denied

    文章目录 1.不能写文件 2.不能创建index.lock 3.不能锁定ref 1.不能写文件 unable to write file .git/objects/8a/5a043a43c0dad68 ...

  6. 【Python|hdf5】OSError: Unable to open file 解决方法

    文章目录 问题一 报错输出 解决方法 方法一 方法二 问题二 报错输出 解决方法 参考链接 问题一 报错输出 OSError: Unable to open file (unable to lock ...

  7. IOError: Unable to open file (File signature not found)

    keras加载模型有两种方式1.model = load_model('model.h5') 2. model = Sequential() model.add(Conv2D(32, (3, 3), ...

  8. 一次OGG ERROR OGG-01091 Unable to open file ./dirdat/th079817 的问题解决

    故障现象: 2019-07-25 09:15:39 ERROR OGG-01091 Unable to open file "./dirdat/th079817" (error 2 ...

  9. pygame.mixer.Sound()语句提示错误:pygame.error: Unable to open file 'test.wav'

    环境:Win10.python3.6.5.pygame( version 1.9.3) 在使用pygame创建一个wav文件时,代码如下: import pygame class Player:# c ...

最新文章

  1. 哈尔滨工程大学智能科学与工程学院成功举办了“一院一节“暨十二届极速挑战智能车总决赛
  2. 191027爬虫笔记
  3. Java学习笔记13
  4. linux定时脚本任务
  5. C++高级程序员基本技能你都具备吗?
  6. 语音识别:繁华背后,危机初现
  7. poj 3660 Cow Contest 传递闭包
  8. xenserver 安装新硬盘_给Xenserver添加新硬盘
  9. 数据绑定和第一个AngularJS 应用
  10. redis缓存(jedis), 链接,存,取,String,map,对象
  11. CSS 处理溢出 overflow属性
  12. 腾讯注册狗头表情包商标
  13. 色差仪软件的安装和电池充电
  14. Windows phone7 动态添加控件
  15. Unit Testing with JUnit - Tutorial
  16. 《Redis开发与运维》笔记-复制
  17. 软件默认安装路径注册表更改问题
  18. 第三章 输入验证----tapestry教程Enjoying Web DevelopmenEnjoying Development翻译
  19. 云原生|kubernetes|etcd集群详细介绍+安装部署+调优
  20. 疯狂考证的两年:通过CFA、FRM、CMA经验与收获

热门文章

  1. 损失函数为什么用平方形式(二)
  2. 【AI产品】一键去除杂物,Photo Eraser助你拍出美丽照片
  3. 【NLP】有三AI-NLP专栏首季总结与展望
  4. 2022年的东南亚跨境市场风口,越南电商市场一定不要错过
  5. 花生增产对话万书波-农业大健康·万祥军:获山东科技最高奖
  6. 电子工程师需要了解的SMT贴片质量问题汇总(转)
  7. namesapce的作用 增加访问路径 目的:区分不同包的相同action的访问路径
  8. 计蒜客(三角形的内点)
  9. 《Android进阶之光》--多线程编程
  10. 开源配置管理平台-Apollo