NUT service randomly stops connecting to UPS despite service active, restarting service workaround (Cyberpower CP1500PFCLCD) #2667
Labels
Connection stability issues
Issues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over time
CyberPower (CPS)
impacts-release-2.7.4
Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks)
Linux
Some issues are specific to Linux as a platform
raspberry
Twice in the last couple months I happened to notice that the NUT server wasn't resolving info about the UPS when queried, that would be resolved when either the
nut-server
service was restarted or the server rebooted. Below is the most recent experience.SSH'ing into the server I checked the
nut-server
andnut-monitor
logs and they were reporting that the connection to the UPS was 'unavaiable' / timing out. Both services reported active status though.When I tried to restart
nut-server
viasudo systemctl restart nut-server
it failed:However, immediately upon starting the service using
sudo systemctl start nut-server
the connection to the UPS was logged as being established again (both in the server and client terminal SSH sessions) and everything went back to normal.Environment:
/etc/nut/ups.conf
The text was updated successfully, but these errors were encountered: