[gelöst] journalctl: No journal files were found.

Du hast Probleme mit Deinem eMail-Programm, Webbrowser oder Textprogramm? Dein Lieblingsprogramm streikt?
Antworten
Benutzeravatar
TRex
Moderator
Beiträge: 8074
Registriert: 23.11.2006 12:23:54
Wohnort: KA

[gelöst] journalctl: No journal files were found.

Beitrag von TRex » 04.05.2015 20:53:05

Code: Alles auswählen

systemd-journald.service                                                                            loaded active running   Journal Service
systemd-journald-dev-log.socket                                                                     loaded active running   Journal Socket (/dev/log)
systemd-journald.socket                                                                             loaded active running   Journal Socket
Soweit, so ahnungslos... ein zweites System mit jessie hat das Problem nicht. Weiß jemand, was ich dafür (logging mit journald) noch tun muss? Ist schon recht lange so, hab die Lösung nur schleifen lassen.
Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nichtDon't break debian!Wie man widerspricht

cronoik
Beiträge: 2049
Registriert: 18.03.2012 21:13:42
Lizenz eigener Beiträge: GNU Free Documentation License

Re: journalctl: No journal files were found.

Beitrag von cronoik » 04.05.2015 21:54:01

Hast du in /etc/systemd/journald.conf den Wert Storage=none gesetzt?
Hilf mit unser Wiki zu verbessern!

Benutzeravatar
catdog2
Beiträge: 5352
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz

Re: journalctl: No journal files were found.

Beitrag von catdog2 » 05.05.2015 00:09:42

Normalerweise loggt journald ins journal, sobald du /var/log/journal/ anlegst. Danach am besten den rsyslog lahmlegen sonst loggt er doppelt.

man journald.conf:

Code: Alles auswählen

       Storage=
           Controls where to store journal data. One of "volatile",
           "persistent", "auto" and "none". If "volatile", journal
           log data will be stored only in memory, i.e. below the
           /run/log/journal hierarchy (which is created if needed).
           If "persistent", data will be stored preferably on disk,
           i.e. below the /var/log/journal hierarchy (which is
           created if needed), with a fallback to /run/log/journal
           (which is created if needed), during early boot and if the
           disk is not writable.  "auto" is similar to "persistent"
           but the directory /var/log/journal is not created if
           needed, so that its existence controls where log data
           goes.  "none" turns off all storage, all log data received
           will be dropped. Forwarding to other targets, such as the
           console, the kernel log buffer or a syslog daemon will
           still work however. Defaults to "auto".
Unix is user-friendly; it's just picky about who its friends are.

Benutzeravatar
CH777
Beiträge: 1466
Registriert: 27.05.2008 16:37:17

Re: journalctl: No journal files were found.

Beitrag von CH777 » 05.05.2015 00:20:00

Bei mir geht das nur als root. Ist das normal?

Benutzeravatar
catdog2
Beiträge: 5352
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz

Re: journalctl: No journal files were found.

Beitrag von catdog2 » 05.05.2015 00:30:24

journalctl zeigt dir als user im Zweifel nicht sehr viel im Moment, falls du keine user units benutzt (Hier beschränkt sich das auf wann ich mit su root geworden bin und ein paar dbus Meldungen).
Unix is user-friendly; it's just picky about who its friends are.

Benutzeravatar
TRex
Moderator
Beiträge: 8074
Registriert: 23.11.2006 12:23:54
Wohnort: KA

Re: journalctl: No journal files were found.

Beitrag von TRex » 05.05.2015 07:00:28

Wie peinlich... als root krieg ichs angezeigt. Auf der anderen Kiste war ich ständig als root eingeloggt... daran hab ich nicht gedacht.

Danke.
Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nichtDon't break debian!Wie man widerspricht

Benutzeravatar
smutbert
Moderator
Beiträge: 8331
Registriert: 24.07.2011 13:27:39
Wohnort: Graz

Re: [gelöst] journalctl: No journal files were found.

Beitrag von smutbert » 05.05.2015 08:43:19

Es gibt übrigens eine in dem Zusammenhang sehr nützliche Gruppe systemd-journal, zu der man seinen Benutzer hinzufügen kann.

Antworten