LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2013, 07:32 AM   #1
k84834
Member
 
Registered: Aug 2012
Posts: 142

Rep: Reputation: Disabled
systemctl failed to get Dbus connection: No connection to service manager


Hi every body
I works on buildroot for some days.
now I have an issue with systemctl.
in fact, I want to initialize and start lighttpd.
according to this page, I want to run "systemctl start lighttpd" to initialize lighttpd server.
but I face with "systemctl failed to get Dbus connection: No connection to service manager" error.
I have searched and find that I must boot with systemd.
I must create some symlinks to boot with systemd

when I run "cat /proc/1/comm" I have received: "init" instead of systemd.

after I create symlinks like " ln -sf /usr/lib/systemd/systemd /sbin/init" and reboot the system, my boot crash before init step.

have any one any suggestion?!
thanks from all
 
Old 07-14-2013, 07:56 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 105Reputation: 105
dbus needs to be running first.


Code:
sudo systemctl start dbus.service

sudo systemctl enable dbus.service
 
Old 07-14-2013, 09:20 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
The "cat /proc/1/comm" will always show "init", as that is the name the kernel uses to start init. The kernel init process does an exec of /sbin/init, which in a systemd environment is a symbolic link to /bin/systemd, so the command to invoke systemd is init.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PulseAudio Volume Control; Connection Failed; Connection Terminated buccaneere Linux - Software 0 01-29-2013 03:44 AM
vsftpd not working: Connection attempt failed with "ECONNREFUSED - Connection refused davidlu766 Linux - Server 7 05-03-2010 09:34 PM
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 02:17 AM
service named error "rndc: conenct failed: connection refused" Reu Linux - General 1 07-12-2004 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration