I upgraded the ESXi 7.0u1c version.
Recently, my ESXi host always shuts down by itself. Check the log as follows
2021-04-18T11:26:11Z esxi02.tdhy.local bootstop: Host is powering off
2021-04-18T11:26:11Z esxi02.tdhy.local init: starting pid 2635459, tty '': '/usr/lib/vmware/vmksummary/log-bootstop.sh stop'
2021-04-18T11:26:11.337Z esxi02.tdhy.local Hostd: info hostd [Originator@6876 sub=Vimsvc.TaskManager opID=738620fd user=vpxuser] Task Completed : haTask--vim.event.EventHistoryCollector.readNext-757537 Status success
2021-04-18T11:26:11.337Z esxi02.tdhy.local Hostd: info hostd [Originator@6876 sub=Vimsvc.TaskManager opID=738620fd user=vpxuser] Task Created : haTask--vim.event.EventHistoryCollector.readNext-757537
2021-04-18T11:26:11.334Z esxi02.tdhy.local Hostd: info hostd [Originator@6876 sub=SysCommandPosix] ForkExec(/sbin/poweroff) 2635458
2021-04-18T11:26:11.334Z esxi02.tdhy.local Hostd: info hostd [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 1020 : Shut down of esxi02.tdhy.local in ha-datacenter: Unknown
2021-04-18T11:26:11.334Z esxi02.tdhy.local Hostd: warning hostd [Originator@6876 sub=Hostsvc.HaHost] Failed to find activation record, event user unknown.
2021-04-18T11:26:11.334Z esxi02.tdhy.local Hostd: info hostd [Originator@6876 sub=Hostsvc.HaHost] Shutdown, force = true
2021-04-18T11:26:11.333Z esxi02.tdhy.local Hostd: info hostd [Originator@6876 sub=Hostsvc.HaHost] ACPI power event from the vmkernel
2021-04-18T11:26:11.333Z esxi02.tdhy.local vmkernel: cpu0:2097212)VMKAcpi: 259: Power button pressed; requesting graceful shutdown and poweroff
You've got a script or process somewhere (internally or externally) that's calling for a graceful shutdown. Where that's occurring, no idea, but that appears to be what's happening. This doesn't look like ESXi is just suddenly deciding to go to bed.
VMKAcpi: 259: Power button pressed
This is odd. Is there someone else that might be pressing the power button?
I'm not sure if that line literally means, "a human finger pressed the power" or if the system got sent SIGTERM as a graceful shutdown request.
any luck with this. we are getting the same power button pressed line but no one pressed the power button.
This post is very old, more than a year ago.
Please open a new post, with as much data as possible:
VMware version, build, brand, type and model of the physical Server.
Does this correlate with any other events in the environment? You don't have DPM on do you?
DPM is not enabled. No it doesnt correlate with anything i could find. i checked all the logs and there is no indication of a power off request coming from out of band management, the console, the shell, dcui. I was certain the power button was pressed because we did a test with someone pressing the power button and it matches the logs exactly. but security says they checked the cameras and no one was near the server.
thanks for the response.
Sorry I couldn't help more. One last thing I would check for would be an actual physical short on the server main board causing this.
Upgrade ESXi to 7.0.3
Upgrade iLO or iDRAC, BIOS. Check firmware and driver versions.
During the upgrade to vsphere 7.0.1 did you use a customized vendor ESXi ISO? If not - use next time