[Nut-upsuser] NUT on FBSD 14-2 fails to shut down UPS - select with socket: Invalid argument

Jim Klimov jimklimov+nut at gmail.com
Tue Dec 17 21:57:42 GMT 2024


*That* command would shut it down, same as `upsdrvctl shutdown` but with a
better chance to debug what actually happens in the dialog.

Actually with NUT v2.8.2 you can also request debug of drivers via
`upsdrvctl -d -DDDDDD shutdown ups_bottom` or some such (`-d` tells it to
pass debug flags to driver programs it launches).

Jim

On Tue, Dec 17, 2024 at 9:35 PM Lee Damon <lvd at uw.edu> wrote:

> Will that shut the UPS down or just set up the driver to allow it?
>
> nomad
>
> On Tue, Dec 17, 2024 at 11:59 AM Jim Klimov <jimklimov+nut at gmail.com>
> wrote:
>
>> Also, is the write-capable community set in the config (and enabled on
>> SNMP UPS side)? With SNMP (over UDP at least) it is hard to tell by lack of
>> reply if the device/service is missing or unwilling (e. g. bad auth).
>> Possibly the socket error
>> ZjQcmQRYFpfptBannerStart
>> ...
>> Try starting the driver command with debug, e.g.
>>
>> snmp-ups -a ups-bottom -DDDDDD -k
>>
>> (-k is for shutdown/killpower).
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20241217/abd9c347/attachment.htm>


More information about the Nut-upsuser mailing list