Weblogic server is not starting up ; error is unable to get file lock
If the weblogic server is not starting up and giving the below error ,
please follow the below solution :-
Error :-
Aug 15, 2014 12:53:34 AM PDT Info WebLogicServer BEA-000377 Starting WebLogic Server with Oracle JRockit(R) Version
R28.2.7-7-155314-1.6.0_45-20130329-0641-linux-x86_64 from Oracle
Corporation
Aug 15, 2014 12:53:45 AM PDT Info Management BEA-141281 unable to get file lock, will retry ...
Aug 15, 2014 12:56:37 AM PDT Info Management BEA-141281 unable to get file lock, will retry ...
Aug 15, 2014 12:56:40 AM PDT Critical WebLogicServer BEA-000362 Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: Unable to
obtain lock on
/u01/app/oracle/config/domains/Vinay/servers/AdminServer/tmp/AdminServer.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:461)
at
weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:882)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:572)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)
Aug 15, 2014 12:56:40 AM PDT Notice WebLogicServer BEA-000365 Server state changed to
FAILED>
Aug 15, 2014 12:56:40 AM PDT Error WebLogicServer BEA-000383 A critical service failed. The
server will shut itself down
Aug 15, 2014 12:56:40 AM PDT Notice WebLogicServer BEA-000365 Server state changed to
FORCE_SHUTTING_DOWN
Solution 1) remove .lok files and try restart
2) check ps –eaf|grep oracle if there are other startweblogic.sh command
is executed . if yes, kill it
3) if still not start , mount nfs with nolock option enabled
4) Check /etc/hosts file ,
if the ip & hostname is correct.
5) if still not start ,
reboot the server.
Comments