Nut is not returning a status (Dashboard & Services: Nut: Diagnostics)

Started by ehoitinga, June 15, 2026, 03:49:52 PM

Previous topic - Next topic
Good afternoon,

The nut service is not returning a status (Dashboard &  Services: Nut: Diagnostics).

On CLI I issued the command "upsc -DD ups@192.168.1.251":

erik@firewall:~ % upsc -DD ups@192.168.1.251
   0.000111 [D1] getprocname: failed to determine process name for PID 15182
   0.000147 [D1] getprocname: failed to determine process name for PID 15182
   0.000169 [D1:libupsclient] getprocname: failed to determine process name for PID 15182
   0.000191 [D1] getprocname: failed to determine process name for PID 15182
   0.000198 [D1:upsc] Starting NUT client: upsc
   0.000213 [D1:libupsclient:upsc] upscli_init_default_connect_timeout: upscli_default_connect_timeout=10.000000 sec assigned from: default_secs
   0.000231 [D1] getprocname: failed to determine process name for PID 15182
   0.000247 [D1] getprocname: failed to determine process name for PID 15182
   0.000253 [D1:ups@192.168.1.251] upsname='ups' hostname='192.168.1.251' port='3493'
   0.005626 [D1:libupsclient:ups@192.168.1.251] upscli_init: completed
   0.005850 [D1:ups@192.168.1.251] Calling list_vars()
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.mfr.date: 2010/08/05
battery.runtime: 3060
battery.runtime.low: 120
battery.temperature: 21.6
battery.type: PbAc
battery.voltage: 27.7
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Smart-UPS 1500 RM
device.serial: AS1032142207
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 5
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: DSM7-1-1-42930-workplus-version2-repack-42930-220712
driver.version.data: APC HID 0.96
driver.version.internal: 0.41
input.sensitivity: high
input.transfer.high: 253
input.transfer.low: 208
input.voltage: 237.6
output.current: 0.60
output.frequency: 50.0
output.voltage: 237.6
output.voltage.nominal: 230.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.firmware: 667.18.I
ups.firmware.aux: 11.03
ups.load: 13.6
ups.mfr: American Power Conversion
ups.mfr.date: 2010/08/05
ups.model: Smart-UPS 1500 RM
ups.productid: 0002
ups.serial: AS1032142207
ups.status: OL
ups.test.result: No test initiated
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.timer.start: -1
ups.vendorid: 051d
   0.006392 [D1] getprocname: failed to determine process name for PID 15182
   0.006407 [D1] getprocname: failed to determine process name for PID 15182
   0.007054 [D1:libupsclient:upsc] upscli_disconnect: We logged out, and server said 'OK Goodbye
' nicely, as expected
Segmentation fault
erik@firewall:~ %

At the end of the command I get "Segmentation fault". This is probably why the info is not showing up in Dashboard &  Services: Nut: Diagnostics

I tried to reinstall the nut packaged but this did not made any difference. Nut on OPNSense is installed in Service Mode / UPS Type  "NETCLIENT".

I'm on version  26.1.10-amd64 and nut version 1.9_1.

Any Ideas on how to solve this?

Kind regards,

Erik

Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Thank you both for you answer!

Reverting back to "26.1.7 nut" and locking it made it work again.

I need to improve my search terms ;-) Sorry for asking a question that was already answered.

Erik