[Nut-upsuser] Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Charles Lepple
clepple at gmail.com
Wed Aug 12 23:16:29 BST 2020
On Aug 12, 2020, at 5:32 PM, Todd Benivegna <todd at benivegna.com> wrote:
>
>> Those LISTEN lines were appropriate pre-systemd when NUT's startup script was launched after networking was fully enabled. I would recommend "LISTEN 0.0.0.0 3493" instead, and use firewall rules if you are trying to exclude an interface (which is likely not the case on a Pi).
> Ok, so replace both with that or just one of the lines? I suspected one of the lines may be the problem because when I took out the second line, nut-server service wouldn’t fail, but then clients couldn’t connect.
Recommend replacing both. Binding to 0.0.0.0 will allow connections to/from 127.0.0.1. The error handling is not ideal, but upsd logs messages as it parses. You can stop the service (if systemd is still trying to restart it), and then try "sudo upsd -D" to see what it is doing. It should respond to Ctrl-C.
More information about the Nut-upsuser
mailing list