Server gracefully shutting down as soon as UPS goes on battery


Go to solution Solved by InCaseOf,

Recommended Posts

Hello! 
So a few months back I got a UPS and finally got around to setting it up. My problem is as soon as the UPS switches to battery, the server shuts downs. 
Here is my NUT settings:
image.thumb.png.492b334fec4ef7e657bcbf45b6172ed7.png

image.thumb.png.9cafe13aabeaacecf8bf8c2a652b4f8c.png


I hooked up a monitor so I can watch what gets displayed on the terminal and it is this:
image.png.59c776eadb83041d2486a6d5107ea26a.png
 After that it displays the normal shut down stuff and shuts down cleanly. 

From that picture it looks like two things are going one:
1: something is saying there is a power-fail and is forcing a shutdown
2: NUT is working and is attempting to wait for 5 mins before shutting down 

I jump to the idea that my UPS is not working correctly and the server sees a bad voltage for a second, but it is still on so it cant be that bad, can it?
Anyone have a better idea, or see something I missed?
 

Link to comment

Thanks! Just tried the built in one, and it set it like this:
image.thumb.png.093ae9e80ba3aed86102f8f440f7d6b8.png
Gonna have to wait till tomorrow to shut the breaker to test it but hopefully it was that , Thanks for the pic 

Edit:
I just saw Time b4 shutdown is in seconds on this one, whoops 
Here's updated version:
image.thumb.png.fc5c8486be8d7ce96aba688ea57b55fc.png

image.thumb.png.93d2587787a42b7b3a587dbcceb18f69.png

Edited by InCaseOf
Link to comment

I was able to test the new setup shown in the previous pictures just now and as soon as I flip the breaker off, the ups kicks to battery, Unraid starts a clean shutdown, despite the ups shutdown settings not being met. I do have my modem connected to the UPS and that hasn't power cycled once. I did this with the updated 300 second shutdown timer

Maybe tomorrow I can turn off all the Unraid UPS daemons and test the ups, if it still shuts Unraid down then its a UPS problem, I think that makes sense 

Edited by InCaseOf
Link to comment
  • Solution

So, I went back to the default UPS daemon and it reported that my ups was OFFLINE which made unraid shut off. 

I did a bit more digging  Found this tread


Which led me to this comment 
image.thumb.png.6597087a0ebad5f0062ae001ebbc72be.png
I re-installed NUT and everything is working as it should be, maybe a bug with NUT? No clue since my was detecting the UPS

Anyway, thanks for the help! Just wanted to add this here in case someone else runs into this problem 

 

Edited by InCaseOf
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.