Jim Klimov
2024-Dec-17 21:57 UTC
[Nut-upsuser] NUT on FBSD 14-2 fails to shut down UPS - select with socket: Invalid argument
*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>
Lee Damon
2024-Dec-17 22:23 UTC
[Nut-upsuser] NUT on FBSD 14-2 fails to shut down UPS - select with socket: Invalid argument
On 12/17/24 13:57, Jim Klimov wrote:> *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`I'll have to get back to you on that. My window for hardware shutdown has closed for now. Not sure when I'll be able to schedule another outage. nomad
Apparently Analagous Threads
- NUT on FBSD 14-2 fails to shut down UPS - select with socket: Invalid argument
- NUT on FBSD 14-2 fails to shut down UPS - select with socket: Invalid argument
- Fwd: [EXTERNAL] SNMP shutdown timing out
- 2.1.2 (pop3|imap)-login crash
- Fwd: [EXTERNAL] SNMP shutdown timing out