Journalctl does not find journal files

Hello,
I have the problem, that when I run journalctl, I don’t see a log:

$ journalctl
No journal files were found.
-- No entries --

The same thing happens as root.

/var/log/journal/ is not empty: There are multiple files with random names.

systemd-journald is active (running).

Any help is appreciated :slight_smile:

2 Likes

Welcome! Is this an EndeavourOS install?

1 Like

Yes, of course

1 Like

try with sudo

$ sudo journalctl
No journal files were found.
-- No entries --

That’s really odd. What does journalctl -p 3 -xb show?

The same:

journalctl -p 3 -xb
No journal files were found.
-- No entries --

Has it always done this?

See the answer here, maybe it will help

2 Likes

I installed my system 4 months ago, but I never used journalctl. I tried it the first time like 2 weeks ago, and never got another result.

This worked. Thanks! :slight_smile:
I must say, I’m amazed by how fast I got answers here!

2 Likes

My pleasure, welcome to EndeavourOS :rocket:

Unfortunately, this didn’t survive a reboot. Can I safely remove these corrupted files? (rm /var/log/journal/*)

i just rm -r /var/log/journal/*

Weird, wonder what exact service was down on reboot out of systemctl status systemd-journald*?

I would assume yes, but don’t know for sure

I just noticed, that my folder might not look as it should look. If I understand it correctly, I should only have one log file. But I have shitloads of those folders. Like 60 or so. Is this normal, or is there something else really wrong?

If I run systemctl status systemd-journald*, everything is active (running).

Yeah it should look something like this:
ls -lAR /var/log/journal/

/var/log/journal/:
total 20
drwxr-sr-x+ 2 root systemd-journal        12288 Apr  1 14:22 5849c30336ac4ef0afc79c2343e8ed44
drwxr-sr-x  2 root systemd-journal-remote  4096 May 11  2020 remote

/var/log/journal/5849c30336ac4ef0afc79c2343e8ed44:
total 4227440
-rw-r-----+ 1 root systemd-journal  25165824 Apr 15 21:01 system.journal
-rw-r-----+ 1 root systemd-journal  16777216 Oct 11  2020 system@0005b165381ca56e-65a1c4a2fea85e0c.journal~
-rw-r-----+ 1 root systemd-journal  33554432 Dec  9 23:33 system@0005b60df7bfcfa7-790f4f52cf3c6e4b.journal~
-rw-r-----+ 1 root systemd-journal   8388608 Dec  9 23:42 system@0005b60e1750dd5a-fe7f7b016562fb33.journal~
-rw-r-----+ 1 root systemd-journal  25165824 Dec 30 14:48 system@0005b7ad16e0e1fc-41c67b45800d1f91.journal~
-rw-r-----+ 1 root systemd-journal  16777216 Apr  1 14:21 system@0005bee76ed0b449-4111e91697a00c37.journal~
-rw-r-----+ 1 root systemd-journal  16777216 Oct 15 21:51 system@a54505f423aa4baf892382f78938c3c1-0000000000000001-0005b165381bfc3e.journal
-rw-r-----+ 1 root systemd-journal   8388608 Oct 17 21:38 system@a54505f423aa4baf892382f78938c3c1-000000000001bce6-0005b1ba249683e5.journal
-rw-r-----+ 1 root systemd-journal  16777216 Oct 19 21:56 system@a54505f423aa4baf892382f78938c3c1-000000000003764e-0005b1e23574414b.journal
-rw-r-----+ 1 root systemd-journal  33554432 Oct 25 22:15 system@a54505f423aa4baf892382f78938c3c1-000000000004c22f-0005b20abc46fe04.journal
-rw-r-----+ 1 root systemd-journal  25165824 Oct 31 18:34 system@a54505f423aa4baf892382f78938c3c1-000000000006dd82-0005b283c448841b.journal
-rw-r-----+ 1 root systemd-journal  25165824 Nov  6 12:09 system@a54505f423aa4baf892382f78938c3c1-00000000000910d1-0005b2f945c2a7e4.journal
-rw-r-----+ 1 root systemd-journal  50331648 Nov 24 00:20 system@a54505f423aa4baf892382f78938c3c1-00000000000a6e03-0005b36c9199301d.journal
-rw-r-----+ 1 root systemd-journal  33554432 Nov 29 22:06 system@a54505f423aa4baf892382f78938c3c1-00000000000cda24-0005b4ccc4757f9c.journal
-rw-r-----+ 1 root systemd-journal  25165824 Dec 20 00:01 system@ca110dad364547ce849bf2854b9999f0-0000000000000001-0005b60e174ffa12.journal
-rw-r-----+ 1 root systemd-journal  16777216 Aug 11  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-000000000005b915-0005ac4b233c07d0.journal
-rw-r-----+ 1 root systemd-journal  16777216 Aug 17  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-0000000000074b42-0005ac98dfe172b4.journal
-rw-r-----+ 1 root systemd-journal  16777216 Aug 23  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-000000000008fb14-0005ad16852aa5eb.journal
-rw-r-----+ 1 root systemd-journal  25165824 Aug 31  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-00000000000ae624-0005ad900e5cec09.journal
-rw-r-----+ 1 root systemd-journal  25165824 Sep  5  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-00000000000c91ca-0005ae29e25b6741.journal
-rw-r-----+ 1 root systemd-journal  33554432 Sep 15  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-00000000000e775b-0005ae91a1c08f15.journal
-rw-r-----+ 1 root systemd-journal  16777216 Sep 20  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-0000000000106752-0005af5577913486.journal
-rw-r-----+ 1 root systemd-journal  16777216 Sep 25  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-00000000001245c3-0005afc407249d1b.journal
-rw-r-----+ 1 root systemd-journal  25165824 Oct  2  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-000000000014389d-0005b0291e7f53f9.journal
-rw-r-----+ 1 root systemd-journal  16777216 Oct  8  2020 system@cd4c8d2c85e24c6ebb2bf93945b3b60e-0000000000162f0d-0005b0b23d3f8734.journal
-rw-r-----+ 1 root systemd-journal  33554432 Jan 15 19:01 system@f9552b7c7b1043908270029c46cfd4e0-0000000000000001-0005b7ad16e035e7.journal
-rw-r-----+ 1 root systemd-journal  25165824 Jan 21 17:54 system@f9552b7c7b1043908270029c46cfd4e0-0000000000046f57-0005b8f2a78122d9.journal
-rw-r-----+ 1 root systemd-journal  83886080 Feb 19 13:05 system@f9552b7c7b1043908270029c46cfd4e0-000000000004f3e0-0005b96a4089ad2f.journal
-rw-r-----+ 1 root systemd-journal  41943040 Mar 15 01:32 system@f9552b7c7b1043908270029c46cfd4e0-000000000007da89-0005bbadf43e565d.journal
-rw-r-----+ 1 root systemd-journal  25165824 Mar 25 13:00 system@f9552b7c7b1043908270029c46cfd4e0-00000000000a3e76-0005bd871b676ef0.journal
-rw-r-----+ 1 root systemd-journal  25165824 Apr 15 21:01 user-1000.journal
-rw-r-----+ 1 root systemd-journal 125829120 Jul 31  2020 user-1000@0005abc07aed7c1f-51b239553e813025.journal~
-rw-r-----+ 1 root systemd-journal  58720256 Oct 11  2020 user-1000@0005b165384a5b40-9155e5e02c7a894e.journal~
-rw-r-----+ 1 root systemd-journal   8388608 Nov  6 19:17 user-1000@0005b3728c8fdcdd-998aec6263d20595.journal~
-rw-r-----+ 1 root systemd-journal 109051904 Dec  9 23:42 user-1000@0005b60e176f9c7f-906e1a6493b327c4.journal~
-rw-r-----+ 1 root systemd-journal  33554432 Apr  1 14:21 user-1000@0005bee76eef70c7-9f4a885bf795ad84.journal~
-rw-r-----+ 1 root systemd-journal 134217728 Dec 20 00:01 user-1000@49c2cd80eaf848cbbdcf9049b6ee69b3-00000000000004e5-0005b60e176f6b7e.journal
-rw-r-----+ 1 root systemd-journal 134217728 Jan 15 19:12 user-1000@49c2cd80eaf848cbbdcf9049b6ee69b3-000000000001f495-0005b6d7888d04b7.journal
-rw-r-----+ 1 root systemd-journal  33554432 Jan 21 17:54 user-1000@49c2cd80eaf848cbbdcf9049b6ee69b3-0000000000044cdf-0005b8f2a33dc312.journal
-rw-r-----+ 1 root systemd-journal 134217728 Feb 19 13:13 user-1000@49c2cd80eaf848cbbdcf9049b6ee69b3-000000000004f3e4-0005b96a4097ccf7.journal
-rw-r-----+ 1 root systemd-journal 134217728 Mar 15 01:54 user-1000@49c2cd80eaf848cbbdcf9049b6ee69b3-000000000007da13-0005bbadb3eb4675.journal
-rw-r-----+ 1 root systemd-journal 134217728 Mar 25 13:00 user-1000@49c2cd80eaf848cbbdcf9049b6ee69b3-00000000000a2504-0005bd8702c11499.journal
-rw-r-----+ 1 root systemd-journal 134217728 Aug  7  2020 user-1000@4f0690c952dd461c9b21ecb3a9dad4bc-000000000003b75d-0005abc07aed4b15.journal
-rw-r-----+ 1 root systemd-journal 134217728 Aug 11  2020 user-1000@4f0690c952dd461c9b21ecb3a9dad4bc-000000000005a45f-0005ac4b1c8bfa72.journal
-rw-r-----+ 1 root systemd-journal 134217728 Aug 17  2020 user-1000@4f0690c952dd461c9b21ecb3a9dad4bc-00000000000743de-0005ac98dbcf3715.journal
-rw-r-----+ 1 root systemd-journal 134217728 Aug 23  2020 user-1000@4f0690c952dd461c9b21ecb3a9dad4bc-000000000008f840-0005ad1659616b41.journal
-rw-r-----+ 1 root systemd-journal 117440512 Aug 31  2020 user-1000@4f0690c952dd461c9b21ecb3a9dad4bc-00000000000ae556-0005ad8f8e9bbf4e.journal
-rw-r-----+ 1 root systemd-journal 134217728 Nov 24 00:20 user-1000@5b101cd2b651446587481b8e2a67b0e4-00000000000a81f8-0005b3728c8fae20.journal
-rw-r-----+ 1 root systemd-journal 134217728 Nov 29 22:49 user-1000@5b101cd2b651446587481b8e2a67b0e4-00000000000cd9e2-0005b4ccc2c414e0.journal
-rw-r-----+ 1 root systemd-journal 134217728 Sep  5  2020 user-1000@613304c068bc40e5927818f2b6ab47b4-00000000000c9374-0005ae29e27d220e.journal
-rw-r-----+ 1 root systemd-journal 134217728 Sep 15  2020 user-1000@613304c068bc40e5927818f2b6ab47b4-00000000000e7003-0005ae917ed6f0e9.journal
-rw-r-----+ 1 root systemd-journal 134217728 Sep 20  2020 user-1000@613304c068bc40e5927818f2b6ab47b4-000000000010653d-0005af550bc463d0.journal
-rw-r-----+ 1 root systemd-journal 134217728 Sep 25  2020 user-1000@613304c068bc40e5927818f2b6ab47b4-00000000001244d6-0005afc3e24f6812.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct  2  2020 user-1000@613304c068bc40e5927818f2b6ab47b4-0000000000143875-0005b028dc9e1906.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct  8  2020 user-1000@613304c068bc40e5927818f2b6ab47b4-0000000000162ef2-0005b0b235cf68e9.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct 15 21:51 user-1000@da853b2cfef949d68287f5c5af3ca10a-00000000000004ff-0005b165384a1607.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct 17 21:39 user-1000@da853b2cfef949d68287f5c5af3ca10a-000000000001bce5-0005b1ba24957d03.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct 19 21:56 user-1000@da853b2cfef949d68287f5c5af3ca10a-0000000000033301-0005b1e23417ab99.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct 25 22:24 user-1000@da853b2cfef949d68287f5c5af3ca10a-000000000004c165-0005b20aad5661ea.journal
-rw-r-----+ 1 root systemd-journal 134217728 Oct 31 18:34 user-1000@da853b2cfef949d68287f5c5af3ca10a-000000000006dd7f-0005b283c286a635.journal
-rw-r-----+ 1 root systemd-journal  83886080 Nov  6 12:09 user-1000@da853b2cfef949d68287f5c5af3ca10a-0000000000090b02-0005b2f9417994e7.journal

/var/log/journal/remote:
total 0

Hmmm…I wonder what exact step out of my post helped you on previous boot then :thinking:

Probably something got corrupted and removing as @anon71489565 suggested is not bad idea

how do you make this coloum?

systemctl restart systemd-journald.service fixes the logs. But as soon as I reboot, they are corrupted again.

1 Like