본문 바로가기
프로그램 개발(분석, 설계, 코딩, 배포)/100. 기타

JEUS_Unable to acquire the file lock

by 3604 2023. 2. 3.
728x90

오류: Unable to acquire the file lock

<<__Exception__>>
jeus.util.JeusRuntimeException: Unable to acquire the file lock /.../.work/tmp/ps.lck.

The server might already be running.
        at jeus.server.Server.acquireServerLock(Server.java:???)
        at jeus.server.Server.initJeusServerLogger(Server.java:???)
        at jeus.server.Server.start(Server.java:???)
        at jeus.server.Server.mainMethod(Server.java:???)
        at jeus.server.Server.main(Server.java:???)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:??)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:??)
        at java.lang.reflect.Method.invoke(Method.java:???)
        at jeus.server.Bootstrapper.callMainMethod(Bootstrapper.java:5??)
        at jeus.server.Bootstrapper.callMain(Bootstrapper.java:5??)
        at jeus.server.Bootstrapper.main(Bootstrapper.java:1??)
        at jeus.server.ServerBootstrapper.main(ServerBootstrapper.java:1?)
<<__!Exception__>>

조치

1. 프로세스 실행해서 해당 프로세스가 있으면 kill 명령으로 종료 후 재기동

$ps -e 

2. 프로세스 실행해서 해당 프로세스가 없으면 tmp 폴더 밑에 lock파일(lck) 파일 있을경우 삭제하고 실행하면 됨

$..tmp>ls

ps명.lck  

728x90