<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/">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>