systemd-journald stops logging and floods dmesg with errors like: Failed to write entry (20 items, 584 bytes), ignoring: Cannot assign requested address
Issue
-
systemd-journald stops logging,
journalctl --verify
reports failures, e.g.:25ab600: invalid object File corruption detected at /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system.journal:25ab600 (of 41943040 bytes, 94%). FAIL: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system.journal (Cannot assign requested address) PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000bdfcdb-000527fad17511b2.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000bcf55e-000527fa72269ae4.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000bbedfc-000527fa17abf6be.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000bae6f3-000527f9bd80590c.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b9dfd5-000527f9676aebd7.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b8d8a0-000527f910f023e0.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b7d1ca-000527f8bd3939d3.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b6ca9d-000527f871792b04.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b5c389-000527f826dbced6.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b4bcba-000527f7d7dea1ea.journal PASS: /run/log/journal/7866e73c9142489c85dae3c2e5ac7595/system@ca31ba23210b4e308fe0de700ac150d9-0000000000b3b562-000527f78cd99ad3.journa
... and dmesg is completely full (or flooded) with systemd-journald errors, e.g.:
~]# dmesg | head -5 [274530.124993] systemd-journald[522]: Failed to write entry (21 items, 871 bytes), ignoring: Cannot assign requested address [274530.125690] systemd-journald[522]: Failed to write entry (20 items, 807 bytes), ignoring: Cannot assign requested address [274530.126389] systemd-journald[522]: Failed to write entry (21 items, 783 bytes), ignoring: Cannot assign requested address [274530.127034] systemd-journald[522]: Failed to write entry (21 items, 853 bytes), ignoring: Cannot assign requested address [274530.127732] systemd-journald[522]: Failed to write entry (21 items, 843 bytes), ignoring: Cannot assign requested address ~]# dmesg | tail -5 [274657.848692] systemd-journald[522]: Failed to write entry (20 items, 857 bytes), ignoring: Cannot assign requested address [274657.863314] systemd-journald[522]: Failed to write entry (21 items, 851 bytes), ignoring: Cannot assign requested address [274657.863546] systemd-journald[522]: Failed to write entry (21 items, 825 bytes), ignoring: Cannot assign requested address [274657.864017] systemd-journald[522]: Failed to write entry (21 items, 868 bytes), ignoring: Cannot assign requested address [274657.864307] systemd-journald[522]: Failed to write entry (20 items, 848 bytes), ignoring: Cannot assign requested address ~]# dmesg | wc -l 8208 ~]# dmesg | grep -v 'Failed to write entry .* ignoring: Cannot assign requested address' | wc -l 18
Environment
- Red Hat Enterprise Linux 7
- systemd version older than
systemd-219-19.el7_2.9
- systemd version older than
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.