예를 들어 haproxy 서비스를 start 할 때 아래 명령어를 실행하는 경우
systemctl start haproxy
아래와 같은 오류가 발생한다.
Failed to restart haproxy.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status haproxy.service' for details.
이런 경우 간단하게 해결할 수 있다.
sudo를 사용해서 서비스를 실행하면 된다.
sudo systemctl start haporxy
'Linux' 카테고리의 다른 글
Bash Script [: missing `]' 오류 해결 방법 (0) | 2023.10.23 |
---|---|
Disk BandWidth, IOPS 측정하는 방법 (0) | 2023.09.13 |
apt-get update 오류(404 Not Found) (0) | 2023.08.22 |
remote server 패스워드 입력 없이 sudo command 사용(shell에서 사용하기) (0) | 2023.08.17 |
Hyper-v 사용자 로그인 후 멈춤 현상 (0) | 2023.07.03 |