Questions tagged [systemd-journald]

For the logging service on systemd systems and the journalctl command used to view journald logs

Filter by
Sorted by
Tagged with
2 votes
3 answers
123 views

How to disable journald for vlc player

My system is constantly crashing because of systemd-journald going into overdrive and bogging down the CPU (and probably the disk as well) when I watch videos with VLC. I notice this behavior getting ...
user avatar
  • 174
0 votes
0 answers
88 views

Command journalctl | grep 'systemd-sleep' shows only old data

I have Ubuntu 20.04.4 LTS. At the terminal, when I give the command journalctl | grep 'systemd-sleep', I get data until September 02 2021. I thought may be the list is to large, so I tried: journalctl ...
user avatar
2 votes
1 answer
125 views

How to find out which "unit" is logging to journalctl

I am working with usbmount and have finally got it working. One of the reasons it took me so long to get it working is that I thought the newest version of it (built from source) was not correctly ...
user avatar
  • 211
0 votes
1 answer
285 views

How to disable logging to /var/log/syslog and use only systemd logs

My last question What are the options to manage the size of /var/log/syslog of an embedded system was not answered so I am asking this question to see if it is possible to stop using /var/log/syslog ...
user avatar
  • 103
1 vote
0 answers
96 views

systemd-journald[304]: Journal stopped

Whenever I try to shutdown my system, it just ends up stuck on a black screen with a blinking cursor in the top left. I'm running Ubuntu 20.04 LTS. I have done a fresh install of Ubuntu twice with no ...
user avatar
  • 11
0 votes
1 answer
249 views

Big /var/log/journal

I have a problem with my ubuntu 20.04 My /vat/log/journal grows to 195G. When I execute the command $tail -f /var/log/syslog I see a log repeated and I think this is my problem. Sep 20 19:45:11 ...
user avatar
1 vote
0 answers
668 views

Why does journald use so much space to store so little data, and how can I reduce or compress the journal logs?

I use journald with memory only logging limited to 55MB. But somehow this equates to less than a days worth of logging. Config: $ grep -v '^#' /etc/systemd/journald.conf [Journal] Storage=volatile ...
user avatar
  • 11
1 vote
0 answers
325 views

Ubuntu 20.04 screen keeps on refreshing automatically

I am using Ubuntu 20.04 and suddenly the whole screen turns purple, the same color on the login screen for 2 seconds, and refreshes automatically. There is no effect on the running tasks but it occurs ...
user avatar
0 votes
1 answer
5k views

Failed to start Journal Service (ubuntu doesn't start)

I have Ubuntu 20.04. I decided to enable SELinux. I done only 3 strings successfully and reboot my pc: 1. sudo apt install policycoreutils selinux-utils selinux-basics 2. sudo selinux-activate 3. sudo ...
user avatar
0 votes
0 answers
1k views

ext4magic does not recognize directory

Situation I deleted a great number of files with Ranger and now I am trying to use ext4magic to recover them. I am on Ubuntu 20.04, and I am not a power user. :) I have a single drive with two ...
user avatar
  • 101
2 votes
1 answer
1k views

Watchdog: BUG: soft lockup - on Ryzen 9 3950X CPU

We recently built a machine equipped with: Specifications CPU AMD Ryzen 9 3950X RAM 128GB DDR4 3000MHz SSD 1TB + 2xHHD 6TB GPU NVIDIA GEFORCE RTX 3090 24GB OS Ubuntu 20.04 LTS PSU 850W ...
user avatar
0 votes
0 answers
59 views

My ubuntu keeps crashing and its really annoying

I installed ubuntu on an external samsung SSD t5 such that when i plug in the ssd my laptop boots from ubuntu and otherwise boots windows. However when I am working on ubuntu it regularly will crash ...
user avatar
1 vote
0 answers
175 views

/var/log/journal created automatically when using systemd?

Is /var/log/journal created automatically if you are using systemd services? After reading the man page on journal, I noticed that you need to specifically enable persistent storage by editing the ....
user avatar
  • 11
0 votes
1 answer
131 views

Ubuntu 18.04 fails to boot every 15 to 20 boots

I have a Dell Edge 5000 gateway that has Ubuntu 18.04 installed on it. It runs fine, but it fails to boot every 15 to 20 boots. There are several error messages that are displayed that all seem ...
user avatar
1 vote
2 answers
902 views

Where is the XServer log file located in 18.04 and later

I know the answer to this question, I've been looking there for years and its here too: Where is Xserver log file located? Only it isn't - it's December 2020 and I'm logged into the desktop, but there ...
user avatar
  • 1,273
2 votes
0 answers
145 views

How to understand what's happening when seeing this: jbd2/nvme0n1p2- in iotop?

I'm running this: iotop -ao and see this at the top of the list, with excessive writes: 855 be/3 root 0.00 B 101.82 M 0.00 % 1.65 % [jbd2/nvme1n1p1-] 611 be/3 root 0.00 B ...
user avatar
0 votes
0 answers
282 views

How to fix periodic filling of /var/log folder?

It's for second time this month that /var/log has two files kernlog and syslog each 12GB. It is caused by journald's over 100% CPU. I have deleted these files manually again, and set journalctl vaccum ...
user avatar
  • 123
2 votes
0 answers
172 views

journalctl missing cron entries that show up in syslog

I have cron set up to log start (CMD) and end (END) of all cron jobs along with the process number (setting up cron to use -L 11 option). All entries are showing up in /var/log/syslog, such as: Aug 26 ...
user avatar
3 votes
0 answers
1k views

Ubuntu 18.04 crashes with EXT4-fs error and systemd-journald

Oct 22 Update: I changed my SSD two weeks ago from LITEON CV3-8D256 to Samsung 970 Evo Plus, and the problem described below hasn't happened since then. I suspect the problem was due to the ...
user avatar
  • 31
3 votes
1 answer
1k views

journal compression not working

It seems the journal files in my Ubuntu 18 LTS server are not compressed despite compression is enabled by default (I did not change it in /etc/systemd/journald.conf) and journalctl claims to see ...
user avatar
  • 393
0 votes
1 answer
1k views

journalctl chops lines longer then screen

How to disable the chopping of long lines when invoking journalctl -b in order to see the whole journal message ? E.g. the line get truncated: Jul 09 20:47:57 myubuntu org.kde.kglobalaccel[1452]: ...
user avatar
  • 9,645
1 vote
1 answer
1k views

Why does the output of journalctl sometimes include 'skipping...'

For example : journalctl -r -- Logs begin at Thu 2020-04-23 18:53:52 PDT, end at Thu 2020-07-02 10:40:23 PDT. -- lines removed by me for this post Jul 01 16:15:55 asus at-spi-bus-launcher[2801]: ...
user avatar
0 votes
1 answer
53 views

3 processes start taking up all the CPU, computer overheats. How do I shut them off?

I have an old computer with Ubuntu 16. When I'm working on it, I'm not signed in as Admin. A few days ago I did an update and since then, it's happened twice that after several hours of working, I ...
user avatar
0 votes
1 answer
891 views

Systemd Journald accessing wrong location - fails to open /run/log/journal file

I was playing with BPF tools today (from Brendan Gregg's BPF Book) and ran the command sudo opensnoop-bpfcc -x -U and noticed many traces like this: 0 403 systemd-journal -1 2 /run/log/...
user avatar
2 votes
0 answers
98 views

Ubuntu 18.04 taking atleast 4 min to boot up and show blank screen while boot up

I tried to look at critical chain and I managed to fix some but couldn't find more on this. I also tried to remove snap packages and their dependencies. Earlier systemd-journal-flush was also making ...
user avatar
154 votes
3 answers
86k views

Big /var/log/journal?

I don't understand why the /var/log/journal/ folder is so big. For example, by executing the command systemctl -f, i see the fill. If I click on an email on Thunderbird, it generates dozens of lines ...
user avatar
  • 1,582
3 votes
2 answers
922 views

Journalctl filling up with Gnome shell errors

As of early this morning, the journalctl log is filling up with literally millions of errors, each of the form: mei 07 08:04:47 Ophelia gnome-shell[2197]: JS ERROR: TypeError: null has no properties ...
user avatar
  • 24.3k
0 votes
1 answer
1k views

Xubuntu 20.04, systemd-journald high CPU usage

I'm not sure if this is the same issue as here systemd-journald high CPU usage because I was using Ubuntu 18.04 for these 2 years and everything was fine. Yesterday, I've installed Xubuntu 20.04 (...
user avatar
0 votes
2 answers
1k views

journalctl is full of "audit" messages but there is no auditd

I have several 18.04 servers which began life as 14.04 machines. Most (not all interestingly) have their journalctl logs full of "audit" messages. auditd is not installed. There is a libaudit1 and a ...
user avatar
  • 213
0 votes
1 answer
1k views

18.04 low disk space - using 640GB and more in /var/log/syslog.1 [duplicate]

I've noticed several posts about this same topic, but found no reasonable solution. This post suggests deleting the files, but I want to avoid that since I'm using apache and that same post says that ...
user avatar
  • 361
3 votes
1 answer
1k views

journalctl giving "unsupported feature" error

A simple journalctl command is now giving me this error Journal file /var/log/journal/ad9213e031ec2a16399a42515988884e/user-1001@ae426ac82df44a8489f745ad63e8c9ea-000000000000215f-0005848bb1ab0334....
user avatar
  • 191
0 votes
2 answers
3k views

Ubuntu freezes and shows errors

My ubuntu freezes and then shows a black screen with looping error texts: systemd-journald: failed to write entry, ignoring: read-only file system ext4-fs error device nvme0n1p2 ext4_find_entry:1454:...
user avatar
2 votes
0 answers
56 views

Pop up bubble messages for boot related issues

I was looking at one of my apps today and wondered if it actually worked to get today's sunrise and sunset times. Conky displays them as 8:46am and 4:36pm respectively but they could be yesterday's ...
user avatar
5 votes
1 answer
3k views

Avoid systemd unit (service) to be logged in journal

To produce metrics on some disks I have setup a systemd.timer + systemd.service That timer spins up every 10 seconds, and I would like to avoid my journal be spammed every time this small script get ...
user avatar
  • 123
6 votes
1 answer
5k views

Where do log messages go with journald and rsyslog

On Ubuntu 18.04 both journald and rsyslog are installed. Both serve the same purpose of collecting log messages and storing them. So we have two programs doing the same work here. What I could find ...
user avatar
  • 642
1 vote
1 answer
42 views

Howto avoid journald entry for one program?

On my Ubuntu-MATE Clevo laptop there is the program N151ZU-fan-controller that logging a message 2 times by second. I filtered it in rsyslog configuration in /etc/rsyslog.d/10-N151ZU-fan-controller....
user avatar
0 votes
1 answer
407 views

How to stop follow command on journalctl log file without ctrl+c and save the output to a file

I am running the following command and saving the output to a file: sudo journalctl -u iotedge -f >> sub.txt the problem is ,i have to stop the operation of the command with ctrl+c otherwise ...
user avatar
  • 109
2 votes
2 answers
659 views

journalctl json output breaking python's json parser

ubuntu 19.04 python 3.7 Create a json file: journalctl -ojson -r > a.json Now read it in : with open('a.json') as infile : data = json.load(infile) Traceback (most recent call last): File ...
user avatar
14 votes
3 answers
9k views

After viewing logs with journalctl, how do I exit the screen that says "lines 1-2/2 (END)"?

When you use the command journalctl -p err -b for example, you get an answer that ends with "END". What command do I use to end this and get the opportunity to enter the next command without having to ...
user avatar
  • 201
2 votes
0 answers
109 views

What is the difference between journald.conf and system.conf

I know that systemd is a mechanism of service management. But I don't know why there are two config files: /etc/systemd/journald.conf and /etc/systemd/system.conf. For example, in the system.conf, I ...
user avatar
  • 1,168
1 vote
1 answer
48 views

Dedicated Server won't reach login

My server is scheduled to restart every Sunday morning at ~1AM. This week, it never came back up after the restart. Whether I attempt to boot into live mode or recovery mode, it stops at the same ...
user avatar
18 votes
2 answers
33k views

Filter any system log file by date or date range

What I want to achieve: I'd like to filter a system log file by date, i.e. when I do: $ cat /var/log/syslog | grep -i "error\|warn\|kernel" it prints lines like these for the three last days let ...
user avatar
  • 680
1 vote
1 answer
134 views

Strange journal behavior in incremental backups

From some time I observe a strange behavior of my journal logs in my incremental backup. Let's, for example, take the last seven days: RychuSrvSystemBackup_2019-03-14_060001.tar.gz 570.26 MB ...
user avatar
  • 453
2 votes
1 answer
2k views

Postfix is not logging anything to journal

I'm trying to get journalctl in Ubuntu 18.04 to log everything, or mostly everything at least. One thing that I noticed was, that postfix does seem to log to journal. I can clearly see entries when I ...
user avatar
  • 21
0 votes
1 answer
749 views

Time discrepancy between dmesg and journalctl -k

Edit: I couldn't find out why this weird effect happens, but I found the culprit of the actual problem (slow bootup) to be the same as described here: https://bugs.launchpad.net/ubuntu/+source/...
user avatar
  • 592
5 votes
1 answer
10k views

How to view systemd / journald log for the isc dhcp service?

I wish to view the log file entries only for ISC DHCPd server service. How do I do this with the journalctl tool? I tried googling around for the answer, which didn't produce anything. I tried ...
user avatar
  • 2,639
28 votes
2 answers
3k views

systemd-journald crashed with SIGABRT in pthread_sigmask()

Fresh install of Ubuntu 18.04 on a new Lenovo x1c6, I'm getting this error sometimes after resuming from suspend. I have no idea what it means, and search online leads to a bug report that doesn't ...
user avatar
0 votes
1 answer
489 views

Help me understand the different parts of journalctl´s error code

Journalctl's output may look like this: maj 01 10:13:02 kontor pulseaudio[1198]: [pulseaudio] pid.c: Daemon already running. Trying to understand the different parts of the error message, apart from ...
user avatar
  • 201
32 votes
8 answers
31k views

Ubuntu 18.04 systemd-udevd uses high CPU, conflict with wifi

I recently switched from Kubuntu 17.10 to Kubuntu 18.04 (fresh installed). The problem is the process systemd-udevd is constantly running and consuming 90-100% CPU load. After tinkering around with ...
user avatar
  • 767
2 votes
0 answers
277 views

Journald stops with SIGBREAK

I have poor knowledge of how journald works. I have several questions alongside with the main issue. I use following journald configuration on Ubuntu 16.04 servers [Journal] Storage=persistent ...
user avatar
  • 945