People who code: we want your input. Take the Survey

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
0
votes
0answers
48 views

Make the journal logs less verbose

On Ubuntu 20.04.2 with Gnome 3 desktop, normally on X, but sometimes trying out Wayland too My concern is that stuff in /var/log/journal/ gets filled up very quickly. Last week it appeared to collect ...
1
vote
0answers
75 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 ...
0
votes
1answer
217 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 ...
0
votes
0answers
163 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 ...
1
vote
0answers
337 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
16 views

No logs if system starts with time set before it used to be during previous shutdown

folks. I'm facing a strange situation when I have no logs at all if system starts with system time in past comparing to what it was during last boot. To be more exactly I have a single board computer ...
1
vote
0answers
30 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 ....
0
votes
0answers
33 views

After image rollback, journald, logind, netword, resolved, timesync and udevd all failed

New to Ubuntu/Linux and this forum. Apologies in advance for any missteps on posting protocol. Running Ubuntu 20.04 on a VPS After rolling back to previous VPS image, I am not longer able to ssh into ...
0
votes
1answer
71 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 ...
1
vote
2answers
247 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 ...
1
vote
0answers
46 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 ...
0
votes
0answers
36 views

Does this write constant activity from systemd-journald not an issue?

I installed the amdgpu driver from AMD https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-20. Either I plug an AMD GPU RX580 or multiple GPUs on my PC with Ubuntu 20.04, I see ...
0
votes
0answers
76 views

Need help with figuring out why log files are 13GB

Running Ubuntu 20.04.1 In folder/var/log two files kern.log and syslog each takes up 13 GB. Can someone help me to figure out how to deal with this? tail kern.log: Sep 16 08:08:53 mauni kernel: [ ...
0
votes
0answers
113 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 ...
1
vote
0answers
48 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 ...
2
votes
0answers
515 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 ...
3
votes
1answer
366 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 ...
0
votes
1answer
334 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]: ...
0
votes
1answer
553 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]: ...
0
votes
1answer
44 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 ...
0
votes
1answer
386 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/...
2
votes
0answers
53 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 ...
61
votes
3answers
25k 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 ...
3
votes
2answers
595 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 ...
0
votes
1answer
544 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 (...
0
votes
2answers
693 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 ...
0
votes
1answer
726 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 ...
3
votes
1answer
519 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....
0
votes
2answers
1k 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:...
2
votes
0answers
48 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 ...
5
votes
1answer
1k 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 ...
6
votes
1answer
3k 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 ...
0
votes
1answer
31 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....
0
votes
1answer
235 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 ...
1
vote
2answers
405 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 ...
14
votes
3answers
6k 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 ...
2
votes
0answers
98 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 ...
1
vote
1answer
42 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 ...
17
votes
2answers
19k 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 ...
1
vote
1answer
96 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
488 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/...
3
votes
1answer
5k 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 ...
27
votes
1answer
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 ...
0
votes
1answer
312 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 ...
31
votes
8answers
29k 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 ...
2
votes
0answers
257 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 ...
2
votes
1answer
830 views

How can I see previous history (prior to this boot) in journalctl?

I had a problem two weeks ago on March 28. At the time I didn't note the kernel version that was being used. How can I find out what kernel version I booted that day using journalctl -b?
48
votes
2answers
33k views

Systemd logs (`journalctl`) are too large and slow

My journalctl is keeping over 300 MB of logs as revealed by journalctl --disk-usage. Everything appears to be in order when I run journalctl --verify: $ journalctl --disk-usage Archived and active ...