zoukankan      html  css  js  c++  java
  • 启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory

    http://hi.baidu.com/kaisep/item/0e4bf6ee5da001d1ea34c986 源地址

    启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory

    启动weblogic时报以下错误:
    <2004-12-22 上午05时25分29秒 CST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .myserverldapldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.

    weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .myserverldapldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.   

    --------------------------------
    问题的原因:
    domain/server/ldap/ldapfiles 文件夹下创建了一个名为 embeddedldap.lok 的文件。
    如果该文件存在,则服务器不能启动,并将看到下列错误:    如我的在zhcx_domainzhcx_serverldapldapfiles下面有此文件
              
    <Emergency> <WebLogicServer> <BEA-000342>
    <Unable to initialize the server: weblogic.server.ServiceFailureException:
    Could not obtain an exclusive lock to the embedded LDAP data files directory:
    ./server1/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>


    <Emergency> <WebLogicServer> <BEA-000342>
    <Unable to initialize the server: weblogic.server.ServiceFailureException:
    Could not obtain an exclusive lock to the embedded LDAP data files directory:
    ./server1/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>

    解决办法:
    为避免此错误,应确保没有没有启动其它进程或访问此文件并将它删除。
      
    在关机时通常会对此文件进行解锁,但如果上次发生了异常关机(如崩溃),则可能未正确解锁此文件,从而在下次启动时产生此类错误。

     但很有可能是删除不掉的,因为有进程还在用他,用unlocker删除或者解锁就行。
    绿色Unlocker 1.8.8 官方中文绿色修改版_ 最好的顽固软件删除工具下载地址:
    http://www.xdowns.com/soft/softdown.asp?softid=30377

  • 相关阅读:
    一个老码农对职场的思考
    PHP算法 (冒泡 选择排序 折半查找 顺序查找 斐波那契数列 素数 )
    php 图像的基本操作
    php 随机字符串 验证码
    php中 var_dump 和 echo 和 print_r() 和 print
    正则表达式的整理
    php上传文件原理
    git 几个简单命令
    git 几个简单命令
    会话技术Cookie
  • 原文地址:https://www.cnblogs.com/davidwang456/p/3298238.html
Copyright © 2011-2022 走看看