Re: [Nut-upsuser] unable to connect to APC UPS Connection Refused

2023-05-28 Thread Roger Price
Hello Dan, If I were faced with this problem, I would replace your current NUT configuration with a well understood "classic" involving MODE=standalone and upssched. I would not specify RUN_AS_USER root in upsmon.conf, and I would use the built-in techniques for not running as root. If this "

Re: [Nut-upsuser] unable to connect to APC UPS Connection Refused

2023-05-27 Thread Jim Klimov via Nut-upsuser
As a wild guess, your `upsd.conf` tells it to listen on `127.0.0.1` explicitly, which may be why it refuses to listen on wildcard `0.0.0.0`. However the clients connect to `localhost`. How is the system name resolution set up (check `/etc/hosts` as a starting point) - can `localhost` there mean IP

[Nut-upsuser] unable to connect to APC UPS Connection Refused

2023-05-27 Thread Dan G via Nut-upsuser
I've not been able to connect to my ups using NUT 2.7.4 or NUT 2.8.0. 2.7.4 was installed as a package, 2.8.O was compiled from source. I've messed with permissons, everything is root:root and has the approprate read/execute permissons. I've tried two differnt UPS(es) APC & CyperPower. I'm runn