<div dir="auto"><div>Sounds great!</div><div dir="auto"><br></div><div dir="auto">By `connection error` it looks like the `upsc` client had nowhere to go. Is `upsd` started (and does it `LISTEN` on locahost or asterisk per `upsd.conf`)?</div><div dir="auto"><br></div><div dir="auto">Jim<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Oct 26, 2024, 08:13 William R. Elliot <<a href="mailto:bill@wreassoc.com">bill@wreassoc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
Hello again.<br><br>
I now have large chunks of the new driver working in the foreground and
wanted to see what upsc reports after starting the driver
"normally".<br><br>
I started checking with upsdrvctl:<br><br>
<font face="Courier New, Courier">bille@NUT-VM:/usr/local/ups/sbin$
./upsdrvctl -l<br>
Network UPS Tools upsdrvctl - UPS driver controller
2.8.2.1082.1-1083-gba804633b (development iteration after 2.8.2)<br>
UPM<br><br>
</font>OK, good so far...it lists the single ups in ups.conf.<br><br>
Go for start:<br><br>
<font face="Courier New, Courier">bille@NUT-VM:/usr/local/ups/sbin$ sudo
./upsdrvctl start<br>
Network UPS Tools upsdrvctl - UPS driver controller
2.8.2.1082.1-1083-gba804633b (development iteration after 2.8.2)<br>
Network UPS Tools 2.8.2.1082.1-1083-gba804633b (development iteration
after 2.8.2) - newdriver UPS driver 0.01<br>
Warning: This is an experimental driver.<br>
Some features may not function correctly.<br><br>
Found a UPS with serial number 2340001<br>
WARNING: ./upsdrvctl was called directly on a system with systemd
support.<br>
    Please consider using 'upsdrvsvcctl' instead, to avoid
conflicts with<br>
    nut-driver service instances prepared by
'nut-driver-enumerator'!<br><br>
</font>OK, I think that looks correct (ignoring 'upsdrvsvcctl' for now).
Try 'upsc':<br><br>
<font face="Courier New, Courier">bille@NUT-VM:/usr/local/ups/bin$ ./upsc
UPM<br>
Error: Connection failure: Connection refused<br><br>
</font>I also tried 'sudo ./upsc UPM' and got the same result. Is there
enough information here for you to help me identify what part of the NUT
system is not yet configured properly?<br><br>
Thank you,<br><br>
Bill<br>
[not a linux guy]<br>
<div id="m_6151391202365757037DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br><table style="border-top:1px solid rgb(211,212,222)"><tbody><tr><td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" rel="noreferrer"><img alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td><td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.<a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:rgb(68,83,234)" target="_blank" rel="noreferrer">www.avg.com</a></td></tr></tbody></table><a href="#m_6151391202365757037_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" rel="noreferrer"> </a></div></div>



_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsdev@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev</a><br>
</blockquote></div></div></div>