System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
어떤 이에게는 systemctl 을 이용하면, 기존 서비스 뿐 아니라, 자동 시작되게 서비스를 등록할 수 도 있고, 시작,중지 등을 쉽게 사용할 수 있는 장점이 있다.
난 python django Gunicorn , nginx 설정만 하려했는데....
1) 막아놓은 서비스를 다시 살려서 하든가. https://parkbrother.tistory.com/entry/WSL2-%EC%97%90%EC%84%9C-systemdsystemctl-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95
WSL2 에서 systemd(systemctl) 사용하는 방법
systemctl 명령어 사용시 아래와 같은 메시지로, 어떤 서비스든 사용 할 수가 없는 상태로 됨 System has not been booted with systemd as init system (PID 1). Can't operate. wsl에서 systemd를 지원하지 않기.....
parkbrother.tistory.com
2. service 명령어로 이용하면 되겠다.
service status nginx
요렇게
'아파치' 카테고리의 다른 글
wsl2 설정 오류 [error 2147942402 (0x80070002) (0) | 2022.11.28 |
---|---|
sublime text : browser sync (라이브 서버) (0) | 2022.10.24 |
큐냅 나스 워드프레스 (0) | 2022.09.23 |
터미널에서 vscode 설치 + wsl2 에서 (0) | 2022.09.06 |
vscode 단축키 (0) | 2022.07.27 |
파이썬 장고 스터디 후기 (0) | 2022.07.26 |
우분투 vsftpd 설정 (0) | 2022.07.25 |
우분투 nginx webdav 설치 (0) | 2022.07.24 |
댓글