oracle BEA-141297 - 无法获得服务器文件锁

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33888824/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 00:59:40  来源:igfitidea点击:

BEA-141297 - Could not get the server file lock

oracleserverlockingweblogic

提问by Catalin Ciolocoiu

Following error is encountered when trying to start Oracle Weblogic Server:

尝试启动 Oracle Weblogic Server 时遇到以下错误:

<Info> <Management> <BEA-141297> <Could not get the server file lock. Ensure that another server is not running in the same directory. Retrying for another 60 seconds.>

How do I overcome this error and start the server?

如何克服此错误并启动服务器?

回答by sampathsris

The error means that there is a file lock that could not be released, as the server was previously not shut down correctly.

该错误意味着存在无法释放的文件锁定,因为服务器之前未正确关闭。

In this case you must follow the next steps:

在这种情况下,您必须执行以下步骤:

  • Navigate to tmpfolder in your $DOMAIN_HOMEdirectory. (for example: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\mydomain\servers\AdminServer\tmp)
  • Delete the lock file for the server instance, AdminServer.lok
  • Check if there are any java.exeprocesses are running, which should not be there. If there are any, they would have to be killed.
  • Restart your server
  • 导航到tmp目录中的文件夹$DOMAIN_HOME。(例如:C:\Oracle\Middleware\Oracle_Home\user_projects\domains\mydomain\servers\AdminServer\tmp
  • 删除服务器实例的锁定文件, AdminServer.lok
  • 检查是否有任何java.exe进程正在运行,这些进程不应该在那里。如果有的话,他们必须被杀死。
  • 重启你的服务器