zoukankan      html  css  js  c++  java
  • weblogic92的AdminServe.lok Unable to obtain lock

    weblogic.management.ManagementException: Unable to obtain lock on /app/lctx/nop3/qxgl/base_domain/servers/AdminServer/tmp/AdminServe
    r.lok. Server may already be running

    此时数domain还在运行中,并死锁咯,不能stop服务。需要kill进程:
    删除该文件,在重启,基本就能解决。

    同时还会出现以下的错误:

    weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    /app/lctx/nop3/qxgl/base_domain/servers/AdminServer/data/store/diagnostics/

    解决方法:
    WLS_DIAGNOSTIC 那个文件是诊断信息。。
    ESO_lock 是启动的时候锁定一下,排他的
    删除了文件 WLS_DIAGNOSTICS000000.DAT ,重启。
    Could not obtain an exclusive lock for directory: /app/lctx/nop3/qxgl/base_domain/servers/AdminServer/data/ldap/ldapfiles.
    Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
    An error occurred while initializing the Embedded LDAP Server. The exception thown is java.lang.ClassCastException:
    com.octetstring.vde.backend.BackendRoot. This may indicate a problem with the data files for the Embedded LDAP Server
    . If the problem is with the data files and it can not be corrected, backups of previous versions of the data files
    exist in /app/lctx/nop3/qxgl/base_domain/servers/AdminServer/data/ldap/backup.>
    <Error opening the Transaction Log: /app/lctx/nop3/qxgl/base_domain/servers/AdminServer/data/ldap/ldapfiles/
    EmbeddedLDAP.tran (权限被否定)>
    也是重复以上的操作,stop,并重启就好。
    如果还有以下问题:

    Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file
    (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was
    created. Please edit and update the boot identity file with the proper values of username and password. The
    first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <2010-6-8 下午03时01分24秒 CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason:
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user
    name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have
    been changed since the boot identity file was created. Please edit and update the boot identity file with the
    proper values of username and password. The first time the updated boot identity file is used to start the
    server, these new values are encrypted.

    启动错误:weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid;
    该错误表明启动身份文件 (boot.properties) 中的用户名和/或密码无效。可能是在创建启动身份文件后更改过启动身份。
    请使用正确的用户名和密码编辑和更新启动身份文件。首次使用更新后的启动身份文件启动服务器时会将这些新值加密。
    解决方法:
    以明文形式更改 boot.properties 中的参数值。“boot.properties”通常位于域根目录中
    安装weblogic92后,创建了一个域testdomain,然后在$BEA_HOME/user_projects/domains/testdomain/下创建boot.properties文件,
    内容不小心输错了,启动域时要求输入用户名和密码,这时发现boot.properties文件内容错误,做了纠正,但启动时仍要求输入用户名
    和密码,搞不懂!在weblogic8上从来没有碰到这个现象。
    结果最后发现$BEA_HOME/user_projects/domains/testdomain/servers/AdminServer/security目录下也存在一个boot.properties文件,
    内容就是原来的错误内容,修改后,域就顺利启动了。呵呵!
    另一附注说明:
    fuser -u 文件名
    前一个错误,还有可能就服务还是没有停止,但很多文件都不被访问,很难确定访问的进程,你也不清楚是那个Java或其他进程在访问该进程,此时你就需要使用fuser -u 文件名 来查找该domain的进程,kill再重启,就正常咯。
    此时查找进程,最好在domain下的server的logs中的log文件,查看进程,再kill。

    出现这个问题最可能的原因就是,用了错误的用户,启动了不属于他执行的进程。 解决办法之一就是,用启动的用户去停止进程,在用本来的用户去启动进程。
  • 相关阅读:
    POJ 3169 Layout(差分约束+链式前向星+SPFA)
    HDU 2680 Choose the best route(SPFA)
    PAT L2-016 愿天下有情人都是失散多年的兄妹(深搜)
    PAT L2-013 红色警报(并查集求连通子图)
    PAT L2-014 列车调度(最长上升nlogn)
    PAT L3-010 是否完全二叉搜索树(二叉搜索树)
    HRBUST 2310 Tree Painting(无向图欧拉路径的性质)
    POJ 2230 Watchcow(有向图欧拉回路)
    UVa 10054 The Necklace(无向图欧拉回路)
    UVa 1600 Patrol Robot(三维广搜)
  • 原文地址:https://www.cnblogs.com/datalife/p/1985632.html
Copyright © 2011-2022 走看看