Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
journalctl Error was encountered while opening journal files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 360
Location: Oleiros

PostPosted: Thu Dec 17, 2015 10:59 pm    Post subject: journalctl Error was encountered while opening journal files Reply with quote

Hi,

I can't read my systemd logs anymore

Code:

root@mani001 ~ $journalctl
Error was encountered while opening journal files: no data available


This must be due to the recent update in systemd because I remember journalctl working fine not so long ago...any one else hit by this?

Cheers!!
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 360
Location: Oleiros

PostPosted: Fri Dec 18, 2015 10:04 pm    Post subject: Reply with quote

Just in case anyone else stumbles upon this, doing

Code:
rm -rf /var/log/journal/*


and rebooting does the trick...if you don't mind losing your logs history. Not that I would call this a solution :?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5963

PostPosted: Sat Dec 19, 2015 9:43 pm    Post subject: Reply with quote

You may not, but upstream considers it one.
Back to top
View user's profile Send private message
tlix
n00b
n00b


Joined: 15 Jul 2015
Posts: 4

PostPosted: Sat Mar 18, 2017 1:56 pm    Post subject: Reply with quote

Ant P. wrote:
You may not, but upstream considers it one.

:? I agree with you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum