ubuntuusers.de

Failed to start /etc/rc.local Compatibility.

Status: Ungelöst | Ubuntu-Version: Ubuntu 15.04 (Vivid Vervet)
Antworten |

Limator

Anmeldungsdatum:
9. März 2010

Beiträge: 173

Hallo zusammen,

der Bootvorgang meines Notebooks "hängt" immer etwas. In der /var/log/boot.log habe ich dann folgende Meldung gefunden: [FAILED] Failed to start /etc/rc.local Compatibility.

systemctl --failed

gibt dies aus:

  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
● rc-local.service             loaded failed failed /etc/rc.local Compatibility
● systemd-modules-load.service loaded failed failed Load Kernel Module

s

Könnte mir bitte jemand helfen, wie ich das wegbekommen kann? ^^

Vielen Dank vorab.

Grüße

Bearbeitet von Taomon:

Bitte benutze Forum/Syntax Danke.

Benno-007

Anmeldungsdatum:
28. August 2007

Beiträge: 29240

Wohnort: Germany

Schau dir die rc.local in Baustelle/systemd an, wenn du sie brauchst. Ob das "etwas Hängen" daran liegt, bezweifel ich.

Limator

(Themenstarter)

Anmeldungsdatum:
9. März 2010

Beiträge: 173

Hallo,

ich weiß nicht worauf du hinaus willst. ein

 systemctl cat rc-local wirft das aus:
# /lib/systemd/system/rc-local.service
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.local is executable.
[Unit]
Description=/etc/rc.local Compatibility
ConditionFileIsExecutable=/etc/rc.local
After=network.target

[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
RemainAfterExit=yes

Kann mir jemand helfen den Fehler loszuwerden?

Vielen Dank! .

Bearbeitet von Taomon:

Codeblock hinzugefügt.

Benno-007

Anmeldungsdatum:
28. August 2007

Beiträge: 29240

Wohnort: Germany

Hallo,

ohne Codeblock nicht lesbar - dieses Mal mach ich das für dich:

Limator schrieb:

Hallo,

ich weiß nicht worauf du hinaus willst. ein systemctl cat rc-local wirft das aus:

> # /lib/systemd/system/rc-local.service
> #  This file is part of systemd.
> #
> #  systemd is free software; you can redistribute it and/or modify it
> #  under the terms of the GNU Lesser General Public License as published by
> #  the Free Software Foundation; either version 2.1 of the License, or
> #  (at your option) any later version.
> 
> # This unit gets pulled automatically into multi-user.target by
> # systemd-rc-local-generator if /etc/rc.local is executable.
> [Unit]
> Description=/etc/rc.local Compatibility
> ConditionFileIsExecutable=/etc/rc.local
> After=network.target
> 
> [Service]
> Type=forking
> ExecStart=/etc/rc.local start
> TimeoutSec=0
> RemainAfterExit=yes

Kann mir jemand helfen den Fehler loszuwerden?

Vielen Dank!

Nun fügst du einfach gemäß Wiki noch den folgenden fehlenden Abschnitt ein, indem du

sudo systemctl edit --full rc-local

aufrufst, folgendes am Ende einfügst

[Install]
WantedBy=multi-user.target

und mit

sudo systemctl reenable rc-local

aktivierst.

muellers-esel

Anmeldungsdatum:
7. September 2010

Beiträge: Zähle...

Eien kleine Erklärung zu systemd http://www.elastic2ls.com/systemd-eine-uebersicht/

Benno-007

Anmeldungsdatum:
28. August 2007

Beiträge: 29240

Wohnort: Germany

In deiner Fehlermeldung ging es ja um die rc.local:

rc-local.service             loaded failed failed /etc/rc.local Compatibility

Also könntest du das aktivieren, um zu sehen, ob die Verzögerung dann weg ist. Schon probiert?

Antworten |