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
1answer
183 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
1answer
48 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
0answers
50 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
0answers
54 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
97 views

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

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 ...
2
votes
1answer
95 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
254 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
36 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 ...
4
votes
1answer
140 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 ...
2
votes
1answer
524 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
22 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
100 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
188 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 ...
13
votes
3answers
3k 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
89 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 ...
0
votes
0answers
34 views

How to have a systemd service write to multiple journals?

For example, my web server needs a separate access log stored with journald, which doesn't clutter up the rest of the entries.
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 ...
12
votes
2answers
4k 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
76 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 ...
1
vote
1answer
509 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
298 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/...
2
votes
1answer
3k 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 ...
23
votes
1answer
2k 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
139 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 ...
29
votes
8answers
26k 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
234 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
216 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?
28
votes
2answers
18k 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 ...
3
votes
1answer
2k views

17.10 - 100% CPU Load almost all the time

I am currently testing Ubuntu (17.10) and have almost all of the time 100% CPU load. I don’t think I can do anything against the systemd-journald, gdb or rsyslogd processes. My specs (obtained from ...
7
votes
2answers
14k views

failed to send WATCHDOG=1

I have just installed Ubuntu (v 17.10) for the first time and was suggested to reboot the system. portable Acer Inspire R3-131 Ubuntu cannot reboot: [ 9934.778997] systemd-journald[955]: failed to ...
7
votes
1answer
4k views

Why does `journalctl --list-boots` only show the current boot? [duplicate]

My kernel update crashed this morning and I had to boot to an older kernel. I wanted to see the journal log for the crashed boot so used: journalctl --list-boots 0 336aa03f15d3443d95e079ad17b6dc77 ...
0
votes
1answer
2k views

systemd-journald High CPU Usage causes system shutdown

I'm running Ubuntu 17.10 on an HP laptop. It is running normally and stable however recently I am having problems where systemd-journald starts using 100% of one CPU causing it to overheat and shut ...
2
votes
1answer
779 views

How to make journald increase logs storage capacity?

I would like to have persistent logs via journald. I created /var/log/journal and reloaded the service. Now logs are saved on the disk. But the log size limit is low. I added /etc/systemd/journald....
2
votes
1answer
1k views

Journalctl says: “Failed to search journal ACL: Operation not supported”

When I run journalctl -xe as a non-root user, I get the following error: bgeron@machine:~$ journalctl -xe Failed to search journal ACL: Operation not supported No journal files were opened due to ...
2
votes
0answers
630 views

journalctl -f with journal-remote - not reading all files in /var/log/journal/remote/

Using journald-upload and journald-remote. I need to receive journal entries from multiple systems. I have configured both sending & receiving services and they appear to function correctly, in ...
3
votes
1answer
2k views

How do i get a systemd unit to redirect or copy logs to syslog?

I'm running Ubuntu 16.04 Server with a node.js service, where i need to get the log written to a file, just like the good old syslog :) I've been googling half the night, but nothing has come up. ...
20
votes
2answers
12k views

Relationship of rsyslog and journald on Ubuntu 16.04

I am running what is a vanilla Ubuntu 16.04 server, and I'm trying to wrap my head around how logging is set up by default. I can see that both journald and rsyslog are installed and running, but it's ...
1
vote
0answers
240 views

OS boots into Emergency mode - fsck says its clean

So I have multipath setup and it seems like if I enable multipath partition in fstab, then everytime the reboots, it goes into emergency mode. If I disable that in fstab, then server reboots fine. ...
5
votes
1answer
1k views

Suspended Ubuntu 17.04 , when “wake up” does full reboot

After installing Ubuntu 17.04 a week ago on my /dev/sda1 partition, all was working properly. Closing the lid put my computer into suspend mode. Opening it up, touching a keyboard touch turned it on,...
10
votes
3answers
20k views

systemd-journald high CPU usage

A few days ago, I installed Ubuntu 17.04 on my Asus laptop dual-boot with Windows 10 and shortly thereafter, I noticed that the systemd-journald process was constantly using 25-35% of CPU. I traced ...
0
votes
1answer
170 views

Ubuntu 16.04 LTS What Job Updates /boot/grub/grub.cfg

I have just set up a new, stripped down Ubuntu 16.04 LTS server, with automatic updates turned off. Over the weekend it mysteriously updated /boot/grub/grub.cfg, which started a whole bunch of kernel ...
0
votes
1answer
411 views

Send Logs Buffer to remote pc

How can I simply read all the different buffers(system logs, user logs, applications logs etc.) of Ubuntu 16.04 and forward them to an external server (which could be any OS) in runtime? Do any ...
7
votes
1answer
378 views

Why do I need syslog, or even cron, when Ubuntu has have the systemd journal and timers?

I have run a distro which doesn't have syslog nor cron installed by default. I felt lost at first, but when I learned how to read and work with the journal and systemd timers I found I didn't really ...
50
votes
4answers
74k views

Where is “journalctl” data stored?

When I issue journalctl I get a massive log of all system services, but where is all this information stored?
24
votes
5answers
37k views

How to find previous boot log after Ubuntu 16.04+ restarts?

My question is, how can I find boot log from previous system boot attempt? Today when first powering on my PC, boot process stopped on Ubuntu logo, when I pressed Esc I have seen several lines ...
2
votes
1answer
686 views

Both journald and rsyslog are running

Since the migration to Ubuntu 15.04 both journald and rsyslog are installed and running. I'm wondering if this is by design or if rsyslog might not have been uninstalled by accident? Can I uninstall ...