weblogic admin 不能重起服务(Server may already be running)

看一下报错:

 

$ ./startWebLogic.sh
.
.
JAVA Memory arguments: -Xms512m -Xmx1024m
.
WLS Start Mode=Production
.
CLASSPATH=:/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/bea/patch_wlp1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/bea/patch_wli1031/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/bea/patch_cie670/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java6_64/lib/tools.jar:/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/bea/wlserver_10.3/server/lib/weblogic.jar:/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/bea/wlserver_10.3/server/lib/webservices.jar:/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/bea/wli_10.3/../modules/com.bea.wli.core.mflengine_1.1.0.0.jar:/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/bea/wlserver_10.3/server/lib/xqrl.jar:/bea/wli_10.3/lib/worklist-system-required.jar:/bea/wli_10.3/L10N:/bea/wli_10.3/lib/jpd.jar:/bea/wli_10.3/lib/sftpspi_impl.jar:/bea/wli_10.3/lib/jca-binding-api.jar:/bea/wli_10.3/lib/bpm-infra.jar:/bea/wli_10.3/lib/xmlparserv2.jar:/bea/wlserver_10.3/server/lib/xqrl.jar::
.
PATH=/bea/wlserver_10.3/server/bin:/bea/modules/org.apache.ant_1.6.5/bin:/usr/java6_64/jre/bin:/usr/java6_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/vsopadmin/bin:/usr/bin/X11:/sbin:.
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_BHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA)
JCL  - 20080808_02
Starting WLS with line:
/usr/java6_64/bin/java    -Xms512m -Xmx1024m   -da -Dplatform.home=/bea/wlserver_10.3 -Dwls.home=/bea/wlserver_10.3/server -Dweblogic.home=/bea/wlserver_10.3/server  -Xmx512m -Dlog4j.configuration=file:/weblogic/vsop/domains/vsop/apacheLog4jCfg.xml -Dweblogic.management.discover=true  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=true -Dweblogic.ext.dirs=/bea/patch_wlw1030/profiles/default/sysext_manifest_classpath:/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/bea/patch_wlp1030/profiles/default/sysext_manifest_classpath:/bea/patch_wli1031/profiles/default/sysext_manifest_classpath:/bea/patch_cie670/profiles/default/sysext_manifest_classpath:/bea/wlportal_10.3/p13n/lib/system:/bea/wlportal_10.3/light-portal/lib/system:/bea/wlportal_10.3/light-portal/lib/system -Dweblogic.Name=AdminServer -Djava.security.policy=/bea/wlserver_10.3/server/lib/weblogic.policy   weblogic.Server
<Dec 6, 2010 1:29:18 PM GMT+08:00> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/bea/wlportal_10.3/light-portal/lib/system/netuix_common.jar:/bea/wlportal_10.3/light-portal/lib/system/netuix_common.jar:/bea/wlportal_10.3/light-portal/lib/system/netuix_schemas.jar:/bea/wlportal_10.3/light-portal/lib/system/netuix_schemas.jar:/bea/wlportal_10.3/light-portal/lib/system/netuix_system.jar:/bea/wlportal_10.3/light-portal/lib/system/netuix_system.jar:/bea/wlportal_10.3/light-portal/lib/system/wsrp-client.jar:/bea/wlportal_10.3/light-portal/lib/system/wsrp-client.jar:/bea/wlportal_10.3/light-portal/lib/system/wsrp-common.jar:/bea/wlportal_10.3/light-portal/lib/system/wsrp-common.jar:/bea/wlportal_10.3/p13n/lib/system/p13n-schemas.jar:/bea/wlportal_10.3/p13n/lib/system/p13n_common.jar:/bea/wlportal_10.3/p13n/lib/system/p13n_system.jar:/bea/wlportal_10.3/p13n/lib/system/wlp_services.jar>
<Dec 6, 2010 1:29:18 PM GMT+08:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with IBM J9 VM Version 2.4 from IBM Corporation>
<Dec 6, 2010 1:29:19 PM GMT+08:00> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.ManagementException: Unable to obtain lock on /weblogic/vsop/domains/vsop/servers/AdminServer/tmp/AdminServer.lok. Server may already be running
        at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
        at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
        at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:459)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:164)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
        at weblogic.Server.main(Server.java:67)

>
<Dec 6, 2010 1:29:19 PM GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Dec 6, 2010 1:29:19 PM GMT+08:00> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Dec 6, 2010 1:29:19 PM GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

 

解决方法:

 

把 domians 下的adminserver 备份,或者delete, 再重起,就好了。因为,重起可以生成新的adminServer 的logs

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值