[Nut-upsuser] NUT stopped working after an upgrade

Bill Gee bgee at campercaver.net
Wed Nov 13 16:16:41 GMT 2024


Update - The Fedora 41 upgrade completed successfully.  Nut version is 
now 2.8.2.1.  Nut-scanner still complains about failure to load a 
library.  Everything else is working.  The nut services are running and 
upsc returns valid data from the UPS.

====================
[root at mythtv ~]# nut-scanner
Cannot load USB library (libusb-1.0.so) : file not found. USB search 
disabled.
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search 
disabled.
Cannot load XML library (libneon.so) : file not found. XML search disabled.
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI 
search disabled.
Cannot load IPMI library (libfreeipmi.so) : file not found. IPMI search 
disabled.
Cannot load NUT library (libupsclient.so) : file not found. NUT search 
disabled.
Scanning NUT simulation devices.

[root at mythtv ~]# ll /usr/lib64/libusb*
lrwxrwxrwx 1 root root     19 Jul 17 19:00 /usr/lib64/libusb-0.1.so.4 -> 
libusb-0.1.so.4.4.4
-rwxr-xr-x 1 root root  28224 Jul 17 19:00 /usr/lib64/libusb-0.1.so.4.4.4
lrwxrwxrwx 1 root root     19 Oct 21 19:00 /usr/lib64/libusb-1.0.so.0 -> 
libusb-1.0.so.0.4.0
-rwxr-xr-x 1 root root 127928 Oct 21 19:00 /usr/lib64/libusb-1.0.so.0.4.0
lrwxrwxrwx 1 root root     23 Jul 17 19:00 
/usr/lib64/libusbmuxd-2.0.so.6 -> libusbmuxd-2.0.so.6.0.0
-rwxr-xr-x 1 root root  40752 Jul 17 19:00 
/usr/lib64/libusbmuxd-2.0.so.6.0.0

[root at mythtv ~]# rpm -qi nut
Name        : nut
Version     : 2.8.2.1
Release     : 1.fc41.1.git20240703pr2505
Architecture: x86_64
Install Date: Wed 13 Nov 2024 08:52:24 AM CST
Group       : Unspecified
Size        : 13937866
License     : GPL-2.0-or-later AND GPL-3.0-or-later
Signature   : RSA/SHA256, Fri 19 Jul 2024 02:13:55 AM CDT, Key ID 
d0622462e99d6ad1
Source RPM  : nut-2.8.2.1-1.fc41.1.git20240703pr2505.src.rpm
Build Date  : Fri 19 Jul 2024 01:34:19 AM CDT

===============
Bill Gee

On 11/10/24 16:11, Jim Klimov wrote:
> Great!
> 
> Regarding libusb and nut-scanner, I think the *.so (exact) symlinks are 
> part of *-devel packages.
> 
> This was solved in NUT recently (maybe after 2.8.2 release already) by 
> detecting and stashing the basename of realpath of the library present 
> during build, so the exact *.so.X.Y.Z would be also tried.
> 
> Also, nut-scanner now (in 2.8.2 IIRC) should not suggest the volatile 
> bus/busport/device numbers by default.
> 
> Jim
> 
> 
> On Sun, Nov 10, 2024 at 7:42 PM Bill Gee <bgee at campercaver.net 
> <mailto:bgee at campercaver.net>> wrote:
> 
>     Thanks for the tip, Jim.  I just figured out what is going on.  The
>     system is now working.  ==> This one is on me.  <==
> 



More information about the Nut-upsuser mailing list