You are not logged in.

#1 2013-06-22 10:32:44

mieLouk
Member
Registered: 2012-12-16
Posts: 44

[SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

Hi ARCH Forum,

there is a problem with my journal and as a consequence with some systemctl status logs.

When I issue a command to show the journal/log, it just repeats one tiny section from the log, over and over again. For example, 'sudo journalctl' repeats some entrys from April 7th,  5 p.m to 7 p.m.
It seems to crash and doesn't react except to ctrl+c.

When I try

sudo journalctl | grep ssh 

it shows a few entrys but is hanging at the same day at the same time

sudo journalctl | tail

doesn't show anything

I've never seen anything like it. I've already tried to look up the problem, without success. I don't have this problem on my server or on my laptop. The systems are up to date.

Help would be very much appreciated!

Last edited by mieLouk (2013-06-22 12:30:35)

Offline

#2 2013-06-22 10:49:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

Offline

#3 2013-06-22 10:57:14

mieLouk
Member
Registered: 2012-12-16
Posts: 44

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

Yes, it seems that way. The URL with additional comments is 404.

What does he mean by:

"I backed up/moved var/log/journal which seems to have 'solved' the issue."

Shall I backup and delete/move (where?) the content of /var/log/journal ?

Offline

#4 2013-06-22 11:00:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

https://bugs.freedesktop.org/show_bug.cgi?id=64566 works fine, it was only pasted with an extra space between 'cg' and 'i' :-)


I'm not sure, but I think he used the backup/move as a way to "restart" journal logging.
Just move it anywhere e.g. ~/.oldlog.

Last edited by karol (2013-06-22 11:02:12)

Offline

#5 2013-06-22 12:08:57

mieLouk
Member
Registered: 2012-12-16
Posts: 44

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

Thank you very much! This worked quite well.

I hope it doesn't occure again!

Offline

#6 2013-06-22 12:11:02

mieLouk
Member
Registered: 2012-12-16
Posts: 44

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

This is not my first question, but I still don't know how to mark it as solved.

Offline

#7 2013-06-22 12:12:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

mieLouk wrote:

This is not my first question, but I still don't know how to mark it as solved.

https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#8 2013-06-22 12:27:58

mieLouk
Member
Registered: 2012-12-16
Posts: 44

Re: [SOLVED] 'journalctl' and 'systemctl status *' repeat and don't stop

KISS philosophy

Offline

Board footer

Powered by FluxBB