systemctl은 서비스를 다시 시작할 때 시간 초과를 유지합니다.

systemctl은 서비스를 다시 시작할 때 시간 초과를 유지합니다.

저는 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

다음에 대해 이 오류를 발견했습니다.우분투그리고 RHEL 7과 관련된 것일 수도 있습니다.허점.

답변1

이것은 문제입니다 polkit.service. 나에게는 시작된 것이 아닙니다.

polkitd추가 조사 결과 해당 사용자가 존재하지 않는 것으로 확인되었습니다 . 그런 다음 문제가 해결 yum reinstall polkit되었습니다 .systemctl start polkit

직접 실행하여 디버깅합니다 polkitd./usr/lib/polkit-1/polkitd

답변2

dbus 문제일 수도 있습니다. 다시 설치해 보세요.

apt install dbus

dbus 구성은 업그레이드가 완료될 때까지 업그레이드되지 않으므로 설치 후 다시 시작하십시오.

관련 정보