Skip to main content

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
0 answers
93 views

Bluetooth malformed MSFT vendor event

EDIT: Disabled "Switchable graphics", but left "discrete graphics mode" enabled in bios. This solved LSPCON error. Now these are the errors Ubuntu 22.04 i7-10th 5.1GHz 64GB NVIDIA ...
Exquisite Mong's user avatar
0 votes
0 answers
32 views

Sudden Unresponsiveness in Linux System After Inactivity

My Linux system doesn't respond a few minutes after inactive. It does not respond to keyboard press, mouse click and monitor does not detect (I have tried with other keyboard, mouse and monitor as ...
web's user avatar
  • 11
4 votes
3 answers
369 views

How do I find out a list of journalctl log size by unit?

One of the services on my system is spamming the log and generating a lot of data. I don't know which service it is. With regular log files, I can use ls -lha to print the size of all the files in the ...
npr_se's user avatar
  • 41
2 votes
1 answer
281 views
+50

Why does journalctl only show logs from previous 2 days?

On 22.04 LTS if I use journalctl to view the logs, I can only see entries from 48 hours ago. I thought at first it wasn't showing rotated logs, but it doesn't seem so (those are older). I also see ...
TommyPeanuts's user avatar
  • 1,126
2 votes
0 answers
169 views

System goes unresponsive for minutes, I suspect journalctl

We have an server application running on Ubuntu 22.04. The application logs are pretty spammy. journalctl -S -1hour | wc --lines 121349 journalctl -S -1hour | wc --bytes 32382836 Once in a while a ...
Brandon Cuff's user avatar
1 vote
1 answer
1k views

systemd-journald[1016]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected

This message appears on the startup/shutdown terminal, and I am unable to power off the machine. I am first going to drain the battery, and hope that it comes back to life after restart. Here is the ...
Root's user avatar
  • 11
2 votes
2 answers
2k views

PC crash, EXT4-fs error --ext4_find_entry inode reading directory iblock 0

OS: Ubuntu 22.04.3 LTS DISK: Samsung SSD 860 EVO 1TB My pc suddenly stopped working. It stops responding to commands, the icons (especially the ones to manage windows) disappear and are replaced by ...
Tiziano Pedrazzoli's user avatar
1 vote
0 answers
233 views

journalctl missing "Logs begin at" on Ubuntu 22.04

When I run journalctl -u <unit> -n 10 on Ubuntu 20.04 the first output line is: Logs begin at ..., end at ... When I run the same command on 22.04, this information is missing. Is there a way/...
gabe's user avatar
  • 11
0 votes
0 answers
223 views

Finding and Reducing Journal Disk Usage

In Ubuntu 22.04.3 LTS, I ran Disk Usage Analyzer on the root directory. It indicated that /var/log/journal occupied 3.8GB. In response, I ran sudo gedit /etc/systemd/journald.conf and changed two ...
Ray Woodcock's user avatar
4 votes
1 answer
177 views

How can we filter out personal information from "journalctl"?

I was wondering if there was a way to filter out personal information when collecting system information with journalctl. Can we, for example, remove MAC/IP addresses, certificates, firmware keys, etc....
Glenn G.'s user avatar
  • 141
0 votes
1 answer
86 views

find (mmin) gives unexpected results

I originally wanted to find which files have been modified in the last week (before the unexpected results led me onto the quest I describe in this question), so I ran this following command (10080 ...
genbatro's user avatar
0 votes
1 answer
2k views

Setting the color for warnings from journalctl output

The journalctl command will color-code its messages. From its manual page: When outputting to a tty, lines are colored according to priority: lines of level ERROR and higher are colored red; lines of ...
Bram's user avatar
  • 2,581
2 votes
1 answer
481 views

Telling journalctl to show all but a certain facility

I'm trying to get rid of dhcpd spam in my journal. Using rsyslog.conf and dhcpd.conf I have been able to keep it out of /var/log/syslog and put it in /var/log/dhcpd.log which is great. However, ...
Bram's user avatar
  • 2,581
8 votes
1 answer
1k views

journalctl -u sshd.service command returns 'no entries'

I am currently working on Ubuntu 20.04 machine. When I am running the command journalctl -u sshd.service, I am getting the below response. -- Logs begin at Wed 2022-12-21 13:01:52 UTC, end at Fri 2023-...
Alakananda S's user avatar
2 votes
0 answers
2k views

Warning messages about gvc_mixer_card

My system logs in journalctl are filled with warning messages regarding the 'gvc_mixer_card'. From google, it seems this has something to do with volume control. I've included a sampling of the ...
Bovine's user avatar
  • 554
1 vote
1 answer
1k views

How to route isc-dhcp-server logs to their own file

The logging in systemd's journal is getting spammed by logging from dhcpd. I am running isc-dhcp-server and would like to prevent the log ending up in the journal, and instead go to its own file. I ...
Bram's user avatar
  • 2,581
1 vote
0 answers
73 views

limit log size for snap application (VLC)

vlc has a bug due to which it can generate gigabytes of logs in syslog and journalctl (12GB and 4GB). And because of the nature of journalctl, there is no way to clear the log of such garbage. But ...
Alhimik's user avatar
  • 21
0 votes
1 answer
43 views

Journal entries are filled with nemo: connect() failed [duplicate]

My journalctl entries are filled with nemo[50830]: connect() failed. $ journalctl -r Nov 09 16:38:45 iMac nemo[50830]: connect() failed Nov 09 16:38:45 iMac nemo-desktop[2887]: connect() failed Nov 09 ...
Archisman Panigrahi's user avatar
-1 votes
1 answer
1k views

On Ubuntu 18.04, how is `/var/log/journal` created?

On my Ubuntu 18.04, I see /var/log/journal is created but I can't figure out what created it in the first place. Could somebody help me? I'll provide more details below. This is not an XY problem. I'm ...
yaobin's user avatar
  • 369
0 votes
1 answer
257 views

mtd device must be supplied (device name is empty) on old xeon server, You are in emergency mode

I got an old server running windows server 2003 with a xeon x3380 and three 1tb disk drives. The drives have been replaced and the server was used until 2018. After receiving it I wanted to wipe it so ...
BRANSON TURNER's user avatar
0 votes
2 answers
131 views

Emergency Boot Mode Error

I'm on Ubuntu 22.04.01 LTS. There are similar questions, but the poster was already much further along before posting and I don't know how to get to their initial step. What's happening? When I turn ...
Exquisite Mong's user avatar
2 votes
3 answers
430 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 ...
imrek's user avatar
  • 194
2 votes
1 answer
2k 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 ...
Roaders's user avatar
  • 231
1 vote
1 answer
8k 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 ...
Aminos's user avatar
  • 133
2 votes
0 answers
467 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 ...
Moz's user avatar
  • 21
1 vote
1 answer
2k 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 ...
majid_shoorabi's user avatar
3 votes
0 answers
4k 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 ...
TobiV's user avatar
  • 31
1 vote
0 answers
783 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 ...
deepinder singh's user avatar
1 vote
1 answer
21k 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 ...
Igor-Potapov's user avatar
1 vote
0 answers
3k 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 ...
nocibambi's user avatar
  • 111
2 votes
2 answers
3k 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 ...
morenolq's user avatar
1 vote
0 answers
274 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 ....
chench0's user avatar
  • 11
0 votes
1 answer
269 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 ...
Garrett Anderson's user avatar
1 vote
2 answers
3k 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 ...
Greg's user avatar
  • 1,413
3 votes
0 answers
406 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 ...
vgoklani's user avatar
0 votes
0 answers
430 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 ...
flowian's user avatar
  • 123
2 votes
0 answers
350 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 ...
scottfrenz's user avatar
3 votes
0 answers
2k 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 ...
Simon's user avatar
  • 31
5 votes
1 answer
3k 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 ...
Juergen's user avatar
  • 512
1 vote
1 answer
4k 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]: ...
abu_bua's user avatar
  • 10.9k
2 votes
1 answer
3k 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]: ...
Stephen Boston's user avatar
0 votes
1 answer
64 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 ...
Questions11111's user avatar
0 votes
1 answer
2k 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/...
λ Jonas Gorauskas's user avatar
2 votes
0 answers
157 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 ...
Devkinandan Malav's user avatar
309 votes
4 answers
206k 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 ...
Bristow's user avatar
  • 3,132
3 votes
2 answers
1k 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 ...
Jos's user avatar
  • 29.6k
0 votes
1 answer
2k 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 (...
user1984631's user avatar
0 votes
2 answers
3k 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 ...
ericx's user avatar
  • 327
0 votes
1 answer
2k 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 ...
Pachuca's user avatar
  • 399
4 votes
1 answer
3k 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....
pgcudahy's user avatar
  • 220