Ubuntu 14.04 dbus는 데몬 프로세스를 시작할 수 없습니다

Ubuntu 14.04 dbus는 데몬 프로세스를 시작할 수 없습니다

실행 중인 시스템 로그 sudo invoke-rc.d dbus restart:

Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> caught signal 15, shutting down normally.
Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> (eth0): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> (eth0): deactivating device (reason 'removed') [36]
Feb 28 22:01:45 javaprophet-desktop bluetoothd[853]: Terminating
Feb 28 22:01:45 javaprophet-desktop bluetoothd[853]: Stopping SDP server
Feb 28 22:01:45 javaprophet-desktop bluetoothd[853]: Exit
Feb 28 22:01:45 javaprophet-desktop kernel: [13529.716940] init: systemd-logind main process (886) killed by TERM signal
Feb 28 22:01:45 javaprophet-desktop bluez: Stopping uarts
Feb 28 22:01:45 javaprophet-desktop bluez: Stopping rfcomm
Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> (eth0): canceled DHCP transaction, DHCP client pid 2584
Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> (eth0): canceled DHCP transaction, DHCP client pid 2818
Feb 28 22:01:45 javaprophet-desktop vmnet-natd: RTM_DELROUTE: index:2
Feb 28 22:01:45 javaprophet-desktop vmnetBridge: RTM_DELROUTE: index:2
Feb 28 22:01:45 javaprophet-desktop vmnet-natd: RTM_DELADDR: index:2, addr:10.0.0.10
Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> Writing DNS information to /sbin/resolvconf
Feb 28 22:01:45 javaprophet-desktop kernel: [13530.325668] userif-2: sent link down event.
Feb 28 22:01:45 javaprophet-desktop kernel: [13530.325672] userif-2: sent link up event.
Feb 28 22:01:50 javaprophet-desktop kernel: [13534.750063] init: network-manager main process (946) killed by KILL signal
Feb 28 22:01:50 javaprophet-desktop ModemManager[844]: <warn>  Could not acquire the 'org.freedesktop.ModemManager1' service name
Feb 28 22:01:50 javaprophet-desktop ModemManager[844]: <info>  ModemManager is shut down
Feb 28 22:01:50 javaprophet-desktop kernel: [13534.772083] init: Disconnected from D-Bus system bus
Feb 28 22:01:50 javaprophet-desktop dbus[23696]: [system] AppArmor D-Bus mediation is enabled
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Bluetooth daemon 4.101
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Starting SDP server
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: DIS cannot start: GATT is disabled
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Failed to init deviceinfo plugin
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Failed to init proximity plugin
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Failed to init time plugin
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Failed to init alert plugin
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Failed to init thermometer plugin
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Failed to init gatt_example plugin
Feb 28 22:01:50 javaprophet-desktop bluetoothd[23705]: Bluetooth Management interface initialized
Feb 28 22:01:50 javaprophet-desktop cinnamon-session[1947]: WARNING: Application 'cinnamon.desktop' killed by signal 15
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.systemd1' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:51 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.ConsoleKit' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.ColorManager' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.ConsoleKit' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Permission denied
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Feb 28 22:01:52 javaprophet-desktop dbus[23696]: [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success

시스템 로그에서 수천 번 반복되는 것을 발견했기 때문에 이것을 실행했습니다.

Feb 28 21:49:22 javaprophet-desktop dbus[807]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Feb 28 21:49:22 javaprophet-desktop dbus[807]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Feb 28 21:49:22 javaprophet-desktop NetworkManager[946]: <error> [1456724962.960417] [nm-manager-auth.c:87] pk_authority_get(): Failed to initialize PolicyKit: (23) Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success

나는 약간의 조사를 하고 dbus를 다시 시작하기로 결정했습니다. 네트워크 관리자가 다시 시작되지 않는 문제가 있습니다. 아마도 부팅 시 로드되지 않지만 org.freedesktop.PolicyKit1부팅 시에도 로드되지 않기 때문일 것입니다. 나는 그것을 실행했고 sudo /usr/lib/policykit-1/polkitd그것을 닫을 때까지 잘 작동했지만 그 후에 더 많은 오류가 발생했습니다. 무엇이 잘못되었고 어떻게 해결하나요?

답변1

나는 이것이 내 dbus-daemon-launch-helper의 chmod라는 것을 알았습니다.

-rwxr-xr-- 1 root root 304K Jun 25  2015 dbus-daemon-launch-helper

그랬어야 했어

-rwsr-xr-- 1 root messagebus 304K Jun 25  2015 dbus-daemon-launch-helper

변경 후 지금은 잘 작동하는 것 같습니다.

관련 정보