- Posted In
- Red Hat Enterprise Linux
We have a problem with an up-to-date RHEL 7.2 Server.
This server hosts a proxy server (squid-3.3.8) and we send all access log to syslog (rsyslog-7.4.7).
After a while, we get no more log and instead we have thousands of journald error lines :
#dmesg ... [333311.366625] systemd-journald: Failed to write entry (20 items, 616 bytes), ignoring: Cannot assign requested address [333311.401662] systemd-journald: Failed to write entry (20 items, 633 bytes), ignoring: Cannot assign requested address [333311.476621] systemd-journald: Failed to write entry (20 items, 615 bytes), ignoring: Cannot assign requested address ... # systemctl status systemd-journald ● systemd-journald.service - Journal Service Loaded: loaded (/usr/lib/systemd/system/systemd-journald.service; static; vendor preset: disabled) Active: active (running) since Thu 2015-12-17 14:06:59 CET; 3 days ago Docs: man:systemd-journald.service(8) man:journald.conf(5) Main PID: 810 (systemd-journal) Status: "Processing requests..." CGroup: /system.slice/systemd-journald.service └─810 /usr/lib/systemd/systemd-journald Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. # journalctl --verify 4f7160: invalid object File corruption detected at /run/log/journal/54ddca845fdd4b4c95e9da7b01a9b28f/system.journal:4f7160 (of 8388608 bytes, 62%). FAIL: /run/log/journal/54ddca845fdd4b4c95e9da7b01a9b28f/system.journal (Cannot assign requested address) PASS: /firstname.lastname@example.org ...
If we removed the corrupted file and restart the service, we receive again logs but the problem appears again after a while
# rm /run/log/journal/54ddca845fdd4b4c95e9da7b01a9b28f/system.journal # systemctl restart systemd-journald.service
Do you have an idea to permanently correct this dysfunction?
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.