<div dir="auto"><div>Hello,</div><div dir="auto"><br></div><div dir="auto">Thanks for the report and sorry about any complications.</div><div dir="auto"><br></div><div dir="auto">A few first questions:</div><div dir="auto"><br></div><div dir="auto">* is this setup known to have been working with earlier NUT releases (e.g. same OS and devices, older NUT - can try with a custom build of older tags)? Is this a regression, or we never knew the correct mappings for timeouts and/or shutdown commands used by this model?</div><div dir="auto"><br></div><div dir="auto">* is there the `select` error when starting the driver not for shutdowns? (is it part of the problem actually?)</div><div dir="auto"><br></div><div dir="auto">Jim<br><br><div class="gmail_quote gmail_quote_container" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Dec 16, 2024, 23:03 Lee Damon via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</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 dir="ltr"><div>I'm still digging into this but thought I'd post what I have so far in case there's a known issue that's easily fixed.</div><div><br></div><div>I'm using the version of NUT that's in the ports tree (see the info at the bottom). Using the SNMP drivers to talk with two ACP SmartUPSs.</div><div><br></div><div>NUT is functional about monitoring and initiating host shutdown. However, when it comes time to shut down the UPSs it complains about "select with socket: Invalid argument" then fails entirely to shut down the UPSs.</div><div><br></div><div>root@castle:/usr/local/etc/rc.d # upsdrvctl shutdown<br>Network UPS Tools - UPS driver controller 2.8.2<br>Network UPS Tools - Generic SNMP UPS driver 1.31 (2.8.2)<br>select with socket: Invalid argument<br>Detected Smart-UPS 3000 RM on host 192.5.37.78 (mib: apcc 1.60)<br>Initiating UPS shutdown<br>[upstop] nut_snmp_set: can't set .1.3.6.1.4.1.318.1.1.1.6.1.1.0: Timeout<br>Shutdown failed!<br>upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it<br>Driver failed to start (exit status=1)<br>Network UPS Tools - Generic SNMP UPS driver 1.31 (2.8.2)<br>select with socket: Invalid argument<br>Detected Smart-UPS 3000 RM on host 192.5.37.79 (mib: apcc 1.60)<br>Initiating UPS shutdown<br>[upsbottom] nut_snmp_set: can't set .1.3.6.1.4.1.318.1.1.1.6.1.1.0: Timeout<br>Shutdown failed!<br>upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it<br>Driver failed to start (exit status=1)<br></div><div><br></div><div>: || nomad@castle ~ [51] ; pkg info nut<br>nut-2.8.2<br>Name : nut<br>Version : 2.8.2<br>Installed on : Mon Jun 17 12:06:50 2024 PDT<br>Origin : sysutils/nut<br>Architecture : FreeBSD:14:amd64<br>Prefix : /usr/local<br>Categories : sysutils<br>Licenses : GPLv3+ and GPLv2+ and GPLv1+ and ART10<br>Maintainer : cy@FreeBSD.org<br>WWW : <a href="https://www.networkupstools.org/" target="_blank" rel="noreferrer">https://www.networkupstools.org/</a><br>Comment : Network UPS Tools<br>Options :<br> AVAHI : on<br> BASH : on<br> CGI : on<br> DEV : off<br> DOCS : on<br> FREEIPMI : on<br> IPMIPSU : off<br> MANPAGES : on<br> MODBUS : on<br> NEON : on<br> NSS : off<br> OPENSSL : on<br> PDU : on<br> SERIAL : on<br> SNMP : on<br> SSL_OFF : off<br> USB : on<br>Shared Libs required:<br> libpowerman.so.0<br> libnetsnmp.so.40<br> libneon.so.27<br> libmodbus.so.5<br> libltdl.so.7<br> libgd.so.6<br>Shared Libs provided:<br> libupsclient.so.6<br> libnutscan.so.2<br> libnutclientstub.so.1<br> libnutclient.so.2<br>Annotations :<br> FreeBSD_version: 1400097<br> build_timestamp: 2024-06-11T10:20:37+0000<br> built_by : poudriere-git-3.4.1-30-g79e3edcd<br> port_checkout_unclean: no<br> port_git_hash : b3aa1ea86<br> ports_top_checkout_unclean: no<br> ports_top_git_hash: 492f5a54a<br> repo_type : binary<br> repository : FreeBSD<br>Flat size : 12.9MiB<br></div><div><br></div><div>Is there anything obvious I should be checking?</div><div><br></div><div>thanks,</div><div>nomad</div></div>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div></div></div>