启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory
2013-09-29 12:51
447 查看
http://hi.baidu.com/kaisep/item/0e4bf6ee5da001d1ea34c986 源地址
<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: .\myserver\ldap\ldapfiles 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: .\myserver\ldap\ldapfiles 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_domain\zhcx_server\ldap\ldapfiles下面有此文件
<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
启动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: .\myserver\ldap\ldapfiles 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: .\myserver\ldap\ldapfiles 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_domain\zhcx_server\ldap\ldapfiles下面有此文件
<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
相关文章推荐
- 启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory
- BEA-171520 and "Could not obtain an exclusive lock for directory" when starting up WebLogic 11g AdminServer
- Apache 不能启动,出现 No such file or directory: make_sock: could not bind to port 8080 错误
- weblogic启动失败:Could not obtain the localhost address 解决办法
- 使用myeclipse启动tomcat时出现这种错误“Could not publish to the server. java.lang.NullPointerException”
- weblogic启动失败:Could not obtain the localhost address 解决办法
- weblogic启动失败:Could not obtain the localhost address 解决办法
- 改主机名后启weblogic失败,Could not obtain the localhost address. The most likely cause is an error in the ne
- tomcat启动不了报错: Publishing failed Could not publish to the server. java.lang.IndexOutOfBoundsException
- 启动时出现错误an error occurred during the file system check dropping you to a shell
- MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误解决办法
- MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误解决办法
- 安装完成postgresql 后,启动大象pgAdmin4 报the application server could not be contect 错误
- Could not create the view: An unexpected exception was thrown.,myeclipse10非正常关闭,出现错误
- 安装完MySQL 5.1,在最后配置启动服务时,出现could not start the service MySQL.Error:0 错误
- Could not create the view: An unexpected exception was thrown. myeclipse非正常关闭,出现错误
- mac 在偏好设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_my
- windows下启动apache报make_sock: could not bind to address [::]:443错误!
- Eclipse启动Server报错:Could not publish to the server. java.lang.NullPointerException
- WebLogic启动报错“Unable to obtain file lock but will retry”