![systemctl은 서비스를 다시 시작할 때 시간 초과를 유지합니다.](https://linux55.com/image/79566/systemctl%EC%9D%80%20%EC%84%9C%EB%B9%84%EC%8A%A4%EB%A5%BC%20%EB%8B%A4%EC%8B%9C%20%EC%8B%9C%EC%9E%91%ED%95%A0%20%EB%95%8C%20%EC%8B%9C%EA%B0%84%20%EC%B4%88%EA%B3%BC%EB%A5%BC%20%EC%9C%A0%EC%A7%80%ED%95%A9%EB%8B%88%EB%8B%A4..png)
저는 CentOS 7.2를 실행하고 있습니다. 아래를 참조하세요.
# systemctl stop firewalld
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to stop firewalld.service: Connection timed out
Failed to get load state of firewalld.service: Connection timed out
journalctl
방금 다음 오류를 보고했습니다.[system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
답변1
이것은 문제입니다 polkit.service
. 나에게는 시작된 것이 아닙니다.
polkitd
추가 조사 결과 해당 사용자가 존재하지 않는 것으로 확인되었습니다 . 그런 다음 문제가 해결 yum reinstall polkit
되었습니다 .systemctl start polkit
직접 실행하여 디버깅합니다 polkitd
./usr/lib/polkit-1/polkitd
답변2
dbus 문제일 수도 있습니다. 다시 설치해 보세요.
apt install dbus
dbus 구성은 업그레이드가 완료될 때까지 업그레이드되지 않으므로 설치 후 다시 시작하십시오.