Page 1 of 1

No logs? Here's what you should do

Posted: Sat Apr 05, 2025 4:59 am
by Mitu100@
The command journalctl -rb -1 will show the system logs just before your Linux system was last shut down. This is what you need to analyze the Linux long outage problem.


Did you find anything suspicious in the logs? Is there a process / service that refuses to stop? If so, find out if it can be removed without side effects or reconfigured. Please do not blindly delete things. You should know this process.

Speed ​​up shutdowns on Linux by shortening the default shutdown timeout [Quick fix]
The default shutdown timeout is phone number list typically 90 seconds. Your system is trying to force stop services after this period of time.

If you want your Linux system to shutdown quickly, you can change this timeout period.

You will find all systemd settings in the configuration file located at /etc/systemd/system.conf. This file should be filled with many lines starting with #. They are the default values ​​for the entries in the file.

Before doing anything else, it's a good idea to make a copy of the original file.


Find here DefaultTimeoutStopSec. It should probably be set to 90 seconds.

You should change this value to something more convenient, for example 5 or 10 seconds.