Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemctl fails with "Failed to get D-Bus connection"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
momesana
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 212
Location: Germany (Bremen)

PostPosted: Sat Apr 18, 2015 6:47 pm    Post subject: systemctl fails with "Failed to get D-Bus connection&qu Reply with quote

Hi,

I had some serious filesystem-corruptions on my gentoo box lately. After fixing them and updating the system I couldn't get systemctl to operate correctly anymore. Trying to call it results in the following error-message:
Failed to get D-Bus connection: Operation not permitted. Journald hasn't been anything eversince I rebooted the system after the update. For what it's worth, the systemd process seems to be up and running and starts all the processes at boot time so that the system is functional to some extent:
Code:

$ ps ax | grep systemd
  277 ?        Ss     0:00 /usr/lib/systemd/systemd-udevd --daemon


I even tried emerge --emptytree @system but to no avail. Has anyone encountered similar problems or knows a workaround? Thx in advance.
_________________
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Sat Apr 18, 2015 10:59 pm    Post subject: Reply with quote

I saw someone recently have dbus not start up because the user/group messagebus somehow did not exist... Not sure if this is the same problem you have. So journald is broken too? Need some log info to help debug.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
momesana
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 212
Location: Germany (Bremen)

PostPosted: Sat Apr 18, 2015 11:48 pm    Post subject: Reply with quote

eccerr0r wrote:
I saw someone recently have dbus not start up because the user/group messagebus somehow did not exist... Not sure if this is the same problem you have. So journald is broken too? Need some log info to help debug.

The problem is that total lack of information because journald is not working anymore. dbus itself is running:

Code:

localhost momesana # ps ax | grep dbus
 1980 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 3891 ?        S      0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
 3892 ?        Ss     0:01 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session


The last entry generated by journald is from when I restarted the system after the mentioned update that led to the issue described here.

regards
mehdi
_________________
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum