Sunday, 17 February 2019

weblogic.management.ManagementException: Unable to obtain lock on oacore_server1.lok

Issue
++++
++++
-d64 -Xms512m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/u01/prod/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -Dplatform.home=/u01/prod/fs1/FMW_Home/wlserver_10.3 -Dwls.home=/u01/prod/fs1/FMW_Home/wlserver_10.3/server -Dweblogic.home=/u01/prod/fs1/FMW_Home/wlserver_10.3/server -Dcommon.components.home=/u01/prod/fs1/FMW_Home/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD -Doracle.server.config.dir=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/config/fmwconfig -Digf.arisidbeans.carmlloc=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/config/fmwconfig/carml -Digf.arisidstack.home=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/u01/prod/fs1/FMW_Home/oracle_common/modules/oracle.ossoiap_11.1.1,/u01/prod/fs1/FMW_Home/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dportlet.oracle.home=/u01/prod/fs1/FMW_Home/oracle_common -Dem.oracle.home=/u01/prod/fs1/FMW_Home/oracle_common -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/u01/prod/fs1/FMW_Home/patch_wls1036/profiles/default/sysext_manifest_classpath -Dweblogic.resourcepool.max_test_wait_secs=0 -Dweblogic.Name=oacore_server1 -Dweblogic.management.server=http://acgprodapp1.acg.com:7001 -Djava.library.path=/u01/prod/fs1/FMW_Home/webtier/jdk/jre/lib/sparcv9:/u01/prod/fs1/FMW_Home/webtier/jdk/jre/lib/sparcv9/native_threads:/u01/prod/fs1/EBSapps/appl/cz/12.0.0/bin64:/u01/prod/fs1/EBSapps/appl/sht/12.0.0/lib64:${LD_LIBRARY_PATH:=}:/u01/prod/fs1/EBSapps/10.1.2/lib:/u01/prod/fs1/EBSapps/10.1.2/lib32:/usr/dt/lib:/usr/openwin/lib:/u01/prod/fs1/FMW_Home/webtier/jdk/jre/lib/sparcv9:/u01/prod/fs1/FMW_Home/webtier/jdk/jre/lib/sparcv9/native_threads:/u01/prod/fs1/EBSapps/appl/sht/12.0.0/lib64:/u01/prod/fs1/EBSapps/appl/sht/12.0.0/lib:/u01/prod/fs1/FMW_Home/patch_wls1036/profiles/default/native:/u01/prod/fs1/FMW_Home/wlserver_10.3/server/native/solaris/sparc64:/u01/prod/fs1/FMW_Home/wlserver_10.3/server/native/solaris/sparc64/oci920_8::/u01/prod/fs1/FMW_Home/webtier/lib:/u01/prod/fs1/FMW_Home/webtier/lib32:/u01/prod/fs1/EBSapps/appl/cz/12.0.0/bin64:/u01/prod/fs1/EBSapps/appl/iby/12.0.0/bin:/u01/prod/fs1/EBSapps/appl/pon/12.0.0/bin64:/u01/prod/fs1/EBSapps/appl/sht/12.0.0/lib64:/u01/prod/fs1/EBSapps/appl/sht/12.0.0/lib -DserverType=wlx



weblogic.management.ManagementException: Unable to obtain lock on /u01/prod/fs1/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/oacore_server1/tmp/oacore_server1.lok. Server may already be running
        at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:206)
        at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:67)
        at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:74)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:462)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:167)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:71)

>
<Oct 30, 2018 10:36:34 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Oct 30, 2018 10:36:34 AM AST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Oct 30, 2018 10:36:34 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Oct 30, 2018 10:36:35 AM> <FINEST> <NodeManager> <Waiting for the process to die: 10418>
<Oct 30, 2018 10:36:35 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Oct 30, 2018 10:36:35 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>




Solution : oacore service was already running , kill all OS processes and remove oacore_server1.lok file.Start the services and it will come up smoothly.

No comments:

Post a Comment