2016/01 8

CentOS systemctl 에서 disabled 된 서비스를 enable 하기

CentOS 계열에서는 service xxx start 대신에 systemctl start xxx.service 형태로 변경되었다. systemctl start xxx.service 를 실행 했을 때 서비스가 시작되지 않을 때는 여러가지 원인이 있다. systemctl status xxx.service 를 하면 현재 상태를 볼 수 있다.예를 들어 아래 svnserve 를 실행했지만, 서비스가 실행되지 않았다. 상태를 파악하기 위해서 status 를 실행해 보면 "disabled, vendor preset:disabled 라는 로그를 볼 수 있다. [root@cnode01-m etc]# systemctl start svnserve.serviceJob for svnserve.service failed bec..

R&D/클라우드 2016.01.11