On 12/03/2016 10:08 AM, Charles Lepple wrote:>> On Dec 3, 2016, at 11:01 AM, Jack McGee <jack at greendesk.net> wrote: >> >> I did restart those services, no change. >> > $ ps auxww|grep [/]nut > root 13074 0.0 0.0 37844 2628 ? Ss 08:42 0:00 /lib/nut/upsmon > nut 13076 0.0 0.0 45632 5148 ? S 08:42 0:00 /lib/nut/upsmon > nut 13176 0.0 0.0 30928 2228 ? Ss 08:42 0:01 /lib/nut/tripplite_usb -a tl > nut 13178 0.0 0.0 37844 2284 ? Ss 08:42 0:01 /lib/nut/upsd > > If "upsd" is running, and you still get "Connection refused", it might be a firewall issue. If not, check syslog for any messages from upsd saying that it couldn't bind to a port, or something similar.ps auxww|grep [/]nut nut 19724 0.0 0.0 27932 516 ? Ss 08:41 0:00 /lib/nut/usbhid-ups -a CyberUPS1 root 20308 0.0 0.0 37844 2632 ? Ss 08:41 0:00 /lib/nut/upsmon nut 20309 0.0 0.0 45632 4884 ? S 08:41 0:00 /lib/nut/upsmon mythuser at amethi:/etc/nut$ grep upsd /var/log/syslog Dec 3 08:38:16 amethi nut-server[18216]: No upsd found running; none killed. Dec 3 08:38:16 amethi upsd[18234]: not listening on ::1 port 3493 Dec 3 08:38:16 amethi upsd[18234]: listening on 127.0.0.1 port 3493 Dec 3 08:38:16 amethi upsd[18234]: no listening interface available Dec 3 08:41:11 amethi nut-server[19674]: No upsd found running; none killed. Dec 3 08:41:19 amethi upsd[19725]: not listening on ::1 port 3493 Dec 3 08:41:19 amethi upsd[19725]: listening on 127.0.0.1 port 3493 Dec 3 08:41:19 amethi upsd[19725]: no listening interface available
On Dec 3, 2016, at 11:16 AM, Jack McGee <jack at greendesk.net> wrote:> > Dec 3 08:38:16 amethi upsd[18234]: not listening on ::1 port 3493 > Dec 3 08:38:16 amethi upsd[18234]: listening on 127.0.0.1 port 3493 > Dec 3 08:38:16 amethi upsd[18234]: no listening interface availableI can't say I fully understand the logic behind the IPv6 code, but the first line indicates a problem binding to the IPv6 localhost address. The "LISTEN 127.0.0.1 3493" line in upsd.conf is sufficient for local control and monitoring, and you can remove "LISTEN ::1 3493".
On 12/03/2016 10:35 AM, Charles Lepple wrote:> On Dec 3, 2016, at 11:16 AM, Jack McGee <jack at greendesk.net> wrote: >> Dec 3 08:38:16 amethi upsd[18234]: not listening on ::1 port 3493 >> Dec 3 08:38:16 amethi upsd[18234]: listening on 127.0.0.1 port 3493 >> Dec 3 08:38:16 amethi upsd[18234]: no listening interface available > I can't say I fully understand the logic behind the IPv6 code, but the first line indicates a problem binding to the IPv6 localhost address. The "LISTEN 127.0.0.1 3493" line in upsd.conf is sufficient for local control and monitoring, and you can remove "LISTEN ::1 3493".OK, did that restarted services and: mythuser at amethi:/etc/nut$ upscmd -l CyberUPS1 Instant commands supported on UPS [CyberUPS1]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) load.on - Turn on the load immediately load.on.delay - Turn on the load with a delay (seconds) shutdown.return - Turn off the load and return when power is back shutdown.stayoff - Turn off the load and remain off shutdown.stop - Stop a shutdown in progress test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test so this is progress. Thanks! Anything else to check to know it is working as it should? My next step will be to point NUT client on another machine to this one. They are both plugged into this UPS.