Source of Shutdown?

mhammett

Renowned Member
Mar 11, 2009
147
1
83
DeKalb, Illinois, United States
We had a server that shutdown yesterday. I do mean shutdown and not powered off.

In the "Task History" for that host, I do see a "Stop all VMs and Containers" entry. Is there any way to see *how* that shutdown was requested? Was a button clicked in the web UI? A command entered in the CLI?
 
usually this is logged in the journal/syslog (before the shutdown sequence starts)

if `journalctl -b -1` yields output this is the log for the last boot of the system (until it shut down) - go to the end of the text and then search upward for 'shutdown'
If it does not produce output you can check /var/log/syslog.1 (or .2.gz and so on) for the logs.

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!