question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to connect to dbus service.

See original GitHub issue

ENV OS : Google cloud Centos7

When i used sudo weresync -C --grub-partition 1 /dev/sda /dev/sdb, the command fails.

output error Failed to connect to dbus service. Is it running?

But dbus service status is active(running).

How can i solve this problem?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
brybaliciouscommented, Feb 24, 2021

Also, for anyone following

I have the same issue. @DonyorM Can we get a fix or solution? OS: Google Cloud Debian 10 Buster. What I did: (Same as @kwkimg3100 I assume) https://blog.kevinlin.info/post/google-compute-engine-reducing-the-size-of-a-persistent-disk

Also, for anyone following this link, the command sudo weresync -C --grub-partition 1 /dev/sda /dev/sdb now seems to fail. --grub-partition seems to have been deprecated in favor of --root-partition and --boot-partition

0reactions
DonyorMcommented, Nov 23, 2019

Yes, the .deb should handle copying the policy file properly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to connect to bus - Ask Ubuntu
I just found another solution: sudo /etc/init.d/dbus start, that works and starts the dbus system succesfully.
Read more >
cant start systemd - Failed to get D-Bus connection - Super User
Explanation. Failed to get D-Bus connection: Unknown error -1 means that systemd is not running. Here is my LMDE 2 installation ...
Read more >
Failed to get D-Bus connection: Connection refused
ANSWER: We decided to continue running systemctl as sudo and instead to just specify the user in the .service file so that the...
Read more >
What does "Client failed to connect to the D-BUS daemon ...
Solution : · If dbus-launch is not installed on your system you have to install dbus-x11 package which contains the dbus-launch program. ·...
Read more >
System fails to boot due to dbus issue.
System is not able to boot due to dbus.service failing: Raw. Aug 23 00:46:03 myhostname systemd-logind: Failed to connect to system bus: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found