Quote:
Originally Posted by berndbausch
By default, the systemd journal writes to a directory named /run/log/journal/. Many administrators want to have a persistent journal and move it to /var/log/journal. You need to find out where systemd-journald wants to write to. My guess is that this directory is missing. Perhaps it's sufficient to create the directory and/or restart systemd-journald.
|
BBausch, you're thought sounded way too reasonable to ignore.
Had a few moments over lunch and took the risk of deleting the "journal" file resting in /var/log.
Then
Code:
~$root@host# mkdir journal
Code:
systemctl restart systemd-journald
The following sub-directory was created -
Code:
/var/log/journal/57cc5zzzzzzzzzzzzzzzzzzzzzzzzzzzz
Containing -
Code:
drwxr-xr-x 2 root root 4.0K Mar 17 14:14 .
drwxr-xr-x 3 root root 45 Mar 17 14:14 ..
-rw-r----- 1 root root 128M Mar 17 14:14 system@2deeasdfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.journal
-rw-r----- 1 root root 128M Mar 17 14:14 system@2deeasdfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.journal
-rw-r----- 1 root root 128M Mar 17 14:14 system@2deeasdfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.journal
-rw-r----- 1 root root 16M Mar 17 14:25 system.journal
No more bursty irritable complaints from systemd-journald, either.
I cannot read what's in the system.journal as it appears to be hashed output.
Thankyou, BBausch!