NethServer Version: 7.9
Module: UPS / NUT
UPS is unavailable after an update, does anyone else have this problem?
NethServer Version: 7.9
Module: UPS / NUT
UPS is unavailable after an update, does anyone else have this problem?
Is the config still there?
config show ups
Maybe it helps to reapply the config by
signal-event nethserver-nut-save
or
signal-event nethserver-nut-update
The services to check are nut-server
and nut-monitor
:
systemctl status -l nut-server nut-monitor
Please also check the system logs (/var/log/messages
) for errors.
Please also share the results of
config show nut-server
config show nut-monitor
Did you already try to restart the services?
systemctl restart nut-server nut-monitor
[root@nsrv1 ~]# config show nut-server
nut-server=service
Device=auto
Model=usbhid-ups
Password=mypassword
TCPPort=3493
Ups=UPS
User=upsmon
access=green
status=enabled
[root@nsrv1 ~]# config show nut-monitor
nut-monitor=service
Master=
Notify=disabled
status=enabled
[root@nsrv1 ~]# systemctl restart nut-server nut-monitor
[root@nsrv1 ~]#
Broadcast message from nut@nsrv1.mgmt.lan (Wed Apr 17 20:22:41 2024):
Communications with UPS UPS@127.0.0.1 lost
usbhid-ups
maybe try the APC one. I had a case where after 2 years I had to change the driver…
APC is, over the last few years, reducing open source…
It worked until I did an update on CLI:
yum --enablerepo=* clean all && yum update -y && scl enable rh-php56 --fwconsole ma updateall
[root@nsrv1 ~]# rpm -qa | grep nut
collectd-nut-5.8.1-2.el7.x86_64
nethserver-nut-1.5.5-1.ns7.noarch
nut-client-2.8.0-2.el7.x86_64
...
nut-2.8.0-2.el7.x86_64
update:
Same problem here after update.
Downgrade nut and nut-client to previous version (yum downgrade nut nut-client)
After that, exclude nut and nut-client from being updated in yum.conf.
This solved my problems.
Same problem here after update, and when I restart the server.
I need to restart the driver with
upsdrvctl -DD start
…and my UPS is back again (Riello iDialog IDG600)
Hope this helps