UPS is not powering off on command

Guys,

My UPS isn’t powering off when Truenas shuts down on power loss, though I have set it to do so in settings:

Seems like the UPS is connected as I see here:

admin@TRUENAS[~]$ upsc ups
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2007/02/26
battery.mfr.date: 2007/02/26
battery.runtime: 1290
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 13.6
battery.voltage.nominal: 12.0
device.mfr: American Power Conversion
device.model: Back-UPS ES 525
device.serial: 8B0708R15568  
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: auto
driver.version: 2.8.0
driver.version.data: APC HID 0.98
driver.version.internal: 0.47
driver.version.usb: libusb-1.0.26 (API: 0x1000109)
input.sensitivity: medium
input.transfer.high: 255
input.transfer.low: 195
input.voltage: 226.6
input.voltage.nominal: 230
output.voltage.nominal: 2300.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 851.t3.I
ups.firmware.aux: t3
ups.load: 10.0
ups.mfr: American Power Conversion
ups.mfr.date: 2007/02/26
ups.model: Back-UPS ES 525
ups.productid: 0002
ups.realpower.nominal: 300
ups.serial: 8B0708R15568  
ups.status: OL
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d

Definitely know that this UPS was working on Synology system, and was powering off properly.

But in Truenas, in case of power loss, the OS shuts down but after that the UPS is still on no matter how long I wait for it to power off.

Any ideas?

There’s no shutdown command in your screenshot, so the ups doesn’t know what to do

isn’t this checkbox enough for it to power off? What’s that command can you tell?

As far as i understand it, the command issues the shutdown of your truenas and if that command was executed the ups shuts down, at least that’s how it works on my scale system.

do you have some additional command indicated in the ups options?

just /sbin/shutdown -h as shutdown command, rest is pretty much the same as your settings

This didn’t work :frowning:

How are you testing it, are you pulling the power and waiting a long time? Using some cli to test it?

What is the result of cat /etc/nut/upsmon.conf?

Anything interesting shown in syslog? You can grep -i nut /var/log/syslog

omg

root@TRUENAS[/home/admin]# cat /etc/nut/upsmon.conf
MONITOR ups@localhost:3493 1 upsmon - MASTER
NOTIFYCMD /usr/sbin/upssched
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG COMMBAD SYSLOG+EXEC
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFLAG REPLBATT SYSLOG+EXEC
NOTIFYFLAG NOCOMM SYSLOG+EXEC
NOTIFYFLAG FSD SYSLOG+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+EXEC
SHUTDOWNCMD "/sbin/shutdown -P now"
POWERDOWNFLAG /etc/killpower
HOSTSYNC 5
Aug  7 19:01:59 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:00 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 27.
Aug  7 19:02:00 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:00 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:02:00 TRUENAS nut-driver@ups[15798]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:02:00 TRUENAS nut-driver@ups[15798]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:02:00 TRUENAS nut-driver@ups[15798]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:02:00 TRUENAS nut-driver@ups[15798]: Look in the man page or call this driver with -h for a list of
Aug  7 19:02:00 TRUENAS nut-driver@ups[15798]: valid variable names and flags.
Aug  7 19:02:00 TRUENAS nut-driver@ups[15797]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:00 TRUENAS nut-driver@ups[15826]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:02:00 TRUENAS nut-driver@ups[15826]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:02:00 TRUENAS nut-driver@ups[15826]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:00 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:02:00 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:02:00 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:04 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:09 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:14 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:15 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 28.
Aug  7 19:02:15 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:15 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:02:15 TRUENAS nut-driver@ups[16091]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:02:15 TRUENAS nut-driver@ups[16091]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:02:15 TRUENAS nut-driver@ups[16091]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:02:15 TRUENAS nut-driver@ups[16091]: Look in the man page or call this driver with -h for a list of
Aug  7 19:02:15 TRUENAS nut-driver@ups[16091]: valid variable names and flags.
Aug  7 19:02:15 TRUENAS nut-driver@ups[16090]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:15 TRUENAS nut-driver@ups[16119]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:02:15 TRUENAS nut-driver@ups[16119]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:02:15 TRUENAS nut-driver@ups[16119]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:15 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:02:15 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:02:15 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:19 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:24 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:29 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:30 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 29.
Aug  7 19:02:31 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:31 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:02:31 TRUENAS nut-driver@ups[16283]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:02:31 TRUENAS nut-driver@ups[16283]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:02:31 TRUENAS nut-driver@ups[16283]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:02:31 TRUENAS nut-driver@ups[16283]: Look in the man page or call this driver with -h for a list of
Aug  7 19:02:31 TRUENAS nut-driver@ups[16283]: valid variable names and flags.
Aug  7 19:02:31 TRUENAS nut-driver@ups[16282]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:31 TRUENAS nut-driver@ups[16311]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:02:31 TRUENAS nut-driver@ups[16311]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:02:31 TRUENAS nut-driver@ups[16311]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:31 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:02:31 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:02:31 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:34 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:39 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:44 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:46 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 30.
Aug  7 19:02:46 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:46 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:02:46 TRUENAS nut-driver@ups[16546]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:02:46 TRUENAS nut-driver@ups[16546]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:02:46 TRUENAS nut-driver@ups[16546]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:02:46 TRUENAS nut-driver@ups[16546]: Look in the man page or call this driver with -h for a list of
Aug  7 19:02:46 TRUENAS nut-driver@ups[16546]: valid variable names and flags.
Aug  7 19:02:46 TRUENAS nut-driver@ups[16545]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:46 TRUENAS nut-driver@ups[16574]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:02:46 TRUENAS nut-driver@ups[16574]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:02:46 TRUENAS nut-driver@ups[16574]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:02:46 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:02:46 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:02:46 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:02:49 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:54 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:02:59 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:01 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 31.
Aug  7 19:03:01 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:01 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:03:01 TRUENAS nut-driver@ups[16869]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:03:01 TRUENAS nut-driver@ups[16869]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:03:01 TRUENAS nut-driver@ups[16869]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:03:01 TRUENAS nut-driver@ups[16869]: Look in the man page or call this driver with -h for a list of
Aug  7 19:03:01 TRUENAS nut-driver@ups[16869]: valid variable names and flags.
Aug  7 19:03:01 TRUENAS nut-driver@ups[16868]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:01 TRUENAS nut-driver@ups[16924]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:03:01 TRUENAS nut-driver@ups[16924]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:03:01 TRUENAS nut-driver@ups[16924]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:01 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:03:01 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:03:01 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:04 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:09 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:14 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:16 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 32.
Aug  7 19:03:16 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:16 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:03:16 TRUENAS nut-driver@ups[17127]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:03:16 TRUENAS nut-driver@ups[17127]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:03:16 TRUENAS nut-driver@ups[17127]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:03:16 TRUENAS nut-driver@ups[17127]: Look in the man page or call this driver with -h for a list of
Aug  7 19:03:16 TRUENAS nut-driver@ups[17127]: valid variable names and flags.
Aug  7 19:03:16 TRUENAS nut-driver@ups[17126]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:16 TRUENAS nut-driver@ups[17155]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:03:16 TRUENAS nut-driver@ups[17155]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:03:16 TRUENAS nut-driver@ups[17155]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:16 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:03:16 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:03:16 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:19 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:24 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:29 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:31 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 33.
Aug  7 19:03:32 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:32 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:03:32 TRUENAS nut-driver@ups[17401]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:03:32 TRUENAS nut-driver@ups[17401]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:03:32 TRUENAS nut-driver@ups[17401]: Fatal error: 'timershutdown' is not a valid variable name for this driver.
Aug  7 19:03:32 TRUENAS nut-driver@ups[17401]: Look in the man page or call this driver with -h for a list of
Aug  7 19:03:32 TRUENAS nut-driver@ups[17401]: valid variable names and flags.
Aug  7 19:03:32 TRUENAS nut-driver@ups[17400]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:32 TRUENAS nut-driver@ups[17429]: Can't open /run/nut/usbhid-ups-ups.pid: No such file or directory
Aug  7 19:03:32 TRUENAS nut-driver@ups[17429]: Can't open /run/nut/usbhid-ups-auto.pid either: No such file or directory
Aug  7 19:03:32 TRUENAS nut-driver@ups[17429]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:32 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 19:03:32 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 19:03:32 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:34 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:39 TRUENAS nut-monitor[3069]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 19:03:42 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 19:03:42 TRUENAS nut-monitor[3069]: Signal 15: exiting
Aug  7 19:03:42 TRUENAS nut-server[3049]: User upsmon@::1 logged out from UPS [ups]
Aug  7 19:03:42 TRUENAS nut-monitor[3069]: Network UPS Tools upsmon 2.8.0
Aug  7 19:03:42 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 19:03:42 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 19:03:42 TRUENAS systemd[1]: nut-monitor.service: Consumed 3.679s CPU time.
Aug  7 19:03:42 TRUENAS nut-server[3049]: mainloop: Interrupted system call
Aug  7 19:03:42 TRUENAS nut-server[3049]: Signal 15: exiting
Aug  7 19:03:42 TRUENAS nut-server[3049]: Network UPS Tools upsd 2.8.0
Aug  7 19:03:42 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 19:03:42 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 19:03:42 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:03:43 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:03:43 TRUENAS nut-server[17555]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 19:03:43 TRUENAS nut-server[17555]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 19:03:43 TRUENAS nut-server[17555]: listening on ::0 port 3493
Aug  7 19:03:43 TRUENAS nut-server[17555]: not listening on 0.0.0.0 port 3493
Aug  7 19:03:43 TRUENAS nut-server[17555]: Can't connect to UPS [ups] (usbhid-ups-ups): No such file or directory
Aug  7 19:03:43 TRUENAS nut-server[17555]: Running as foreground process, not saving a PID file
Aug  7 19:03:43 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 19:03:43 TRUENAS nut-driver-enumerator[17558]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 19:03:43 TRUENAS nut-driver-enumerator[17558]: Removing instance: 'nut-driver@ups' ...
Aug  7 19:03:43 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:43 TRUENAS systemctl[17614]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 19:03:45 TRUENAS systemctl[17652]: Failed to reset failed state of unit nut-driver@ups.service: Unit nut-driver@ups.service not loaded.
Aug  7 19:03:45 TRUENAS nut-driver-enumerator[17558]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 19:03:45 TRUENAS nut-driver-enumerator[17558]: Adding new systemd service instance for power device [ups]...
Aug  7 19:03:45 TRUENAS systemctl[17660]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 19:03:48 TRUENAS nut-driver-enumerator[17558]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 19:03:48 TRUENAS nut-driver-enumerator[17558]: Adding 'Wants'+After dependency for 'ups' on 'systemd-udev.service systemd-udev-settle.service'...
Aug  7 19:03:48 TRUENAS nut-driver-enumerator[17558]: OK
Aug  7 19:03:48 TRUENAS nut-driver-enumerator[17558]: OK
Aug  7 19:03:51 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:03:51 TRUENAS nut-driver-enumerator[17558]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 19:03:52 TRUENAS nut-driver@ups[17842]: Using subdriver: APC HID 0.98
Aug  7 19:03:52 TRUENAS nut-driver@ups[17842]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:03:52 TRUENAS nut-driver@ups[17842]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:03:52 TRUENAS nut-driver@ups[17841]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:03:53 TRUENAS nut-server[17555]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 19:03:54 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:03:54 TRUENAS nut-driver-enumerator[17558]: === The currently defined service instances are:
Aug  7 19:03:54 TRUENAS nut-driver-enumerator[17558]: ups
Aug  7 19:03:54 TRUENAS nut-driver-enumerator[17558]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 19:03:54 TRUENAS nut-driver-enumerator[17558]: ups
Aug  7 19:03:54 TRUENAS nut-driver-enumerator[17558]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 19:03:54 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 19:03:54 TRUENAS nut-server[17886]: Network UPS Tools upsd 2.8.0
Aug  7 19:03:54 TRUENAS nut-server[17555]: mainloop: Interrupted system call
Aug  7 19:03:54 TRUENAS nut-server[17555]: SIGHUP: reloading configuration
Aug  7 19:03:54 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:03:54 TRUENAS nut-driver-enumerator[17558]: Wed Aug  7 15:03:54 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 19:03:54 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 19:03:54 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 19:03:55 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 19:03:55 TRUENAS nut-monitor[17892]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 19:03:55 TRUENAS nut-monitor[17892]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 19:03:55 TRUENAS nut-monitor[17892]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 19:03:55 TRUENAS nut-monitor[17892]: Using power down flag file /etc/killpower
Aug  7 19:03:55 TRUENAS nut-monitor[17893]: Init SSL without certificate database
Aug  7 19:03:55 TRUENAS nut-server[17555]: User upsmon@::1 logged into UPS [ups]
Aug  7 19:04:05 TRUENAS nut-monitor[17893]: Signal 15: exiting
Aug  7 19:04:05 TRUENAS nut-monitor[17893]: Network UPS Tools upsmon 2.8.0
Aug  7 19:04:05 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 19:04:05 TRUENAS nut-server[17555]: User upsmon@::1 logged out from UPS [ups]
Aug  7 19:04:05 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 19:04:05 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 19:04:05 TRUENAS nut-server[17555]: mainloop: Interrupted system call
Aug  7 19:04:05 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 19:04:05 TRUENAS nut-server[17555]: Signal 15: exiting
Aug  7 19:04:05 TRUENAS nut-server[17555]: Network UPS Tools upsd 2.8.0
Aug  7 19:04:05 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 19:04:05 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:04:06 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:04:06 TRUENAS nut-server[18064]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 19:04:06 TRUENAS nut-server[18064]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 19:04:06 TRUENAS nut-server[18064]: listening on ::0 port 3493
Aug  7 19:04:06 TRUENAS nut-server[18064]: not listening on 0.0.0.0 port 3493
Aug  7 19:04:06 TRUENAS nut-server[18064]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 19:04:06 TRUENAS nut-server[18064]: Running as foreground process, not saving a PID file
Aug  7 19:04:06 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 19:04:06 TRUENAS nut-driver-enumerator[18067]: Wed Aug  7 15:04:06 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 19:04:06 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 19:04:06 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 19:04:07 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 19:04:07 TRUENAS nut-monitor[18121]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 19:04:07 TRUENAS nut-monitor[18121]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 19:04:07 TRUENAS nut-monitor[18121]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 19:04:07 TRUENAS nut-monitor[18121]: Using power down flag file /etc/killpower
Aug  7 19:04:07 TRUENAS nut-monitor[18123]: Init SSL without certificate database
Aug  7 19:04:07 TRUENAS nut-server[18064]: User upsmon@::1 logged into UPS [ups]
Aug  7 19:04:27 TRUENAS nut-monitor[18123]: UPS ups@localhost:3493 on battery
Aug  7 19:04:27 TRUENAS nut-monitor[18362]: Executing command: NOTIFY-ONBATT
Aug  7 19:04:27 TRUENAS nut-monitor[18366]: null
Aug  7 19:04:27 TRUENAS nut-monitor[18360]: Network UPS Tools upsmon 2.8.0
Aug  7 19:04:32 TRUENAS nut-monitor[18123]: Signal 10: User requested FSD
Aug  7 19:04:32 TRUENAS nut-monitor[18123]: Executing automatic power-fail shutdown
Aug  7 19:04:32 TRUENAS nut-server[18064]: Client upsmon@::1 set FSD on UPS [ups]
Aug  7 19:04:32 TRUENAS nut-monitor[18123]: Auto logout and shutdown proceeding
Aug  7 19:04:32 TRUENAS nut-monitor[18486]: Executing command: NOTIFY-SHUTDOWN
Aug  7 19:04:32 TRUENAS nut-monitor[18490]: null
Aug  7 19:04:32 TRUENAS nut-monitor[18484]: Network UPS Tools upsmon 2.8.0
Aug  7 19:04:37 TRUENAS nut-monitor[18123]: Network UPS Tools upsmon 2.8.0
Aug  7 19:04:37 TRUENAS nut-monitor[18121]: Network UPS Tools upsmon 2.8.0
Aug  7 19:04:37 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 19:04:37 TRUENAS systemd[1]: nut-monitor.service: Consumed 4.677s CPU time.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopped sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopped target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 19:04:44 TRUENAS nut-server[18064]: mainloop: Interrupted system call
Aug  7 19:04:44 TRUENAS nut-server[18064]: Signal 15: exiting
Aug  7 19:04:44 TRUENAS nut-server[18064]: Network UPS Tools upsd 2.8.0
Aug  7 19:04:44 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopped target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:04:44 TRUENAS nut-driver@ups[20198]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:04:44 TRUENAS systemd[1]: nut-driver@ups.service: Deactivated successfully.
Aug  7 19:04:44 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:04:44 TRUENAS systemd[1]: nut-driver@ups.service: Consumed 17.529s CPU time.
Aug  7 19:04:44 TRUENAS systemd[1]: Removed slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 19:04:44 TRUENAS systemd[1]: system-nut\x2ddriver.slice: Consumed 21.565s CPU time.
Aug  7 19:07:27 TRUENAS kernel: Linux version 6.6.32-production+truenas (root@tnsbuilds01.tn.ixsystems.net) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Mon Jul  8 16:11:58 UTC 2024
Aug  7 19:07:27 TRUENAS systemd: systemd 252.19-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Aug  7 19:07:27 TRUENAS systemd: Created slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 19:07:27 TRUENAS udevadm[538]: systemd-udev-settle.service is deprecated. Please fix nut-driver@ups.service, zfs-import-cache.service not to pull it in.
Aug  7 19:08:55 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 19:08:55 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 19:08:56 TRUENAS systemd[1]: Started sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 19:08:57 TRUENAS nut-driver-enumerator[2709]: Wed Aug  7 15:08:57 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 19:08:57 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 19:08:57 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 19:08:58 TRUENAS nut-driver@ups[2940]: Using subdriver: APC HID 0.98
Aug  7 19:08:58 TRUENAS nut-driver@ups[2940]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 19:08:58 TRUENAS nut-driver@ups[2940]: USB communication driver (libusb 1.0) 0.43
Aug  7 19:08:58 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 19:08:58 TRUENAS nut-driver@ups[2935]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 19:08:58 TRUENAS systemd[1]: Reached target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 19:08:58 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 19:08:58 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 19:08:58 TRUENAS systemd[1]: Reached target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 19:08:58 TRUENAS nut-monitor[3055]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 19:08:58 TRUENAS nut-monitor[3055]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 19:08:58 TRUENAS nut-monitor[3055]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 19:08:58 TRUENAS nut-monitor[3055]: Using power down flag file /etc/killpower
Aug  7 19:08:58 TRUENAS nut-server[3054]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 19:08:58 TRUENAS nut-server[3054]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 19:08:58 TRUENAS nut-server[3054]: listening on ::0 port 3493
Aug  7 19:08:58 TRUENAS nut-server[3054]: not listening on 0.0.0.0 port 3493
Aug  7 19:08:58 TRUENAS nut-server[3054]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 19:08:58 TRUENAS nut-monitor[3058]: Init SSL without certificate database
Aug  7 19:08:58 TRUENAS nut-server[3054]: Running as foreground process, not saving a PID file
Aug  7 19:08:58 TRUENAS nut-server[3054]: User upsmon@::1 logged into UPS [ups]
Aug  7 22:43:01 TRUENAS nut-monitor[3058]: Signal 15: exiting
Aug  7 22:43:01 TRUENAS nut-server[3054]: User upsmon@::1 logged out from UPS [ups]
Aug  7 22:43:01 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 22:43:02 TRUENAS nut-monitor[3058]: Network UPS Tools upsmon 2.8.0
Aug  7 22:43:02 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 22:43:02 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 22:43:02 TRUENAS nut-server[3054]: mainloop: Interrupted system call
Aug  7 22:43:02 TRUENAS nut-server[3054]: Signal 15: exiting
Aug  7 22:43:02 TRUENAS nut-server[3054]: Network UPS Tools upsd 2.8.0
Aug  7 22:43:02 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 22:43:02 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 22:43:02 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:43:02 TRUENAS systemd[1]: nut-server.service: Consumed 1.313s CPU time.
Aug  7 22:43:02 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:43:02 TRUENAS nut-server[179818]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 22:43:02 TRUENAS nut-server[179818]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 22:43:02 TRUENAS nut-server[179818]: listening on ::0 port 3493
Aug  7 22:43:02 TRUENAS nut-server[179818]: not listening on 0.0.0.0 port 3493
Aug  7 22:43:02 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 22:43:02 TRUENAS nut-server[179818]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 22:43:02 TRUENAS nut-server[179818]: Running as foreground process, not saving a PID file
Aug  7 22:43:02 TRUENAS nut-driver-enumerator[179821]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 22:43:02 TRUENAS nut-driver-enumerator[179821]: Removing instance: 'nut-driver@ups' ...
Aug  7 22:43:02 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 22:43:02 TRUENAS nut-driver@ups[179924]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 22:43:02 TRUENAS nut-server[179818]: Can't connect to UPS [ups] (usbhid-ups-ups): No such file or directory
Aug  7 22:43:02 TRUENAS systemd[1]: nut-driver@ups.service: Deactivated successfully.
Aug  7 22:43:02 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 22:43:02 TRUENAS systemd[1]: nut-driver@ups.service: Consumed 6.435s CPU time.
Aug  7 22:43:02 TRUENAS systemctl[179925]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 22:43:05 TRUENAS systemctl[179943]: Failed to reset failed state of unit nut-driver@ups.service: Unit nut-driver@ups.service not loaded.
Aug  7 22:43:05 TRUENAS nut-driver-enumerator[179821]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 22:43:05 TRUENAS nut-driver-enumerator[179821]: Adding new systemd service instance for power device [ups]...
Aug  7 22:43:05 TRUENAS systemctl[179951]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 22:43:08 TRUENAS nut-driver-enumerator[179821]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 22:43:08 TRUENAS nut-driver-enumerator[179821]: Adding 'Wants'+After dependency for 'ups' on 'systemd-udev.service systemd-udev-settle.service'...
Aug  7 22:43:08 TRUENAS nut-driver-enumerator[179821]: OK
Aug  7 22:43:08 TRUENAS nut-driver-enumerator[179821]: OK
Aug  7 22:43:11 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 22:43:11 TRUENAS nut-driver-enumerator[179821]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]: WARNING: warn_if_bad_usb_port_filename(): port argument specified to
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]:   the driver is "/dev/uhid" but USB drivers do not use it and rely on
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]:   libusb walking all devices and matching their identification metadata.
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]:   NUT documentation recommends port="auto" for USB devices to avoid confusion.
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]: Using subdriver: APC HID 0.98
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 22:43:11 TRUENAS nut-driver@ups[180143]: USB communication driver (libusb 1.0) 0.43
Aug  7 22:43:11 TRUENAS nut-driver@ups[180142]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 22:43:12 TRUENAS nut-server[179818]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 22:43:13 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 22:43:13 TRUENAS nut-driver-enumerator[179821]: === The currently defined service instances are:
Aug  7 22:43:13 TRUENAS nut-driver-enumerator[179821]: ups
Aug  7 22:43:13 TRUENAS nut-driver-enumerator[179821]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 22:43:13 TRUENAS nut-driver-enumerator[179821]: ups
Aug  7 22:43:13 TRUENAS nut-driver-enumerator[179821]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 22:43:13 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 22:43:13 TRUENAS nut-server[179818]: mainloop: Interrupted system call
Aug  7 22:43:13 TRUENAS nut-server[179818]: SIGHUP: reloading configuration
Aug  7 22:43:13 TRUENAS nut-server[180198]: Network UPS Tools upsd 2.8.0
Aug  7 22:43:13 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:43:13 TRUENAS nut-driver-enumerator[179821]: Wed Aug  7 18:43:13 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 22:43:13 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 22:43:13 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 22:43:13 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 22:43:13 TRUENAS nut-monitor[180204]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 22:43:13 TRUENAS nut-monitor[180204]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 22:43:13 TRUENAS nut-monitor[180204]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 22:43:13 TRUENAS nut-monitor[180204]: Using power down flag file /etc/killpower
Aug  7 22:43:13 TRUENAS nut-monitor[180206]: Init SSL without certificate database
Aug  7 22:43:13 TRUENAS nut-server[179818]: User upsmon@::1 logged into UPS [ups]
Aug  7 22:52:18 TRUENAS nut-server[179818]: Data for UPS [ups] is stale - check driver
Aug  7 22:52:18 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:18 TRUENAS nut-monitor[180206]: Communications with UPS ups@localhost:3493 lost
Aug  7 22:52:19 TRUENAS nut-monitor[187420]: Network UPS Tools upsmon 2.8.0
Aug  7 22:52:23 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:28 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:33 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:38 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:43 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:48 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:53 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:52:58 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:03 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:08 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:13 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:18 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:23 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:28 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:33 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:38 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:43 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:48 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:53 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:53:58 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:03 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:08 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:13 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:18 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:23 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:28 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:33 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:38 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:43 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:48 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:53 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:54:58 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:03 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:08 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:13 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:18 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:23 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:28 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:33 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:38 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:43 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:48 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:53 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:55:58 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:03 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:08 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:14 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:19 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:24 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:29 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:34 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:39 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:44 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:49 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:54 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:56:59 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:57:04 TRUENAS nut-monitor[180206]: Poll UPS [ups@localhost:3493] failed - Data stale
Aug  7 22:57:08 TRUENAS nut-server[179818]: UPS [ups] data is no longer stale
Aug  7 22:57:09 TRUENAS nut-monitor[180206]: Communications with UPS ups@localhost:3493 established
Aug  7 22:57:09 TRUENAS nut-monitor[191134]: Network UPS Tools upsmon 2.8.0
Aug  7 22:58:42 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 22:58:42 TRUENAS nut-monitor[180206]: Signal 15: exiting
Aug  7 22:58:42 TRUENAS nut-server[179818]: User upsmon@::1 logged out from UPS [ups]
Aug  7 22:58:42 TRUENAS nut-monitor[180206]: Network UPS Tools upsmon 2.8.0
Aug  7 22:58:42 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 22:58:42 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 22:58:42 TRUENAS systemd[1]: nut-monitor.service: Consumed 9.962s CPU time.
Aug  7 22:58:42 TRUENAS nut-server[179818]: mainloop: Interrupted system call
Aug  7 22:58:42 TRUENAS nut-server[179818]: Signal 15: exiting
Aug  7 22:58:42 TRUENAS nut-server[179818]: Network UPS Tools upsd 2.8.0
Aug  7 22:58:42 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 22:58:42 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 22:58:42 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:58:43 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:58:43 TRUENAS nut-server[192369]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 22:58:43 TRUENAS nut-server[192369]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 22:58:43 TRUENAS nut-server[192369]: listening on ::0 port 3493
Aug  7 22:58:43 TRUENAS nut-server[192369]: not listening on 0.0.0.0 port 3493
Aug  7 22:58:43 TRUENAS nut-server[192369]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 22:58:43 TRUENAS nut-server[192369]: Running as foreground process, not saving a PID file
Aug  7 22:58:43 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 22:58:43 TRUENAS nut-driver-enumerator[192372]: Wed Aug  7 18:58:43 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 22:58:43 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 22:58:43 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 22:58:43 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 22:58:43 TRUENAS nut-monitor[192426]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 22:58:43 TRUENAS nut-monitor[192426]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 22:58:43 TRUENAS nut-monitor[192426]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 22:58:43 TRUENAS nut-monitor[192426]: Using power down flag file /etc/killpower
Aug  7 22:58:43 TRUENAS nut-monitor[192427]: Init SSL without certificate database
Aug  7 22:58:43 TRUENAS nut-server[192369]: User upsmon@::1 logged into UPS [ups]
Aug  7 22:59:03 TRUENAS nut-monitor[192427]: UPS ups@localhost:3493 on battery
Aug  7 22:59:03 TRUENAS nut-monitor[192692]: Executing command: NOTIFY-ONBATT
Aug  7 22:59:04 TRUENAS nut-monitor[192696]: null
Aug  7 22:59:04 TRUENAS nut-monitor[192690]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:09 TRUENAS nut-monitor[192427]: Signal 10: User requested FSD
Aug  7 22:59:09 TRUENAS nut-server[192369]: Client upsmon@::1 set FSD on UPS [ups]
Aug  7 22:59:09 TRUENAS nut-monitor[192427]: Executing automatic power-fail shutdown
Aug  7 22:59:09 TRUENAS nut-monitor[192427]: Auto logout and shutdown proceeding
Aug  7 22:59:09 TRUENAS nut-monitor[192744]: Executing command: NOTIFY-SHUTDOWN
Aug  7 22:59:09 TRUENAS nut-monitor[192748]: null
Aug  7 22:59:09 TRUENAS nut-monitor[192742]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:14 TRUENAS nut-monitor[192427]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:14 TRUENAS nut-monitor[192426]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:14 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 22:59:14 TRUENAS systemd[1]: nut-monitor.service: Consumed 5.133s CPU time.
Aug  7 22:59:20 TRUENAS systemd[1]: Stopped sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 22:59:21 TRUENAS nut-server[192369]: mainloop: Interrupted system call
Aug  7 22:59:21 TRUENAS nut-server[192369]: Signal 15: exiting
Aug  7 22:59:21 TRUENAS nut-server[192369]: Network UPS Tools upsd 2.8.0
Aug  7 22:59:21 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 22:59:21 TRUENAS nut-driver@ups[194511]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 22:59:21 TRUENAS systemd[1]: nut-driver@ups.service: Deactivated successfully.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 22:59:21 TRUENAS systemd[1]: Removed slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 22:59:21 TRUENAS systemd[1]: system-nut\x2ddriver.slice: Consumed 7.264s CPU time.
Aug  7 23:04:06 TRUENAS kernel: Linux version 6.6.32-production+truenas (root@tnsbuilds01.tn.ixsystems.net) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Mon Jul  8 16:11:58 UTC 2024
Aug  7 23:04:06 TRUENAS systemd: systemd 252.19-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Aug  7 23:04:06 TRUENAS systemd: Created slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 23:04:06 TRUENAS udevadm[543]: systemd-udev-settle.service is deprecated. Please fix nut-driver@ups.service, zfs-import-cache.service not to pull it in.
Aug  7 23:05:34 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:05:34 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:05:35 TRUENAS systemd[1]: Started sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 23:05:36 TRUENAS nut-driver-enumerator[2729]: Wed Aug  7 19:05:36 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:05:36 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:05:36 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: WARNING: warn_if_bad_usb_port_filename(): port argument specified to
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]:   the driver is "/dev/uhid" but USB drivers do not use it and rely on
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]:   libusb walking all devices and matching their identification metadata.
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]:   NUT documentation recommends port="auto" for USB devices to avoid confusion.
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: Using subdriver: APC HID 0.98
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: USB communication driver (libusb 1.0) 0.43
Aug  7 23:05:37 TRUENAS nut-driver@ups[2942]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:05:37 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:05:37 TRUENAS systemd[1]: Reached target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 23:05:37 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:05:37 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:05:37 TRUENAS systemd[1]: Reached target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 23:05:37 TRUENAS nut-server[3076]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:05:37 TRUENAS nut-server[3076]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:05:37 TRUENAS nut-server[3076]: listening on ::0 port 3493
Aug  7 23:05:37 TRUENAS nut-server[3076]: not listening on 0.0.0.0 port 3493
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: Using power down flag file /etc/killpower
Aug  7 23:05:37 TRUENAS nut-server[3076]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:05:37 TRUENAS nut-server[3076]: Running as foreground process, not saving a PID file
Aug  7 23:05:37 TRUENAS nut-monitor[3080]: Init SSL without certificate database
Aug  7 23:05:37 TRUENAS nut-server[3076]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:07:28 TRUENAS nut-monitor[3080]: Signal 15: exiting
Aug  7 23:07:28 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:07:28 TRUENAS nut-monitor[3080]: Network UPS Tools upsmon 2.8.0
Aug  7 23:07:28 TRUENAS nut-server[3076]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:07:28 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:07:28 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:07:28 TRUENAS nut-server[3076]: mainloop: Interrupted system call
Aug  7 23:07:28 TRUENAS nut-server[3076]: Signal 15: exiting
Aug  7 23:07:28 TRUENAS nut-server[3076]: Network UPS Tools upsd 2.8.0
Aug  7 23:07:28 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:07:28 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:07:28 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:28 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:28 TRUENAS nut-server[10658]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:07:28 TRUENAS nut-server[10658]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:07:28 TRUENAS nut-server[10658]: listening on ::0 port 3493
Aug  7 23:07:28 TRUENAS nut-server[10658]: not listening on 0.0.0.0 port 3493
Aug  7 23:07:28 TRUENAS nut-server[10658]: Can't connect to UPS [ups] (apcsmart-ups): No such file or directory
Aug  7 23:07:28 TRUENAS nut-server[10658]: Running as foreground process, not saving a PID file
Aug  7 23:07:28 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:07:28 TRUENAS nut-driver-enumerator[10664]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 23:07:28 TRUENAS nut-driver-enumerator[10664]: Removing instance: 'nut-driver@ups' ...
Aug  7 23:07:29 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:07:29 TRUENAS nut-driver@ups[10790]: Can't open /run/nut/apcsmart-ups.pid: No such file or directory
Aug  7 23:07:29 TRUENAS nut-driver@ups[10790]: Can't open /run/nut/apcsmart-auto.pid either: No such file or directory
Aug  7 23:07:29 TRUENAS nut-driver@ups[10790]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:07:29 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:07:29 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:07:29 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:07:29 TRUENAS systemctl[10791]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 23:07:32 TRUENAS nut-driver-enumerator[10664]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 23:07:32 TRUENAS nut-driver-enumerator[10664]: Adding new systemd service instance for power device [ups]...
Aug  7 23:07:32 TRUENAS systemctl[11100]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 23:07:35 TRUENAS nut-driver-enumerator[10664]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:07:35 TRUENAS nut-driver-enumerator[10664]: OK
Aug  7 23:07:39 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:07:39 TRUENAS nut-driver-enumerator[10664]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Fatal error: unusable configuration
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: APC command table version 3.1
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Unable to open auto: No such file or directory
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Things to try:
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]:  - Check 'port=' in ups.conf
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]:  - Check owner/permissions of all parts of path
Aug  7 23:07:39 TRUENAS nut-driver@ups[11312]: Driver failed to start (exit status=1)
Aug  7 23:07:39 TRUENAS nut-driver@ups[11312]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:07:41 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:07:41 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:07:41 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: === The currently defined service instances are:
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: ups
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: ups
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 23:07:41 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:07:41 TRUENAS nut-server[10658]: mainloop: Interrupted system call
Aug  7 23:07:41 TRUENAS nut-server[11354]: Network UPS Tools upsd 2.8.0
Aug  7 23:07:41 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:41 TRUENAS nut-server[10658]: SIGHUP: reloading configuration
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: Wed Aug  7 19:07:41 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:07:41 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:07:41 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.

is it possible to ger recent logs from this command because looks like there is a lot of garbage because of my play in settings

this is the most recent:






Aug  7 22:58:43 TRUENAS nut-monitor[192426]: Using power down flag file /etc/killpower
Aug  7 22:58:43 TRUENAS nut-monitor[192427]: Init SSL without certificate database
Aug  7 22:58:43 TRUENAS nut-server[192369]: User upsmon@::1 logged into UPS [ups]
Aug  7 22:59:03 TRUENAS nut-monitor[192427]: UPS ups@localhost:3493 on battery
Aug  7 22:59:03 TRUENAS nut-monitor[192692]: Executing command: NOTIFY-ONBATT
Aug  7 22:59:04 TRUENAS nut-monitor[192696]: null
Aug  7 22:59:04 TRUENAS nut-monitor[192690]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:09 TRUENAS nut-monitor[192427]: Signal 10: User requested FSD
Aug  7 22:59:09 TRUENAS nut-server[192369]: Client upsmon@::1 set FSD on UPS [ups]
Aug  7 22:59:09 TRUENAS nut-monitor[192427]: Executing automatic power-fail shutdown
Aug  7 22:59:09 TRUENAS nut-monitor[192427]: Auto logout and shutdown proceeding
Aug  7 22:59:09 TRUENAS nut-monitor[192744]: Executing command: NOTIFY-SHUTDOWN
Aug  7 22:59:09 TRUENAS nut-monitor[192748]: null
Aug  7 22:59:09 TRUENAS nut-monitor[192742]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:14 TRUENAS nut-monitor[192427]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:14 TRUENAS nut-monitor[192426]: Network UPS Tools upsmon 2.8.0
Aug  7 22:59:14 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 22:59:14 TRUENAS systemd[1]: nut-monitor.service: Consumed 5.133s CPU time.
Aug  7 22:59:20 TRUENAS systemd[1]: Stopped sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 22:59:21 TRUENAS nut-server[192369]: mainloop: Interrupted system call
Aug  7 22:59:21 TRUENAS nut-server[192369]: Signal 15: exiting
Aug  7 22:59:21 TRUENAS nut-server[192369]: Network UPS Tools upsd 2.8.0
Aug  7 22:59:21 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 22:59:21 TRUENAS nut-driver@ups[194511]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 22:59:21 TRUENAS systemd[1]: nut-driver@ups.service: Deactivated successfully.
Aug  7 22:59:21 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 22:59:21 TRUENAS systemd[1]: Removed slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 22:59:21 TRUENAS systemd[1]: system-nut\x2ddriver.slice: Consumed 7.264s CPU time.
Aug  7 23:04:06 TRUENAS kernel: Linux version 6.6.32-production+truenas (root@tnsbuilds01.tn.ixsystems.net) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Mon Jul  8 16:11:58 UTC 2024
Aug  7 23:04:06 TRUENAS systemd: systemd 252.19-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Aug  7 23:04:06 TRUENAS systemd: Created slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 23:04:06 TRUENAS udevadm[543]: systemd-udev-settle.service is deprecated. Please fix nut-driver@ups.service, zfs-import-cache.service not to pull it in.
Aug  7 23:05:34 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:05:34 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:05:35 TRUENAS systemd[1]: Started sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 23:05:36 TRUENAS nut-driver-enumerator[2729]: Wed Aug  7 19:05:36 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:05:36 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:05:36 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: WARNING: warn_if_bad_usb_port_filename(): port argument specified to
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]:   the driver is "/dev/uhid" but USB drivers do not use it and rely on
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]:   libusb walking all devices and matching their identification metadata.
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]:   NUT documentation recommends port="auto" for USB devices to avoid confusion.
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: Using subdriver: APC HID 0.98
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 23:05:37 TRUENAS nut-driver@ups[2945]: USB communication driver (libusb 1.0) 0.43
Aug  7 23:05:37 TRUENAS nut-driver@ups[2942]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:05:37 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:05:37 TRUENAS systemd[1]: Reached target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 23:05:37 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:05:37 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:05:37 TRUENAS systemd[1]: Reached target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 23:05:37 TRUENAS nut-server[3076]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:05:37 TRUENAS nut-server[3076]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:05:37 TRUENAS nut-server[3076]: listening on ::0 port 3493
Aug  7 23:05:37 TRUENAS nut-server[3076]: not listening on 0.0.0.0 port 3493
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:05:37 TRUENAS nut-monitor[3077]: Using power down flag file /etc/killpower
Aug  7 23:05:37 TRUENAS nut-server[3076]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:05:37 TRUENAS nut-server[3076]: Running as foreground process, not saving a PID file
Aug  7 23:05:37 TRUENAS nut-monitor[3080]: Init SSL without certificate database
Aug  7 23:05:37 TRUENAS nut-server[3076]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:07:28 TRUENAS nut-monitor[3080]: Signal 15: exiting
Aug  7 23:07:28 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:07:28 TRUENAS nut-monitor[3080]: Network UPS Tools upsmon 2.8.0
Aug  7 23:07:28 TRUENAS nut-server[3076]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:07:28 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:07:28 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:07:28 TRUENAS nut-server[3076]: mainloop: Interrupted system call
Aug  7 23:07:28 TRUENAS nut-server[3076]: Signal 15: exiting
Aug  7 23:07:28 TRUENAS nut-server[3076]: Network UPS Tools upsd 2.8.0
Aug  7 23:07:28 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:07:28 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:07:28 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:28 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:28 TRUENAS nut-server[10658]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:07:28 TRUENAS nut-server[10658]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:07:28 TRUENAS nut-server[10658]: listening on ::0 port 3493
Aug  7 23:07:28 TRUENAS nut-server[10658]: not listening on 0.0.0.0 port 3493
Aug  7 23:07:28 TRUENAS nut-server[10658]: Can't connect to UPS [ups] (apcsmart-ups): No such file or directory
Aug  7 23:07:28 TRUENAS nut-server[10658]: Running as foreground process, not saving a PID file
Aug  7 23:07:28 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:07:28 TRUENAS nut-driver-enumerator[10664]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 23:07:28 TRUENAS nut-driver-enumerator[10664]: Removing instance: 'nut-driver@ups' ...
Aug  7 23:07:29 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:07:29 TRUENAS nut-driver@ups[10790]: Can't open /run/nut/apcsmart-ups.pid: No such file or directory
Aug  7 23:07:29 TRUENAS nut-driver@ups[10790]: Can't open /run/nut/apcsmart-auto.pid either: No such file or directory
Aug  7 23:07:29 TRUENAS nut-driver@ups[10790]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:07:29 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:07:29 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:07:29 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:07:29 TRUENAS systemctl[10791]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 23:07:32 TRUENAS nut-driver-enumerator[10664]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 23:07:32 TRUENAS nut-driver-enumerator[10664]: Adding new systemd service instance for power device [ups]...
Aug  7 23:07:32 TRUENAS systemctl[11100]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 23:07:35 TRUENAS nut-driver-enumerator[10664]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:07:35 TRUENAS nut-driver-enumerator[10664]: OK
Aug  7 23:07:39 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:07:39 TRUENAS nut-driver-enumerator[10664]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Fatal error: unusable configuration
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: APC command table version 3.1
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Unable to open auto: No such file or directory
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]: Things to try:
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]:  - Check 'port=' in ups.conf
Aug  7 23:07:39 TRUENAS nut-driver@ups[11313]:  - Check owner/permissions of all parts of path
Aug  7 23:07:39 TRUENAS nut-driver@ups[11312]: Driver failed to start (exit status=1)
Aug  7 23:07:39 TRUENAS nut-driver@ups[11312]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:07:41 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:07:41 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:07:41 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: === The currently defined service instances are:
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: ups
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: ups
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 23:07:41 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:07:41 TRUENAS nut-server[10658]: mainloop: Interrupted system call
Aug  7 23:07:41 TRUENAS nut-server[11354]: Network UPS Tools upsd 2.8.0
Aug  7 23:07:41 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:41 TRUENAS nut-server[10658]: SIGHUP: reloading configuration
Aug  7 23:07:41 TRUENAS nut-driver-enumerator[10664]: Wed Aug  7 19:07:41 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:07:41 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:07:41 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:07:41 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:07:41 TRUENAS nut-monitor[11360]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:07:41 TRUENAS nut-monitor[11360]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:07:41 TRUENAS nut-monitor[11360]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:07:41 TRUENAS nut-monitor[11360]: Using power down flag file /etc/killpower
Aug  7 23:07:41 TRUENAS nut-monitor[11361]: Init SSL without certificate database
Aug  7 23:07:41 TRUENAS nut-server[10658]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:07:41 TRUENAS nut-monitor[11361]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:07:41 TRUENAS nut-monitor[11361]: Communications with UPS ups@localhost:3493 lost
Aug  7 23:07:42 TRUENAS nut-monitor[11362]: Network UPS Tools upsmon 2.8.0
Aug  7 23:07:45 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:07:45 TRUENAS nut-monitor[11361]: Signal 15: exiting
Aug  7 23:07:45 TRUENAS nut-server[10658]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:07:45 TRUENAS nut-monitor[11361]: Network UPS Tools upsmon 2.8.0
Aug  7 23:07:45 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:07:45 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:07:45 TRUENAS systemd[1]: nut-monitor.service: Consumed 1.582s CPU time.
Aug  7 23:07:45 TRUENAS nut-server[10658]: mainloop: Interrupted system call
Aug  7 23:07:45 TRUENAS nut-server[10658]: Signal 15: exiting
Aug  7 23:07:45 TRUENAS nut-server[10658]: Network UPS Tools upsd 2.8.0
Aug  7 23:07:45 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:07:45 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:07:45 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:46 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:07:46 TRUENAS nut-server[11376]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:07:46 TRUENAS nut-server[11376]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:07:46 TRUENAS nut-server[11376]: listening on ::0 port 3493
Aug  7 23:07:46 TRUENAS nut-server[11376]: not listening on 0.0.0.0 port 3493
Aug  7 23:07:46 TRUENAS nut-server[11376]: Can't connect to UPS [ups] (apcsmart-ups): No such file or directory
Aug  7 23:07:46 TRUENAS nut-server[11376]: Running as foreground process, not saving a PID file
Aug  7 23:07:46 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:07:46 TRUENAS nut-driver-enumerator[11379]: Wed Aug  7 19:07:46 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:07:46 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:07:46 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:07:46 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:07:46 TRUENAS nut-monitor[11433]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:07:46 TRUENAS nut-monitor[11433]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:07:46 TRUENAS nut-monitor[11433]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:07:46 TRUENAS nut-monitor[11433]: Using power down flag file /etc/killpower
Aug  7 23:07:46 TRUENAS nut-monitor[11434]: Init SSL without certificate database
Aug  7 23:07:46 TRUENAS nut-server[11376]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:07:46 TRUENAS nut-monitor[11434]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:07:46 TRUENAS nut-monitor[11434]: Communications with UPS ups@localhost:3493 lost
Aug  7 23:07:47 TRUENAS nut-monitor[11435]: Network UPS Tools upsmon 2.8.0
Aug  7 23:07:51 TRUENAS nut-monitor[11434]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:07:51 TRUENAS nut-monitor[11434]: UPS ups@localhost:3493 is unavailable
Aug  7 23:07:51 TRUENAS nut-monitor[11608]: Executing command: NOTIFY-NOCOMM
Aug  7 23:07:52 TRUENAS nut-monitor[11630]: null
Aug  7 23:07:52 TRUENAS nut-monitor[11606]: Network UPS Tools upsmon 2.8.0
Aug  7 23:07:56 TRUENAS nut-monitor[11434]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:07:56 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 1.
Aug  7 23:07:56 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:07:56 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]: Fatal error: unusable configuration
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]: APC command table version 3.1
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]: Unable to open auto: No such file or directory
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]: Things to try:
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]:  - Check 'port=' in ups.conf
Aug  7 23:07:57 TRUENAS nut-driver@ups[11746]:  - Check owner/permissions of all parts of path
Aug  7 23:07:57 TRUENAS nut-driver@ups[11745]: Driver failed to start (exit status=1)
Aug  7 23:07:57 TRUENAS nut-driver@ups[11745]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:07:57 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:07:57 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:07:57 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:08:01 TRUENAS nut-monitor[11434]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:06 TRUENAS nut-monitor[11434]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:11 TRUENAS nut-monitor[11434]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:12 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 2.
Aug  7 23:08:12 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:08:12 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]: Fatal error: unusable configuration
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]: APC command table version 3.1
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]: Unable to open auto: No such file or directory
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]: Things to try:
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]:  - Check 'port=' in ups.conf
Aug  7 23:08:12 TRUENAS nut-driver@ups[12075]:  - Check owner/permissions of all parts of path
Aug  7 23:08:12 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:08:12 TRUENAS nut-driver@ups[12074]: Driver failed to start (exit status=1)
Aug  7 23:08:12 TRUENAS nut-driver@ups[12074]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:08:12 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:08:12 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:08:15 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:08:15 TRUENAS nut-monitor[11434]: Signal 15: exiting
Aug  7 23:08:15 TRUENAS nut-monitor[11434]: Network UPS Tools upsmon 2.8.0
Aug  7 23:08:15 TRUENAS nut-server[11376]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:08:15 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:08:15 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:08:15 TRUENAS systemd[1]: nut-monitor.service: Consumed 6.906s CPU time.
Aug  7 23:08:15 TRUENAS nut-server[11376]: mainloop: Interrupted system call
Aug  7 23:08:15 TRUENAS nut-server[11376]: Signal 15: exiting
Aug  7 23:08:15 TRUENAS nut-server[11376]: Network UPS Tools upsd 2.8.0
Aug  7 23:08:15 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:08:15 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:08:15 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:08:16 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:08:16 TRUENAS nut-server[12090]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:08:16 TRUENAS nut-server[12090]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:08:16 TRUENAS nut-server[12090]: listening on ::0 port 3493
Aug  7 23:08:16 TRUENAS nut-server[12090]: not listening on 0.0.0.0 port 3493
Aug  7 23:08:16 TRUENAS nut-server[12090]: Can't connect to UPS [ups] (apcsmart-ups): No such file or directory
Aug  7 23:08:16 TRUENAS nut-server[12090]: Running as foreground process, not saving a PID file
Aug  7 23:08:16 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:08:16 TRUENAS nut-driver-enumerator[12093]: Wed Aug  7 19:08:16 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:08:16 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:08:16 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:08:16 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:08:16 TRUENAS nut-monitor[12151]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:08:16 TRUENAS nut-monitor[12151]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:08:16 TRUENAS nut-monitor[12151]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:08:16 TRUENAS nut-monitor[12151]: Using power down flag file /etc/killpower
Aug  7 23:08:16 TRUENAS nut-monitor[12152]: Init SSL without certificate database
Aug  7 23:08:16 TRUENAS nut-server[12090]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:08:16 TRUENAS nut-monitor[12152]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:16 TRUENAS nut-monitor[12152]: Communications with UPS ups@localhost:3493 lost
Aug  7 23:08:16 TRUENAS nut-monitor[12153]: Network UPS Tools upsmon 2.8.0
Aug  7 23:08:21 TRUENAS nut-monitor[12152]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:21 TRUENAS nut-monitor[12152]: UPS ups@localhost:3493 is unavailable
Aug  7 23:08:21 TRUENAS nut-monitor[12402]: Executing command: NOTIFY-NOCOMM
Aug  7 23:08:22 TRUENAS nut-monitor[12406]: null
Aug  7 23:08:22 TRUENAS nut-monitor[12400]: Network UPS Tools upsmon 2.8.0
Aug  7 23:08:26 TRUENAS nut-monitor[12152]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:27 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 3.
Aug  7 23:08:27 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:08:27 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]: Fatal error: unusable configuration
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]: APC command table version 3.1
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]: Unable to open auto: No such file or directory
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]: Things to try:
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]:  - Check 'port=' in ups.conf
Aug  7 23:08:27 TRUENAS nut-driver@ups[12870]:  - Check owner/permissions of all parts of path
Aug  7 23:08:27 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:08:27 TRUENAS nut-driver@ups[12868]: Driver failed to start (exit status=1)
Aug  7 23:08:27 TRUENAS nut-driver@ups[12868]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:08:27 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:08:27 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:08:31 TRUENAS nut-monitor[12152]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:36 TRUENAS nut-monitor[12152]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:08:38 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:08:38 TRUENAS nut-server[12090]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:08:38 TRUENAS nut-monitor[12152]: Signal 15: exiting
Aug  7 23:08:38 TRUENAS nut-monitor[12152]: Network UPS Tools upsmon 2.8.0
Aug  7 23:08:38 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:08:38 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:08:38 TRUENAS systemd[1]: nut-monitor.service: Consumed 7.306s CPU time.
Aug  7 23:08:38 TRUENAS nut-server[12090]: mainloop: Interrupted system call
Aug  7 23:08:38 TRUENAS nut-server[12090]: Signal 15: exiting
Aug  7 23:08:38 TRUENAS nut-server[12090]: Network UPS Tools upsd 2.8.0
Aug  7 23:08:38 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:08:38 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:08:38 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:08:38 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:08:38 TRUENAS nut-server[13841]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:08:38 TRUENAS nut-server[13841]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:08:38 TRUENAS nut-server[13841]: listening on ::0 port 3493
Aug  7 23:08:38 TRUENAS nut-server[13841]: not listening on 0.0.0.0 port 3493
Aug  7 23:08:38 TRUENAS nut-server[13841]: Can't connect to UPS [ups] (usbhid-ups-ups): No such file or directory
Aug  7 23:08:38 TRUENAS nut-server[13841]: Running as foreground process, not saving a PID file
Aug  7 23:08:38 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:08:39 TRUENAS nut-driver-enumerator[13844]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 23:08:39 TRUENAS nut-driver-enumerator[13844]: Removing instance: 'nut-driver@ups' ...
Aug  7 23:08:39 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:08:39 TRUENAS systemctl[13923]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 23:08:43 TRUENAS systemctl[14005]: Failed to reset failed state of unit nut-driver@ups.service: Unit nut-driver@ups.service not loaded.
Aug  7 23:08:43 TRUENAS nut-driver-enumerator[13844]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 23:08:43 TRUENAS nut-driver-enumerator[13844]: Adding new systemd service instance for power device [ups]...
Aug  7 23:08:43 TRUENAS systemctl[14013]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 23:08:47 TRUENAS nut-driver-enumerator[13844]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:08:47 TRUENAS nut-driver-enumerator[13844]: Adding 'Wants'+After dependency for 'ups' on 'systemd-udev.service systemd-udev-settle.service'...
Aug  7 23:08:47 TRUENAS nut-driver-enumerator[13844]: OK
Aug  7 23:08:47 TRUENAS nut-driver-enumerator[13844]: OK
Aug  7 23:08:51 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:08:51 TRUENAS nut-driver-enumerator[13844]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:08:52 TRUENAS nut-driver@ups[14682]: Using subdriver: APC HID 0.98
Aug  7 23:08:52 TRUENAS nut-driver@ups[14682]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 23:08:52 TRUENAS nut-driver@ups[14682]: USB communication driver (libusb 1.0) 0.43
Aug  7 23:08:52 TRUENAS nut-driver@ups[14680]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:08:52 TRUENAS nut-server[13841]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:08:54 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:08:55 TRUENAS nut-driver-enumerator[13844]: === The currently defined service instances are:
Aug  7 23:08:55 TRUENAS nut-driver-enumerator[13844]: ups
Aug  7 23:08:55 TRUENAS nut-driver-enumerator[13844]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 23:08:55 TRUENAS nut-driver-enumerator[13844]: ups
Aug  7 23:08:55 TRUENAS nut-driver-enumerator[13844]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 23:08:55 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:08:55 TRUENAS nut-server[14735]: Network UPS Tools upsd 2.8.0
Aug  7 23:08:55 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:08:55 TRUENAS nut-server[13841]: mainloop: Interrupted system call
Aug  7 23:08:55 TRUENAS nut-server[13841]: SIGHUP: reloading configuration
Aug  7 23:08:55 TRUENAS nut-driver-enumerator[13844]: Wed Aug  7 19:08:55 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:08:55 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:08:55 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:08:55 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:08:55 TRUENAS nut-monitor[14741]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:08:55 TRUENAS nut-monitor[14741]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:08:55 TRUENAS nut-monitor[14741]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:08:55 TRUENAS nut-monitor[14741]: Using power down flag file /etc/killpower
Aug  7 23:08:55 TRUENAS nut-monitor[14742]: Init SSL without certificate database
Aug  7 23:08:55 TRUENAS nut-server[13841]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:11:04 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:11:04 TRUENAS nut-monitor[14742]: Signal 15: exiting
Aug  7 23:11:04 TRUENAS nut-monitor[14742]: Network UPS Tools upsmon 2.8.0
Aug  7 23:11:04 TRUENAS nut-server[13841]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:11:04 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:11:04 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:11:04 TRUENAS nut-server[13841]: mainloop: Interrupted system call
Aug  7 23:11:04 TRUENAS nut-server[13841]: Signal 15: exiting
Aug  7 23:11:04 TRUENAS nut-server[13841]: Network UPS Tools upsd 2.8.0
Aug  7 23:11:04 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:11:04 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:11:04 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:11:04 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:11:04 TRUENAS nut-server[16730]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:11:04 TRUENAS nut-server[16730]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:11:04 TRUENAS nut-server[16730]: listening on ::0 port 3493
Aug  7 23:11:04 TRUENAS nut-server[16730]: not listening on 0.0.0.0 port 3493
Aug  7 23:11:04 TRUENAS nut-server[16730]: Can't connect to UPS [ups] (apcsmart-ups): No such file or directory
Aug  7 23:11:04 TRUENAS nut-server[16730]: Running as foreground process, not saving a PID file
Aug  7 23:11:04 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:11:04 TRUENAS nut-driver-enumerator[16733]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 23:11:04 TRUENAS nut-driver-enumerator[16733]: Removing instance: 'nut-driver@ups' ...
Aug  7 23:11:04 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:11:04 TRUENAS nut-driver@ups[16816]: Can't open /run/nut/apcsmart-ups.pid: No such file or directory
Aug  7 23:11:04 TRUENAS nut-driver@ups[16816]: Can't open /run/nut/apcsmart-auto.pid either: No such file or directory
Aug  7 23:11:04 TRUENAS nut-driver@ups[16816]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:11:04 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:11:04 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:11:04 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:11:04 TRUENAS systemctl[16817]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 23:11:07 TRUENAS nut-driver-enumerator[16733]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 23:11:07 TRUENAS nut-driver-enumerator[16733]: Adding new systemd service instance for power device [ups]...
Aug  7 23:11:07 TRUENAS systemctl[16940]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 23:11:10 TRUENAS nut-driver-enumerator[16733]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:11:10 TRUENAS nut-driver-enumerator[16733]: OK
Aug  7 23:11:13 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:11:13 TRUENAS nut-driver-enumerator[16733]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]: Fatal error: unusable configuration
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]: APC command table version 3.1
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]: Unable to open auto: No such file or directory
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]: Things to try:
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]:  - Check 'port=' in ups.conf
Aug  7 23:11:13 TRUENAS nut-driver@ups[17049]:  - Check owner/permissions of all parts of path
Aug  7 23:11:13 TRUENAS nut-driver@ups[17048]: Driver failed to start (exit status=1)
Aug  7 23:11:13 TRUENAS nut-driver@ups[17048]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:11:15 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:11:15 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:11:15 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:11:16 TRUENAS nut-driver-enumerator[16733]: === The currently defined service instances are:
Aug  7 23:11:16 TRUENAS nut-driver-enumerator[16733]: ups
Aug  7 23:11:16 TRUENAS nut-driver-enumerator[16733]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 23:11:16 TRUENAS nut-driver-enumerator[16733]: ups
Aug  7 23:11:16 TRUENAS nut-driver-enumerator[16733]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 23:11:16 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:11:16 TRUENAS nut-server[17085]: Network UPS Tools upsd 2.8.0
Aug  7 23:11:16 TRUENAS nut-server[16730]: mainloop: Interrupted system call
Aug  7 23:11:16 TRUENAS nut-server[16730]: SIGHUP: reloading configuration
Aug  7 23:11:16 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:11:16 TRUENAS nut-driver-enumerator[16733]: Wed Aug  7 19:11:16 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:11:16 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:11:16 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:11:16 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:11:16 TRUENAS nut-monitor[17091]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:11:16 TRUENAS nut-monitor[17091]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:11:16 TRUENAS nut-monitor[17091]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:11:16 TRUENAS nut-monitor[17091]: Using power down flag file /etc/killpower
Aug  7 23:11:16 TRUENAS nut-monitor[17092]: Init SSL without certificate database
Aug  7 23:11:16 TRUENAS nut-server[16730]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:11:16 TRUENAS nut-monitor[17092]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:11:16 TRUENAS nut-monitor[17092]: Communications with UPS ups@localhost:3493 lost
Aug  7 23:11:16 TRUENAS nut-monitor[17093]: Network UPS Tools upsmon 2.8.0
Aug  7 23:11:21 TRUENAS nut-monitor[17092]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:11:21 TRUENAS nut-monitor[17092]: UPS ups@localhost:3493 is unavailable
Aug  7 23:11:21 TRUENAS nut-monitor[17218]: Executing command: NOTIFY-NOCOMM
Aug  7 23:11:21 TRUENAS nut-monitor[17222]: null
Aug  7 23:11:21 TRUENAS nut-monitor[17216]: Network UPS Tools upsmon 2.8.0
Aug  7 23:11:26 TRUENAS nut-monitor[17092]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:11:31 TRUENAS systemd[1]: nut-driver@ups.service: Scheduled restart job, restart counter is at 1.
Aug  7 23:11:31 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:11:31 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for ups...
Aug  7 23:11:31 TRUENAS nut-monitor[17092]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]: Fatal error: unusable configuration
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]: Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]: APC command table version 3.1
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]: Unable to open auto: No such file or directory
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]: Things to try:
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]:  - Check 'port=' in ups.conf
Aug  7 23:11:31 TRUENAS nut-driver@ups[17458]:  - Check owner/permissions of all parts of path
Aug  7 23:11:31 TRUENAS nut-driver@ups[17457]: Driver failed to start (exit status=1)
Aug  7 23:11:31 TRUENAS nut-driver@ups[17457]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:11:31 TRUENAS systemd[1]: nut-driver@ups.service: Control process exited, code=exited, status=1/FAILURE
Aug  7 23:11:31 TRUENAS systemd[1]: nut-driver@ups.service: Failed with result 'exit-code'.
Aug  7 23:11:31 TRUENAS systemd[1]: Failed to start nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:11:36 TRUENAS nut-monitor[17092]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:11:41 TRUENAS nut-monitor[17092]: Poll UPS [ups@localhost:3493] failed - Driver not connected
Aug  7 23:11:42 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:11:42 TRUENAS nut-server[16730]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:11:42 TRUENAS nut-monitor[17092]: Signal 15: exiting
Aug  7 23:11:42 TRUENAS nut-monitor[17092]: Network UPS Tools upsmon 2.8.0
Aug  7 23:11:42 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:11:42 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:11:42 TRUENAS systemd[1]: nut-monitor.service: Consumed 9.462s CPU time.
Aug  7 23:11:42 TRUENAS nut-server[16730]: mainloop: Interrupted system call
Aug  7 23:11:42 TRUENAS nut-server[16730]: Signal 15: exiting
Aug  7 23:11:42 TRUENAS nut-server[16730]: Network UPS Tools upsd 2.8.0
Aug  7 23:11:42 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:11:42 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:11:42 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:11:43 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:11:43 TRUENAS nut-server[17590]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:11:43 TRUENAS nut-server[17590]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:11:43 TRUENAS nut-server[17590]: listening on ::0 port 3493
Aug  7 23:11:43 TRUENAS nut-server[17590]: not listening on 0.0.0.0 port 3493
Aug  7 23:11:43 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:11:43 TRUENAS nut-server[17590]: Can't connect to UPS [ups] (usbhid-ups-ups): No such file or directory
Aug  7 23:11:43 TRUENAS nut-server[17590]: Running as foreground process, not saving a PID file
Aug  7 23:11:43 TRUENAS nut-driver-enumerator[17593]: Dropping old systemd service instance ups whose section in config file has changed...
Aug  7 23:11:43 TRUENAS nut-driver-enumerator[17593]: Removing instance: 'nut-driver@ups' ...
Aug  7 23:11:43 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for ups.
Aug  7 23:11:43 TRUENAS systemctl[17649]: Removed "/etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service".
Aug  7 23:11:46 TRUENAS systemctl[17667]: Failed to reset failed state of unit nut-driver@ups.service: Unit nut-driver@ups.service not loaded.
Aug  7 23:11:46 TRUENAS nut-driver-enumerator[17593]: Error reading the list of systemd service instances for UPS drivers, or none are defined - after updating for new config section checksums
Aug  7 23:11:46 TRUENAS nut-driver-enumerator[17593]: Adding new systemd service instance for power device [ups]...
Aug  7 23:11:46 TRUENAS systemctl[17675]: Created symlink /etc/systemd/system/nut-driver.target.wants/nut-driver@ups.service → /lib/systemd/system/nut-driver@.service.
Aug  7 23:11:49 TRUENAS nut-driver-enumerator[17593]: Enabled instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:11:49 TRUENAS nut-driver-enumerator[17593]: Adding 'Wants'+After dependency for 'ups' on 'systemd-udev.service systemd-udev-settle.service'...
Aug  7 23:11:49 TRUENAS nut-driver-enumerator[17593]: OK
Aug  7 23:11:49 TRUENAS nut-driver-enumerator[17593]: OK
Aug  7 23:11:51 TRUENAS nut-driver-enumerator[17593]: Started instance: 'nut-driver@ups' for NUT configuration section 'ups'
Aug  7 23:11:51 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:11:52 TRUENAS nut-driver@ups[17875]: Using subdriver: APC HID 0.98
Aug  7 23:11:52 TRUENAS nut-driver@ups[17875]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 23:11:52 TRUENAS nut-driver@ups[17875]: USB communication driver (libusb 1.0) 0.43
Aug  7 23:11:52 TRUENAS nut-driver@ups[17874]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:11:53 TRUENAS nut-server[17590]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:11:54 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:11:54 TRUENAS nut-driver-enumerator[17593]: === The currently defined service instances are:
Aug  7 23:11:54 TRUENAS nut-driver-enumerator[17593]: ups
Aug  7 23:11:54 TRUENAS nut-driver-enumerator[17593]: === The currently defined configurations in '/etc/nut/ups.conf' are:
Aug  7 23:11:54 TRUENAS nut-driver-enumerator[17593]: ups
Aug  7 23:11:54 TRUENAS nut-driver-enumerator[17593]: Restarting NUT data server to make sure it knows new configuration...
Aug  7 23:11:54 TRUENAS systemd[1]: Reloading nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:11:54 TRUENAS nut-server[17911]: Network UPS Tools upsd 2.8.0
Aug  7 23:11:54 TRUENAS nut-server[17590]: mainloop: Interrupted system call
Aug  7 23:11:54 TRUENAS nut-server[17590]: SIGHUP: reloading configuration
Aug  7 23:11:54 TRUENAS systemd[1]: Reloaded nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:11:54 TRUENAS nut-driver-enumerator[17593]: Wed Aug  7 19:11:54 UTC 2024 : OK: No more changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:11:54 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:11:54 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:11:55 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:11:55 TRUENAS nut-monitor[17917]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:11:55 TRUENAS nut-monitor[17917]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:11:55 TRUENAS nut-monitor[17917]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:11:55 TRUENAS nut-monitor[17917]: Using power down flag file /etc/killpower
Aug  7 23:11:55 TRUENAS nut-monitor[17918]: Init SSL without certificate database
Aug  7 23:11:55 TRUENAS nut-server[17590]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:11:58 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:11:58 TRUENAS nut-monitor[17918]: Signal 15: exiting
Aug  7 23:11:58 TRUENAS nut-monitor[17918]: Network UPS Tools upsmon 2.8.0
Aug  7 23:11:58 TRUENAS nut-server[17590]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:11:58 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:11:58 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:11:58 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:11:58 TRUENAS nut-server[17590]: mainloop: Interrupted system call
Aug  7 23:11:58 TRUENAS nut-server[17590]: Signal 15: exiting
Aug  7 23:11:58 TRUENAS nut-server[17590]: Network UPS Tools upsd 2.8.0
Aug  7 23:11:58 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:11:58 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:12:00 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:12:00 TRUENAS nut-server[18038]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:12:00 TRUENAS nut-server[18038]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:12:00 TRUENAS nut-server[18038]: listening on ::0 port 3493
Aug  7 23:12:00 TRUENAS nut-server[18038]: not listening on 0.0.0.0 port 3493
Aug  7 23:12:00 TRUENAS nut-server[18038]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:12:00 TRUENAS nut-server[18038]: Running as foreground process, not saving a PID file
Aug  7 23:12:00 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:12:00 TRUENAS nut-driver-enumerator[18047]: Wed Aug  7 19:12:00 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:12:00 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:12:00 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:12:00 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:12:00 TRUENAS nut-monitor[18110]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:12:00 TRUENAS nut-monitor[18110]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:12:00 TRUENAS nut-monitor[18110]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:12:00 TRUENAS nut-monitor[18110]: Using power down flag file /etc/killpower
Aug  7 23:12:00 TRUENAS nut-monitor[18112]: Init SSL without certificate database
Aug  7 23:12:00 TRUENAS nut-server[18038]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:16:25 TRUENAS systemd[1]: Stopping nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
Aug  7 23:16:25 TRUENAS nut-monitor[18112]: Signal 15: exiting
Aug  7 23:16:25 TRUENAS nut-monitor[18112]: Network UPS Tools upsmon 2.8.0
Aug  7 23:16:25 TRUENAS nut-server[18038]: User upsmon@::1 logged out from UPS [ups]
Aug  7 23:16:25 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:16:25 TRUENAS systemd[1]: Stopped nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:16:25 TRUENAS nut-server[18038]: mainloop: Interrupted system call
Aug  7 23:16:25 TRUENAS nut-server[18038]: Signal 15: exiting
Aug  7 23:16:25 TRUENAS nut-server[18038]: Network UPS Tools upsd 2.8.0
Aug  7 23:16:25 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:16:25 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:16:25 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:16:26 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:16:26 TRUENAS nut-server[21632]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:16:26 TRUENAS nut-server[21632]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:16:26 TRUENAS nut-server[21632]: listening on ::0 port 3493
Aug  7 23:16:26 TRUENAS nut-server[21632]: not listening on 0.0.0.0 port 3493
Aug  7 23:16:26 TRUENAS nut-server[21632]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:16:26 TRUENAS nut-server[21632]: Running as foreground process, not saving a PID file
Aug  7 23:16:26 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:16:26 TRUENAS nut-driver-enumerator[21635]: Wed Aug  7 19:16:26 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:16:26 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:16:26 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:16:26 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:16:26 TRUENAS nut-monitor[21689]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:16:26 TRUENAS nut-monitor[21689]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:16:26 TRUENAS nut-monitor[21689]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:16:26 TRUENAS nut-monitor[21689]: Using power down flag file /etc/killpower
Aug  7 23:16:26 TRUENAS nut-monitor[21690]: Init SSL without certificate database
Aug  7 23:16:26 TRUENAS nut-server[21632]: User upsmon@::1 logged into UPS [ups]
Aug  7 23:16:51 TRUENAS nut-monitor[21690]: UPS ups@localhost:3493 on battery
Aug  7 23:16:51 TRUENAS nut-monitor[22124]: Executing command: NOTIFY-ONBATT
Aug  7 23:16:51 TRUENAS nut-monitor[22128]: null
Aug  7 23:16:52 TRUENAS nut-monitor[22122]: Network UPS Tools upsmon 2.8.0
Aug  7 23:16:57 TRUENAS nut-monitor[21690]: Signal 10: User requested FSD
Aug  7 23:16:57 TRUENAS nut-server[21632]: Client upsmon@::1 set FSD on UPS [ups]
Aug  7 23:16:57 TRUENAS nut-monitor[21690]: Executing automatic power-fail shutdown
Aug  7 23:16:57 TRUENAS nut-monitor[21690]: Auto logout and shutdown proceeding
Aug  7 23:16:57 TRUENAS nut-monitor[22214]: Executing command: NOTIFY-SHUTDOWN
Aug  7 23:16:58 TRUENAS nut-monitor[22222]: null
Aug  7 23:16:58 TRUENAS nut-monitor[22211]: Network UPS Tools upsmon 2.8.0
Aug  7 23:17:02 TRUENAS nut-monitor[21690]: Network UPS Tools upsmon 2.8.0
Aug  7 23:17:02 TRUENAS nut-monitor[21689]: Network UPS Tools upsmon 2.8.0
Aug  7 23:17:02 TRUENAS systemd[1]: nut-monitor.service: Deactivated successfully.
Aug  7 23:17:02 TRUENAS systemd[1]: nut-monitor.service: Consumed 5.139s CPU time.
Aug  7 23:17:09 TRUENAS systemd[1]: Stopped sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 23:17:10 TRUENAS systemd[1]: Stopped target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 23:17:10 TRUENAS systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
Aug  7 23:17:10 TRUENAS nut-server[21632]: mainloop: Interrupted system call
Aug  7 23:17:10 TRUENAS nut-server[21632]: Signal 15: exiting
Aug  7 23:17:10 TRUENAS nut-server[21632]: Network UPS Tools upsd 2.8.0
Aug  7 23:17:10 TRUENAS systemd[1]: nut-server.service: Deactivated successfully.
Aug  7 23:17:10 TRUENAS systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:17:10 TRUENAS systemd[1]: Stopped target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 23:17:10 TRUENAS systemd[1]: Stopping nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:17:10 TRUENAS nut-driver@ups[23985]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:17:10 TRUENAS systemd[1]: nut-driver@ups.service: Deactivated successfully.
Aug  7 23:17:10 TRUENAS systemd[1]: Stopped nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:17:10 TRUENAS systemd[1]: nut-driver@ups.service: Consumed 38.187s CPU time.
Aug  7 23:17:10 TRUENAS systemd[1]: Removed slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 23:17:10 TRUENAS systemd[1]: system-nut\x2ddriver.slice: Consumed 39.411s CPU time.
Aug  7 23:23:03 TRUENAS kernel: Linux version 6.6.32-production+truenas (root@tnsbuilds01.tn.ixsystems.net) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Mon Jul  8 16:11:58 UTC 2024
Aug  7 23:23:03 TRUENAS systemd: systemd 252.19-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Aug  7 23:23:03 TRUENAS systemd: Created slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
Aug  7 23:23:03 TRUENAS udevadm[535]: systemd-udev-settle.service is deprecated. Please fix nut-driver@ups.service, zfs-import-cache.service not to pull it in.
Aug  7 23:24:32 TRUENAS systemd[1]: Starting nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances...
Aug  7 23:24:32 TRUENAS systemd[1]: Starting nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'...
Aug  7 23:24:33 TRUENAS nut-driver@ups[2885]: Using subdriver: APC HID 0.98
Aug  7 23:24:33 TRUENAS nut-driver@ups[2885]: Network UPS Tools - Generic HID driver 0.47 (2.8.0)
Aug  7 23:24:33 TRUENAS nut-driver@ups[2885]: USB communication driver (libusb 1.0) 0.43
Aug  7 23:24:33 TRUENAS nut-driver-enumerator[2712]: Wed Aug  7 19:24:33 UTC 2024 : OK: No changes to reconcile between systemd service instances and device configurations in '/etc/nut/ups.conf'
Aug  7 23:24:33 TRUENAS systemd[1]: nut-driver-enumerator.service: Deactivated successfully.
Aug  7 23:24:33 TRUENAS systemd[1]: Finished nut-driver-enumerator.service - Network UPS Tools - enumeration of configure-file devices into systemd unit instances.
Aug  7 23:24:33 TRUENAS nut-driver@ups[2880]: Network UPS Tools - UPS driver controller 2.8.0
Aug  7 23:24:33 TRUENAS systemd[1]: Started nut-driver@ups.service - Network UPS Tools - device driver for NUT device 'ups'.
Aug  7 23:24:33 TRUENAS systemd[1]: Reached target nut-driver.target - Network UPS Tools - target for power device drivers on this system.
Aug  7 23:24:34 TRUENAS systemd[1]: Started sysstat-collect.timer - Run system activity accounting tool every 10 minutes.
Aug  7 23:24:34 TRUENAS systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
Aug  7 23:24:34 TRUENAS systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Aug  7 23:24:34 TRUENAS systemd[1]: Reached target nut.target - Network UPS Tools - target for power device drivers, data server and monitoring client (if enabled) on this system.
Aug  7 23:24:34 TRUENAS nut-server[3023]: fopen /run/nut/upsd.pid: No such file or directory
Aug  7 23:24:34 TRUENAS nut-server[3023]: Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
Aug  7 23:24:34 TRUENAS nut-monitor[3024]: fopen /run/nut/upsmon.pid: No such file or directory
Aug  7 23:24:34 TRUENAS nut-monitor[3024]: Could not find PID file to see if previous upsmon instance is already running!
Aug  7 23:24:34 TRUENAS nut-monitor[3024]: UPS: ups@localhost:3493 (primary) (power value 1)
Aug  7 23:24:34 TRUENAS nut-monitor[3024]: Using power down flag file /etc/killpower
Aug  7 23:24:34 TRUENAS nut-server[3023]: listening on ::0 port 3493
Aug  7 23:24:34 TRUENAS nut-server[3023]: not listening on 0.0.0.0 port 3493
Aug  7 23:24:34 TRUENAS nut-server[3023]: Connected to UPS [ups]: usbhid-ups-ups
Aug  7 23:24:34 TRUENAS nut-monitor[3031]: Init SSL without certificate database
Aug  7 23:24:34 TRUENAS nut-server[3023]: Running as foreground process, not saving a PID file
Aug  7 23:24:35 TRUENAS nut-server[3023]: User upsmon@::1 logged into UPS [ups]

by the way I can’t find this file:

Aug  7 23:24:34 TRUENAS nut-monitor[3024]: Using power down flag file /etc/killpower

That file is only there during shutdown. It’s part of the shutdown process. No time right now to review, maybe someone else can, have to go for now.

no prob. If anybody else is watching this thread, I have connected the ups to my laptop using Powerchute software tested the power off function - it works perfectly there. So something is wrong with truenas configuration.

So, your log clearly shows it created the file to check for shutting down the UPS itself here:

Aug  7 22:58:43 TRUENAS nut-monitor[192426]: Using power down flag file /etc/killpower

So, what happened when it shutdown, did Truenas immediately reboot, did you reboot it, did you pull the plug or use a test shutdown command?

In any case, you have a lot of errors in those logs, problems communicating with the UPS via usb. Not sure of the why. Hopefully you are not passing a controller or something to a VM or something weird like that. I am not using your UPS so not sure of any ofddities with NUT.

Yes, as I said earlier, lot of errors because I’ve been playing with settings and definitely been putting there wrong commands.

As of communication, again, I’ve tested the ups with my laptop it powers off for sure.

I think it’s more driver related, because when I try to manually power it off error comes out

root@TRUENAS[/usr/sbin]# /sbin/upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.8.0
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
Can't claim USB device [051d:0002]@0/0: Entity not found
Driver failed to start (exit status=1)

When I unplug the ups power cable, the truenas starts shutting down, I see it disconnects any mounts/drives and when it finishes, server turns off but the ups stays on, waiting even for minutes but nothing… it says on.

looks like a permission issue, maybe upsmon user has not enough permissions as described here:

server - Trouble starting Network UPS Tools with a Eaton 3S UPS - Ask Ubuntu

have no idea how to fix this in case of truenas…

Don’t think so (every Scale user would have this permission issue and they do not, nor do I) but you can actually run the command in your link as it’s a test command, not a real command (with the -t). You have the right driver (I think) if that is using a serial → usb adapter (phone like plug on the UPS side and USB on the other end going to NAS right?). Otherwise, maybe not!

I’m out of ideas otherwise. NUT works just fine for me and I don’t have any options. I don’t see anything wrong with your config, UPS config, etc. You could try a different USB port on your machine.

We can see from your log it builds the killpowerfile during shutdown. That’s all that is needed for the UPS to shut down.

The cable is standard USB port → RJ50.

root@TRUENAS[/etc/nut]# /sbin/upsdrvctl -t -d shutdown
Network UPS Tools - UPS driver controller 2.8.0
*** Testing mode: not calling exec/kill
   0.000000     [D1] Shutdown UPS: ups
   0.000055     [D2] exec:  /lib/nut/usbhid-ups -a ups -k

shutdown test command shows like it’s not a driver issue but when I actually run it then I’m getting this error

root@TRUENAS[/etc/nut]# /sbin/upsdrvctl -d shutdown 
Network UPS Tools - UPS driver controller 2.8.0
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
Can't claim USB device [051d:0002]@0/0: Entity not found
Driver failed to start (exit status=1)

going crazy :frowning: