[lfs-support] shutting down systemd

Thef keo floflu19 at gmail.com
Sun May 29 14:40:59 PDT 2016


2016-05-29 21:00 GMT+02:00 <lfs-support-request at lists.linuxfromscratch.org>:

> Send lfs-support mailing list submissions to
>         lfs-support at lists.linuxfromscratch.org
>
> 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
>         lfs-support-request at lists.linuxfromscratch.org
>
> You can reach the person managing the list at
>         lfs-support-owner at lists.linuxfromscratch.org
>
> 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 <floflu19 at gmail.com>
> To: lfs-support at lists.linuxfromscratch.org
> Subject: Re: [lfs-support] lfs-support Digest, Vol 500, Issue 1
> Message-ID:
>         <
> CAARbGHz3vnWt-Xbr7bU2RggbG8NHazq+BQNng7FBDs6yfFTZcA at 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, <lfs-support-request at lists.linuxfromscratch.org> a
> écrit :
>
> > Send lfs-support mailing list submissions to
> >         lfs-support at lists.linuxfromscratch.org
> >
> > 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
> >         lfs-support-request at lists.linuxfromscratch.org
> >
> > You can reach the person managing the list at
> >         lfs-support-owner at lists.linuxfromscratch.org
> >
> > 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 <floflu19 at gmail.com>
> > To: lfs-support at lists.linuxfromscratch.org
> > Subject: [lfs-support] lfs-support Digest
> > Message-ID:
> >         <
> > CAARbGHxCRbALeyDppOA0j7Oas5p_qwN2K8hxrJccczbkPyKdcg at 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 <baloukasthan at sch.gr>
> > To: lfs-support at lists.linuxfromscratch.org
> > Subject: Re: [lfs-support] lfs-support Digest
> > Message-ID: <5748AF55.8040803 at sch.gr>
> > 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 <bruce.dubbs at gmail.com>
> > To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> > Subject: Re: [lfs-support] shutting down systemd
> > Message-ID: <5748B161.70803 at gmail.com>
> > 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 <baloukasthan at sch.gr>
> To: lfs-support at lists.linuxfromscratch.org
> Subject: Re: [lfs-support] shutting down systemd (was lfs-support
>         Digest, Vol 500, Issue 1)
> Message-ID: <574AE4FE.90206 at sch.gr>
> 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 <baloukasthan at sch.gr>
> To: lfs-support at lists.linuxfromscratch.org
> Subject: Re: [lfs-support] shutting down systemd (was lfs-support
>         Digest, Vol 500, Issue 1)
> Message-ID: <574B287D.1040202 at sch.gr>
> 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 <floflu19 at gmail.com <mailto:floflu19 at gmail.com>>
> >     To: lfs-support at lists.linuxfromscratch.org
> >     <mailto:lfs-support at lists.linuxfromscratch.org>
> >     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 <baloukasthan at sch.gr <mailto:
> baloukasthan at sch.gr>>
> >     To: lfs-support at lists.linuxfromscratch.org
> >     <mailto:lfs-support at lists.linuxfromscratch.org>
> >     Subject: Re: [lfs-support] lfs-support Digest
> >     Message-ID: <5748AF55.8040803 at sch.gr <mailto:5748AF55.8040803 at sch.gr
> >>
> >     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 <bruce.dubbs at gmail.com <mailto:
> bruce.dubbs at gmail.com>>
> >     To: LFS Support List <lfs-support at lists.linuxfromscratch.org
> >     <mailto:lfs-support at lists.linuxfromscratch.org>>
> >     Subject: Re: [lfs-support] shutting down systemd
> >     Message-ID: <5748B161.70803 at gmail.com <mailto:
> 5748B161.70803 at gmail.com>>
> >     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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160529/0d7f0efe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: journalctl-u
Type: application/octet-stream
Size: 11360 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160529/0d7f0efe/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps-ef
Type: application/octet-stream
Size: 722 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160529/0d7f0efe/attachment-0001.obj>


More information about the lfs-support mailing list