Jump to content

UNRAID Forcing Graceful Shutdown on HPE Proliant Server


Recommended Posts

I've been searching all over for a potential fix to a sudden problem I am having w/ UNRAID 6.10.3.  It keeps reporting a sudden power button press and graceful shutdown.  The power button isn't getting pressed and I've done extensive diagnostic testing and on the server and cannot find a problem.  The only reported hardware issues are w/ the Smart Array Battery, which I am getting a replacement for.

 

I also ran Memtest and even went as far as to install TrueNAS and verified that the server does not initiate a shutdown in any other situation except being booted into UNRAID.  I reinstalled the OS on the flash drive and attempted to use two additional flash drives, but the issue persists.

 

I would appreciate any other suggestions for troubleshooting this issue.  It's a HPE Proliant DL380 Gen9 w/ 2x Xeon processors and 64GB RAM. 

Link to comment
18 minutes ago, JorgeB said:

I assume it shutdown between these?

 

Jul  8 18:06:44 Biest rc.inet1: ip link set lo down
Jul  8 18:45:06 Biest kernel: microcode: microcode updated early to revision 0x49, date = 2021-08-11

 

If yes, not shutdown command, so possibly a hardware issue.

 

 

 

Actually no, I keep a secondary monitor on connected to monitor for it and this is when it starts the graceful shutdown:


 

Jul  8 18:45:35 Biest webGUI: Successful login user root from 10.0.0.3

Jul  8 18:50:52 Biest elogind-daemon[1977]: Power key pressed.

Jul  8 18:50:52 Biest elogind-daemon[1977]: Powering Off...

 

Link to comment

Something is missing, a shutdown either by using the GUI or a quick press of the power button, should always be logged like this:

 

Jul  9 08:53:04 Test2 kernel: md: sync done. time=2860sec
Jul  9 08:53:04 Test2 kernel: md: recovery thread: exit status: 0
Jul  9 08:53:31 Test2 shutdown[48304]: shutting down for system halt
Jul  9 08:53:31 Test2 init: Switching to runlevel: 0
Jul  9 08:53:31 Test2 init: Trying to re-exec init

 

Please test that yourself by actually pressing briefly the power button.

Link to comment

Ignore the above, missed the times:

 

Jul  8 18:50:52 Biest elogind-daemon[1977]: Power key pressed.
Jul  8 18:50:52 Biest elogind-daemon[1977]: Powering Off...
Jul  8 18:50:52 Biest elogind-daemon[1977]: System is powering down..
Jul  8 18:50:52 Biest elogind-daemon[1977]: Suspend key pressed.
Jul  8 18:50:52 Biest shutdown[5530]: shutting down for system halt
Jul  8 18:50:52 Biest init: Switching to runlevel: 0

 

Is this elogin something you installed? Can you try without it.

Link to comment

Well I was able to use that link to provide a work around.  I changed the /boot/config/go file w/ the following lines to software disable the power switch:


 

# Change power button handling and restart elogind to reload the edited config

/usr/bin/sed -i -e 's/#HandlePowerKey=poweroff/HandlePowerKey=ignore/g' /etc/elogind/logind.conf

/etc/rc.d/rc.elogind restart

chmod -x /etc/acpi/acpi_handler.sh

 

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...