Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

systemd-journald

Output of a python script running as unit is out of order while shells seems unnafected

August 11, 2022 by Magenaut

How would I get all outputs of systemd managed python2 script instantly into journal, just like it appears in terminal

Categories Q&A, Unix & Linux Tags python, stdout, systemd, systemd-journald Leave a comment

How to avoid /usr/bin/env being marked in systemd logs as the executable

August 10, 2022 by Magenaut

I’ve created a systemd service to run a tomcat application based on the information found in this article. The short version of the article recommends avoiding the shell script wrappers, and executing java directly, with the appropriate environment and command line.

Categories Q&A, Unix & Linux Tags systemd, systemd-journald, tomcat Leave a comment

How to inspect systemd journal files directly?

August 10, 2022 by Magenaut

I have arch linux failing on a device. The device doesn’t have any screen, it doesn’t respond to network. So I take its SD card, insert it in ubuntu desktop, see a fresh system.journal there and… How to see what is inside?

Categories Q&A, Unix & Linux Tags systemd, systemd-journald Leave a comment

journalctl shows very old boots which are not recycled

August 9, 2022 by Magenaut

The system has very old boots (2 and 3 years old), which are not recycled and I haven’t been able to vacuum them:

Categories Q&A, Unix & Linux Tags fedora, journalctl, systemd-journald Leave a comment

Is systemd-journald a syslog implementation?

August 9, 2022 by Magenaut

I wonder if systemd-journald is a new implementation of syslog protocol, or rather, it uses syslog implementations, such as rsyslog, syslog-ng

Categories Q&A, Unix & Linux Tags syslog, systemd-journald Leave a comment

Why is my systemd journal not persistent across reboots?

August 8, 2022 by Magenaut

I’m experiencing a very weird issue with a fresh Fedora 21 image on a Linode instance. I cannot reproduce it outside of Linode. The issue is that my systemd journal is not persistent across reboots. According to the documentation:

Categories Q&A, Unix & Linux Tags systemd, systemd-journald, vps Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress