2016-05-29 21:00 GMT+02:00 <[email protected]>:
> Send lfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.linuxfromscratch.org/listinfo/lfs-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lfs-support digest..." > > > Today's Topics: > > 1. Re: lfs-support Digest, Vol 500, Issue 1 (Thef keo) > 2. Re: shutting down systemd (was lfs-support Digest, Vol 500, > Issue 1) (Thanos Baloukas) > 3. Re: shutting down systemd (was lfs-support Digest, Vol 500, > Issue 1) (Thanos Baloukas) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 29 May 2016 12:01:37 +0200 > From: Thef keo <[email protected]> > To: [email protected] > Subject: Re: [lfs-support] lfs-support Digest, Vol 500, Issue 1 > Message-ID: > < > caarbghz3vnwt-xbr7bu2rggbg8nhazq+bqnng7fbds6yfft...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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 ? > > Regards, > > Florent > Le 28 mai 2016 21:04, <[email protected]> a > écrit : > > > Send lfs-support mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.linuxfromscratch.org/listinfo/lfs-support > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of lfs-support digest..." > > > > > > Today's Topics: > > > > 1. lfs-support Digest (Thef keo) > > 2. Re: lfs-support Digest (Thanos Baloukas) > > 3. Re: shutting down systemd (Bruce Dubbs) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 27 May 2016 21:36:53 +0200 > > From: Thef keo <[email protected]> > > To: [email protected] > > Subject: [lfs-support] lfs-support Digest > > Message-ID: > > < > > caarbghxcrbaleydppoa0j7oas5p_qwn2k8hxrjccczbkpyk...@mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > 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 ? > > > > Regards, > > > > Florent > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160527/a5d517a9/attachment-0001.html > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Fri, 27 May 2016 23:34:29 +0300 > > From: Thanos Baloukas <[email protected]> > > To: [email protected] > > Subject: Re: [lfs-support] lfs-support Digest > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > 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 > > ? > > > > -- > > Thanos > > > > > > ------------------------------ > > > > Message: 3 > > Date: Fri, 27 May 2016 15:43:13 -0500 > > From: Bruce Dubbs <[email protected]> > > To: LFS Support List <[email protected]> > > Subject: Re: [lfs-support] shutting down systemd > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > Thanos Baloukas 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 > > > > I cannot help, but please make sure the message title is descriptive when > > posting. > > > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > -- > > http://lists.linuxfromscratch.org/listinfo/lfs-support > > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > > Unsubscribe: See the above information page > > > > > > ------------------------------ > > > > End of lfs-support Digest, Vol 500, Issue 1 > > ******************************************* > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160529/63c9955c/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sun, 29 May 2016 15:47:58 +0300 > From: Thanos Baloukas <[email protected]> > To: [email protected] > Subject: Re: [lfs-support] shutting down systemd (was lfs-support > Digest, Vol 500, Issue 1) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > On 27/05/2016 11:43 μμ, Bruce Dubbs wrote: > > Thanos Baloukas 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 > > > > I cannot help, but please make sure the message title is descriptive > > when posting. > > > > 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 ? > > > Hi Florent > > You seem to missed that Bruce correctly changed the thread's subject. > His message is included, see above. Receiving the list's mails batched > makes it difficult to answer. 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. > > Now to your issue. 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 --no-pager|grep dbus` > hopefully will give a clue on what's wrong. > > -- > Thanos > > > ------------------------------ > > Message: 3 > Date: Sun, 29 May 2016 20:35:57 +0300 > From: Thanos Baloukas <[email protected]> > To: [email protected] > Subject: Re: [lfs-support] shutting down systemd (was lfs-support > Digest, Vol 500, Issue 1) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > On 29/05/2016 01:01 μμ, Thef keo wrote: > > > > Message: 1 > > Date: Fri, 27 May 2016 21:36:53 +0200 > > From: Thef keo <[email protected] <mailto:[email protected]>> > > To: [email protected] > > <mailto:[email protected]> > > Subject: [lfs-support] lfs-support Digest > > Message-ID: > > > > 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 ? > > > > Regards, > > > > Florent > > ------------------------------ > > > > Message: 2 > > Date: Fri, 27 May 2016 23:34:29 +0300 > > From: Thanos Baloukas <[email protected] <mailto: > [email protected]>> > > To: [email protected] > > <mailto:[email protected]> > > Subject: Re: [lfs-support] lfs-support Digest > > Message-ID: <[email protected] <mailto:[email protected] > >> > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > 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] <mailto: > [email protected]>> > > To: LFS Support List <[email protected] > > <mailto:[email protected]>> > > Subject: Re: [lfs-support] shutting down systemd > > Message-ID: <[email protected] <mailto: > [email protected]>> > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > 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. 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 ! 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. Regards, Florent ------------------------------ Subject: Digest Footer -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page ------------------------------ End of lfs-support Digest, Vol 501, Issue
journalctl-u
Description: Binary data
ps-ef
Description: Binary data
-- 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
