You are not logged in.

#1 2012-08-15 19:29:40

marko2010
Member
Registered: 2010-04-17
Posts: 70

[SOLVED] "No connection to service manager" when enabling services

Following the wiki, trying to convert one of my Arch boxes to pure systemd. At step five ( https://wiki.archlinux.org/index.php/Sy … stallation ) where I am supposed to enable units to replace the daemons from rc.conf I hit a brick wall. Basically any time I use the systemctl command I get the message "No connection to service manager"

So running:

#  systemctl status dbus

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

Any idea what is going on?

Last edited by marko2010 (2012-08-17 02:34:42)

Offline

#2 2012-08-15 19:58:10

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] "No connection to service manager" when enabling services

Have you rebooted after configuring everything?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-08-15 20:38:39

marko2010
Member
Registered: 2010-04-17
Posts: 70

Re: [SOLVED] "No connection to service manager" when enabling services

Actually I did not do that because I was afraid essential services would not restart without systemd being configured. But I will give that a try when I get home tonight.

Offline

#4 2012-08-17 02:33:51

marko2010
Member
Registered: 2010-04-17
Posts: 70

Re: [SOLVED] "No connection to service manager" when enabling services

Ok, tested it, and rebooting was what was needed to get rid of that error. Now I have one of my Arch machines running with pure systemd. smile


About the only bump in the road (besides this error) was that I used pacman to remove initscripts and sysvinit BEFORE making sure that my network service was working properly with systemd. Everything is working now, but that was bad planning on my part.

Offline

#5 2013-03-25 14:34:35

batot
Banned
From: Poland
Registered: 2012-08-15
Posts: 47

Re: [SOLVED] "No connection to service manager" when enabling services

I have this same error:

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

# systemctl enable syslog-ng.service
ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'

[root@FX-8120 etc]# systemctl start syslog-ng
Failed to get D-Bus connection: No connection to service manager.
[root@FX-8120 etc]# 

# uname -a
Linux FX-8120 3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 22:10:25 CET 2013 x86_64 GNU/Linux

# pacman -Q systemd
systemd 198-1

I can't remove  initscript becouse more demons don't work propely with systemd like network, cond, aiccu, cpufreq, spamd, teamspeak3-server, etc....
Have you any idea why don;t work statu option systemctl?

Last edited by batot (2013-03-26 07:47:05)

Offline

Board footer

Powered by FluxBB