[Nut-upsuser] Installing and running NUT on OpenBSD

Greg Troxel gdt at lexort.com
Mon Feb 10 15:11:10 GMT 2025


Ben Short <ben at benshort.co.uk> writes:

> # nut-scanner
> Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search
> disabled.

I wonder if your package is not passing -R and thus not finding things.
I'd use ldd and objdump -x | egrep 'NEEDED|RPATH' to look at your
binaries.

> [nutdev-usb1]
>         driver = "usbhid-ups"   # alternately: apc_modbus
>         port = "auto"
>         vendorid = "051D"
>         productid = "0003"
>         product = "Smart-UPS X 2200 FW:UPS 07.4 / ID=01003"
>         serial = "AS2039254737"
>         vendor = "American Power Conversion"
>         # bus = "000"
>         # device = "005"
>         # busport = "004"
>
> I've added the details to /etc/nut/ups.conf
>
> But get the following error:
>
> # upsdrvctl start
> Network UPS Tools - UPS driver controller 2.8.2
> Network UPS Tools - Generic HID driver 0.53 (2.8.2)
> USB communication driver (libusb 1.0) 0.47
> libusb1: Could not open any HID devices: no USB buses found
> No matching HID UPS found

ktrace
usbdevs
check your /dev



More information about the Nut-upsuser mailing list