[systemd-devel] systemd unexpectedly dropping into rescue mode - how do I best debug this?
Ingo Molnar
mingo at kernel.org
Thu Oct 4 03:05:45 PDT 2012
* Tom Gundersen <teg at jklm.no> wrote:
> Hi Ingo,
>
> On Thu, Oct 4, 2012 at 11:12 AM, Ingo Molnar <mingo at kernel.org> wrote:
> > I'm wondering how to debug the following systemd problem:
>
> [...]
>
> > Here are the units that are showing some sort of error:
> >
> > lyra:~> systemctl --all | grep -i err
> > exim.service error inactive dead exim.service
> > iscsi.service error inactive dead iscsi.service
> > iscsid.service error inactive dead iscsid.service
> > livesys-late.service error inactive dead livesys-late.service
> > livesys.service error inactive dead livesys.service
> > named.service error inactive dead named.service
> > postfix.service error inactive dead postfix.service
> > remount-rootfs.service error inactive dead remount-rootfs.service
> > ypserv.service error inactive dead ypserv.service
>
> You might get useful information from:
>
> # systemctl status remount-rootfs.service
>
> (and similarly for the other ones).
Querying those gives me the following uninformative output:
[root at lyra ~]# systemctl status $(systemctl --all | grep error | cut -d' ' -f1)
exim.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
iscsi.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
iscsid.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
livesys-late.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
livesys.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
named.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
postfix.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
remount-rootfs.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
ypserv.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
[root at lyra ~]#
Trying to start it again gives:
[root at lyra ~]# systemctl start remount-rootfs.service
Failed to issue method call: Unit remount-rootfs.service failed
to load: No such file or directory. See system logs and
'systemctl status remount-rootfs.service' for details.
neither system logs nor 'systemctl status
remount-rootfs.service' tells us anything.
Thanks,
Ingo
More information about the systemd-devel
mailing list