On 30/05/2016 12:40 πμ, Thef keo wrote:

     >     On 27/05/2016 10:36 μμ, Thef keo wrote:
     >      > Hello,
     >      >
     >      > I followed LFS 7.9 Book.
     >      > I finished installing the system and I tried to solve à
    problem :
     >      > During the last command shutdown -r now, I get the
    following result:
     >      > Failed to talk to init daemon .
     >      >
     >      > I tried several commands to correct this problem like
    systemctl
     >     poweroff
     >      > but it returns : Failed to get D-Bus connection: Unknown
    error -1.
     >      >
     >      > I restarted the installation of systemd but this has not
    solved the
     >      > problem.
     >      >
     >      > Do I have a problem with a package or is it something else ?
     >      >
     >     I would also check if something is wrong with the dbus
    installation.
     >     Were the commands ran as root?
     >     What's the output of
     >     echo $DBUS_SESSION_BUS_ADDRESS
     >     ?
     >     Date: Fri, 27 May 2016 15:43:13 -0500
     >     From: Bruce Dubbs <[email protected]
     >
     >     I cannot help, but please make sure the message title is
    descriptive
     >     when posting.
     >
     >
     > Hi,
     >
     > Yes, I ran the commands as root, and I even tried reinstalling
    dbus but
     > it doesn't solve the problem.
     >
     > When I tried echo $DBUS_SESSION_BUS_ADDRESS, this is no message (the
     > variable has an empty value)
     >
     > So what I need to do is to declare this variable ?
     >
     >
     > Resenting because I replied to the wrong message and confused the OP.
     >
     > Receiving the list's mails batched makes it difficult to reply.
     > Maybe you should go to your mailing list account's preferences

     > and disable that. On LFS mailing lists bottom posting is preferred,
     > so please use this style.

     > DBUS_SESSION_BUS_ADDRESS should be set automatically.
     > When I login as root to a linux console, it is set to
     > unix:path=/run/user/0/bus

     > As a next step I suggest to run `ps -ef|grep dbus`
     > and then `journalctl -u dbus` and `journalctl --user|grep -i bus`
     > hopefully will give a clue on what's wrong.

    >--
    >Thanos


Thanks again for your answer and I'm sorry for missing Bruce's advice
but I think that I fixed the object problem of the mail. I also turned
off some preferences in my mailing list account.


But you didn't choose No to the question:
Would you like to receive list mail batched in a daily digest?
If you do that you will receive the list mails individually
and it will be a lot easier to reply. If you are receiving them batched
you have to edit the subject and trim to reply. See how I trimmed yours
in this reply.

I did one command before all your steps, it's ' /etc/init.d/dbus status '
and I get the following message :
[FAIL] dbus is not running ... failed !

What is /etc/init.d/dbus? Is it sysvinit bootscript?
I thought you were using systemd. The commands to control the
dbus service on a system running systemd are

systemctl stop dbus
systemctl start dbus
systemctl status dbus

and some more you can find in systemctl man page.

Maybe the problem is that you mixed instructions
by the sysvinit and systemd books.

Then I tried to active dbus service but I always get my error "Failed to
get D-Bus connection: Unknown error -1"



After that, I tried your steps.
For the last command ' journalctl --user|grep -i bus ' I got " No
journal files were founded. "

Please, you can see my other results in the attachment.


--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to