On 12/03/2016 09:36 AM, Charles Lepple wrote:>> On Dec 3, 2016, at 9:44 AM, Jack McGee <jack at greendesk.net> wrote: >> >> But doesn't this still indicate an error: >> >> mythuser at amethi:/etc/nut$ upscmd -l CyberPower1 >> Error: Connection failure: Connection refused > Correct - "upsc", "upscmd" and "upsrw" need to connect to "upsd", and "upsd" talks to the driver. Looks like you got the driver working before, so that configuration should still be good, but the upgrade process might have stopped it. > > Debian/Ubuntu both use a flag in /etc/nut/nut.conf to determine which processes to start. You will probably want to set it to either "MODE=standalone" or "MODE=netserver", then run "sudo service nut-server restart" and "sudo service nut-client restart". >I did restart those services, no change.
> 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.
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