VMware Cloud Community
jiachao900521
Contributor
Contributor

The host shuts down from time to time

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[2101848] [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[2102993] [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[2102075] [Originator@6876 sub=SysCommandPosix] ForkExec(/sbin/poweroff) 2635458
 
2021-04-18T11:26:11.334Z esxi02.tdhy.local Hostd: info hostd[2102075] [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[2102075] [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[2102075] [Originator@6876 sub=Hostsvc.HaHost] Shutdown, force = true
 
2021-04-18T11:26:11.333Z esxi02.tdhy.local Hostd: info hostd[2102075] [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
 
This problem has troubled me for a long time, can anyone help me?
 
Thanks very mach!
Reply
0 Kudos
9 Replies
daphnissov
Immortal
Immortal

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.

Reply
0 Kudos
Redhatcc
Enthusiast
Enthusiast

VMKAcpi: 259: Power button pressed

 This is odd. Is there someone else that might be pressing the power button? 

Reply
0 Kudos
daphnissov
Immortal
Immortal

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.

Reply
0 Kudos
nccvmware
Contributor
Contributor

any luck with this. we are getting the same power button pressed line but no one pressed the power button.

Reply
0 Kudos
e_espinel
Virtuoso
Virtuoso

Hello.
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.

 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
Reply
0 Kudos
tdoc210
Enthusiast
Enthusiast

Does this correlate with any other events in the environment? You don't have DPM on do you?

nccvmware
Contributor
Contributor

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.

 

Reply
0 Kudos
tdoc210
Enthusiast
Enthusiast

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.

maksym007
Expert
Expert

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 

Reply
0 Kudos