How to debug failed systemd-modules-load.service?
Nikolaus Rath
Nikolaus at rath.org
Thu Nov 6 05:33:37 GMT 2014
Nikolaus Rath <Nikolaus-BTH8mxji4b0 at public.gmane.org> writes:
> Hello,
>
> I noticed that error messages relating to systemd-modules-load.service
> on startup.
>
> After the boot, I ran
>
> $ sudo systemctl status systemd-modules-load.service
> ● systemd-modules-load.service - Load Kernel Modules
> Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
> Active: failed (Result: exit-code) since Tue 2014-11-04 18:09:58 PST; 2min 53s ago
> Docs: man:systemd-modules-load.service(8)
> man:modules-load.d(5)
> Process: 679 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
> Main PID: 679 (code=exited, status=1/FAILURE)
>
> Can someone tell me where to go from here? Is there a way to get a more
> specific error message?
>
> Also, the above systemctl command runs for about 40 seconds after printing the
> last line - is that expected behavior?
It seems this was related to a corrupted journal (see #764557). After
running journalctl --verify, "systemctl status
systemd-modules-load.service" now runs much more quickly *and* also
shows the actual error message;
# systemctl status systemd-modules-load
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Wed 2014-11-05 20:42:32 PST; 48min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 693 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 693 (code=exited, status=1/FAILURE)
Nov 05 20:42:32 vostro systemd[1]: systemd-modules-load.service: main process exited...URE
Nov 05 20:42:32 vostro systemd[1]: Failed to start Load Kernel Modules.
Nov 05 20:42:32 vostro systemd[1]: Unit systemd-modules-load.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
My issue is solved, just posting this for reference.
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
More information about the Pkg-systemd-maintainers
mailing list