首页 > 代码库 > 【翻译自mos文章】Weblogic AdminServer 启动fail,报错为"unable to get file lock, will retry"
【翻译自mos文章】Weblogic AdminServer 启动fail,报错为"unable to get file lock, will retry"
Weblogic AdminServer 启动fail,报错为"unable to get file lock, will retry"
参考原文:
Weblogic AdminServer fails with "unable to get file lock, will retry" error message (Doc ID 1613945.1)
适用于:
Oracle WebLogic Server - Version 8.1 and later
Information in this document applies to any platform.
目标:
WebLogic Server启动时报错:
<Jan 7, 2014 9:09:20 AM PST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Jan 7, 2014 9:09:30 AM PST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Jan 7, 2014 9:09:40 AM PST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Jan 7, 2014 9:09:50 AM PST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Jan 7, 2014 9:10:00 AM PST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
解决方案:
当一个server启动时,一个.lok文件被创建。该文件在$FMW_HOME/servers/SERVERNAME/tmp/SERVERNAME.lok下。若是该文件存在,那么它不能被再次创建,并且server启动不了。
解决这个问题的方法是删除已经存在的lok文件或者 kill掉正在持有该文件的正在运行的进程。