[Nut-upsuser] UPS not shutting down, no syslogs; no wall messages plus other problems
Robert Nichols
rnicholsNOSPAM at comcast.net
Mon Aug 10 01:52:47 BST 2026
On 8/9/26 09:24, Greg Troxel via Nut-upsuser wrote:
> The secondary shut down due to lack of comms from primary.
>
> The primary appears to have noticed it should shutdown but something is
> not right.
>
> Generally the system up/down scripts need to notice that the killpower
> flag file has been set. That requires a lot of things, including that
> the filesystem it is written to have the right permissions and that it
> still be mounted.
>
> You should be able to test by first getting a shell as user nut, and
> then "touch /var/run/nut/killpower". If that doesn't work, figure out
> why and fix that before continuing. Then run the shutdown command
> manually.
According to some hard-to-find docs, that file will be ignored unless it
contains the magic string "upsmon-shutdown-file" (without the quotes, of
course). That string is found in the file /usr/sbin/upsmon.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
More information about the Nut-upsuser
mailing list