Questions tagged [journalctl]
50 questions
1
vote
0 answers
Journalctl seems to be ignoring since and until
I'm trying to get the logs of a problem that's been happening for over a week by this point. I'm trying to use journalctl to print the logs but it doesn't seem to give me anything more or less than the past 5 days. I've tried using since/until but…
![](../../users/profiles/443744.webp)
Thomas
- 165
- 1
- 8
1
vote
2 answers
centOs : system time getting reset back to UTC after changing it using timedatectl
I have a Centos machine with version 7. I am trying to change the system time using the timedatectl command. The time gets changed but after a few seconds it gets reset back to it's original time.
[root@abcd ~]# timedatectl
Local time: Tue…
![](../../users/profiles/492123.webp)
user1851006
- 141
- 1
- 3
1
vote
1 answer
Volume of Logs created by journalctl/systemd per day?
Is there a way to get the size of logs (in bytes) which journalctl creates per day?
Background: we want to get our logs into a central database.
But before doing this I would like to have rough estimate how much bytes will get transferred.
My…
![](../../users/profiles/90324.webp)
guettli
- 3,113
- 14
- 59
- 110
1
vote
1 answer
journald: extract part of a system journal into the journald format (i.e. for use with journalctl)
I have a situation where it would be really useful to attach the relevant bits of the system logs to a bug ticket. The system in question uses journald and I rather like using journalctl to inspect the logs, so what I'd like to do is extract the…
![](../../users/profiles/31124.webp)
Magnus
- 141
- 5
1
vote
0 answers
unable to query the systemd journal with journalctl
I'm using Red Hat Enterprise Application Platform 6.4.2.GA on following system:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
# uname -a
Linux X 3.10.0-229.7.2.el7.x86_64 #1 SMP Fri May 15 21:38:46 EDT 2015 x86_64…
![](../../users/profiles/10683.webp)
alexus
- 12,342
- 27
- 115
- 173
0
votes
1 answer
How to make journalctl recognize user-defined fields?
Journalctl's manual says:
New fields may freely be defined by applications, but a few fields
have special meaning.
However I don't see a way to actually introduce my own field that journalctl would recognize and allow filter on.
I tried many…
![](../../users/profiles/387835.webp)
Alex
- 135
- 1
- 6
0
votes
0 answers
journalctl – Is there any Issue with generating a new Forward Secure Sealing (FSS) Key every 30 Seconds?
Goal
Improve Security of the System by sealing the Journal Logs in a shorter Interval.
What could be Problems?
System Performance?
To Much different files were generated, so that I have to set the SystemMaxFiles=100 or the RunMaxFiles=100 to a…
![](../../users/profiles/960850.webp)
foshyboy
- 1
- 1
0
votes
0 answers
How to get user logs of certain group with journalctl?
I can filter the logs of a certain user, with
journalctl | grep "user111"
But I have hundreds of users in dozens of different groups. How to get user logs of certain group with journalctl?
![](../../users/profiles/473574.webp)
Guttemberg
- 101
- 2
0
votes
1 answer
How do I stop journald from dropping blank lines?
I have an application which logs to stdout in a format like this:
incoming request from x.x.x.x
client version is 1.2
authenticated as alice@example.com
processed 1234 bytes
closing connection
rejecting connection from y.y.y.y
client subnet is not…
![](../../users/profiles/450113.webp)
9072997
- 141
- 8
0
votes
0 answers
tomcat service getting logs from catalina.out, localhost.log and system.prints into journalctl
I have 2 servers with tomcat installed, one was installed by someone else. Something i noticed about the old one is when I run journalctl -u tomcat.. It shows most of the logs including when an application is deployed/started/restarted/stopped, it…
![](../../users/profiles/925191.webp)
crimson589
- 101
- 1
0
votes
1 answer
strange messages in the systemd journal
I'm running systemd version:
systemd 245 (245.4-4ubuntu3.2)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
on…
![](../../users/profiles/481140.webp)
ilya1725
- 121
- 6
0
votes
0 answers
Service not logging to journalctl
I have a user service which is placed under /home//.config/systemd/user/.service
When I perform systemctl --user status I have the desired output, for example:
@:~$ systemctl --user status
●…
![](../../users/profiles/613573.webp)
Daniel
- 1
- 2
0
votes
1 answer
Tail the journalctl log on failure to restart systemd service?
I want to know if there is a brief way to check the last 50 lines about a service that threw an error on restart.
$ sudo service nginx restart
Job for nginx.service failed because the control process exited with error code.
See "systemctl status…
![](../../users/profiles/498269.webp)
tidelake
- 103
- 1
- 4
0
votes
1 answer
journalctl stops working randomly after boot on DigitalOcean droplet
I am building servers from a custom image I made using Packer on DigitalOcean, and I'm having a recurring issue where journalctl doesn't have any logs:
# journalctl
No journal files were found.
Sometimes I have this issue with images I build,…
![](../../users/profiles/30395.webp)
ZoFreX
- 308
- 1
- 3
- 9
0
votes
0 answers
Journalctl -xe only shows results from February 04
The title says it all.
Journalctl -xe worked fine but like a month ago it only showed the results from February 04...
If you need any config file just comment.
Thanks in advance!
/etc/systemd/journald.conf
# This file is part of systemd.
#
# …
![](../../users/profiles/620918.webp)
niliak
- 1
- 1