crwdns2933423:0crwdne2933423:0

How to determine the cause for a restart in Kali Linux

    • Press Ctrl + Alt + T to open the Terminal Interface.

    • Enter the command sudo mkdir /var/log/journal

    • Enter the command: sudo systemd-tmpfiles --create --prefix /var/log/journal 2>/dev/null

    • sudo systemctl -s SIGUSR1 kill systemd-journald

    • Once this command is run, you will need to restart your machine to get your current system logs.

    • See your logged boots from your journal with the following: journalctl --list-boots

    • Locate a specific reboot using this command: journalctl -b {num} -n

crwdns2915888:0crwdne2915888:0

Optionally you can use killall -USR1 systemd-journald rather than restarting your services. This way a user can keep all the logging from the current session.

crwdns2935227:0crwdne2935227:0

Jacob Mehnert

crwdns2935283:010/18/21crwdne2935283:0

27,297 crwdns2915208:0crwdne2915208:0

crwdns2935297:043crwdne2935297:0

crwdns2915084:0crwdne2915084:0

iFanatics crwdns2935289:0iFanaticscrwdne2935289:0

Community

crwdns2931471:054crwdne2931471:0

crwdns2935297:0156crwdne2935297:0

crwdns2944067:00crwdne2944067:0

crwdns2917038:0crwdne2917038:0

crwdns2936625:0crwdne2936625:0:

crwdns2936751:024crwdne2936751:0 0

crwdns2936753:07crwdne2936753:0 3

crwdns2936753:030crwdne2936753:0 28

crwdns2942667:0crwdne2942667:0 833