You are not logged in.

#1 2012-09-20 09:24:14

snufkin
Member
From: Sweden
Registered: 2008-11-08
Posts: 71

[SOLVED] systemctl: Failed to get D-Bus connection

Fresh install on a brand new laptop using the latest install medium (2012.09.07).

Whenever I try to use the systemctl command I get the following error message:

Failed to get D-Bus connection: No connection to service manager.

Can't enable/disable/start/stop/whatever anything because of this.

Tried appending init=/bin/systemd to GRUB_CMDLINE_LINUX, but all to no avail (and yes, I made sure to regenerate grub.cfg).

Don't really know what logs/info you need, but let me know and I'll post it. I've looked through the logs in /var/log but couldn't even find an error message there.

Edit:
I've also removed quiet from the kernel parameter. Still no errors (not even in journalctl).

Edit2:
Derp. The error stems from systemd not being used. I must have typed the kernel parameter wrong the first time, because going back and trying it again did the trick for me.

Last edited by snufkin (2012-09-20 10:50:27)

Offline

#2 2012-09-27 12:21:39

lybin
Member
From: Russia / Siberia
Registered: 2012-09-27
Posts: 16

Re: [SOLVED] systemctl: Failed to get D-Bus connection

Hi! So the problem gone? I do not understand what you did.

Offline

#3 2012-09-27 12:35:49

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,451
Website

Re: [SOLVED] systemctl: Failed to get D-Bus connection

Their problem, from what I can tell, was that they were still booting with sysvinit, possibly due to a typo in the "init=/bin/systemd"

So, if you're getting the same problem, make sure that you're actually booting with systemd.

ps -p 1 -o comm=

Should return "systemd". If not, you're not booing with systemd.

Last edited by WorMzy (2012-09-27 12:36:32)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2012-09-27 13:06:59

lybin
Member
From: Russia / Siberia
Registered: 2012-09-27
Posts: 16

Re: [SOLVED] systemctl: Failed to get D-Bus connection

WorMzy, thank you!

Offline

#5 2012-09-28 00:19:13

lybin
Member
From: Russia / Siberia
Registered: 2012-09-27
Posts: 16

Re: [SOLVED] systemctl: Failed to get D-Bus connection

Offline

Board footer

Powered by FluxBB