본문 바로가기
Programming/Linux

[Linux] 톰캣 재구동

by prinha 2021. 2. 26.
반응형

 

root 계정으로 로그인해서 톰캣 재시작

systemctl restart tomcat8

 

권한 문제때문에 톰캣 재구동이 되지 않음

System has not been booted with systemd as init system (PID 1). Can't operate.

 

그럴때에는 systemctl 대신 service를 쓰자

sudo service tomcat8 restart
service tomcat8 restart

 

 

반응형