NUT Listening on ip6, not ip4

mindless74

Cadet
Joined
Mar 29, 2023
Messages
2
Hello together,

I am running TrueNAS-SCALE-22.12.1 together with a Eaton Ellipse 850 VA as UPS. This configuration worked great - until I disconnected the UPS for a few days and reconnected it. Since than the local services are running fine, but the remote service is only available for ip6. I do not use IP6, as it conflicts with my home office equipment. It also looks like the UPS is deducted twice.

I have restarted the server, NUT service, enabled and disabled remote monitoring.

What I should mention, I have tried to connect NUT to a remote UPS, without any success.

Is there a way to reset the NUT config?

Thank You

BR
Patrick

------

/var/log/syslog

Mar 30 12:54:45 truenas systemd[1]: Started Network UPS Tools - power device driver controller.
Mar 30 12:54:45 truenas systemd[1]: Starting Network UPS Tools - power devices information server...
Mar 30 12:54:45 truenas upsd[329896]: fopen /run/nut/upsd.pid: No such file or directory
Mar 30 12:54:45 truenas upsd[329896]: listening on ::0 port 3493
Mar 30 12:54:45 truenas upsd[329896]: listening on ::0 port 3493
Mar 30 12:54:45 truenas upsd[329896]: not listening on 0.0.0.0 port 3493
Mar 30 12:54:45 truenas upsd[329896]: not listening on 0.0.0.0 port 3493
Mar 30 12:54:45 truenas upsd[329896]: Connected to UPS [Eaton-850-Server]: usbhid-ups-Eaton-850-Server
Mar 30 12:54:45 truenas upsd[329896]: Connected to UPS [Eaton-850-Server]: usbhid-ups-Eaton-850-Server
Mar 30 12:54:45 truenas upsd[329897]: Startup successful

upsd.conf
admin@truenas[/etc/nut]$ sudo cat upsd.conf
LISTEN 0.0.0.0 3493
LISTEN ::0 3493

The NUT Config:

Screenshot 2023-03-30 at 12.57.47.png


My Network config:

Screenshot 2023-03-30 at 13.06.38.png
 

mindless74

Cadet
Joined
Mar 29, 2023
Messages
2
I would like to mark this thread as solved, but I can not not find the thread tools or an edit function for the Title.

I was able to solve it my self. I just have downloaded von of the nightly backups, via SCP, out of the time, as everything worked fine.
It`s still exactly configured as shown in the screenshots, but it is working now.

I am not sure what exactly caused this issue. For me it looks like an error in the configuration database of TrueNas. I was able to change the NUT config files by hand, but with a stop/start via WebGui, the old and wrong config has been restored.

So there is still one question open, can the UPS Config, or the configuration of any service, be resetted without reading back a complete backup?

I am not 100% sure, but something tells me, there was a delete config Button back to the time, I have used Core. Or do I need a true command instance, to get this features?

Patrick
 
Top