GrimmReaperNL
Explorer
- Joined
- Jan 24, 2022
- Messages
- 58
Hello everyone,
I hope I have the right forum section for this.
When ever I try to restart the ups service I get the following error:
Can anyone help me get this fixed? I bought a new Powerwalker ups after my last two APC ups's kepts giving me issues.
I've had a look through the files following this video, but when it comes to restarting the services, I get about the same error.
Thank you!
Edit: I'm on TrueNAS-SCALE-22.12.3.3
I hope I have the right forum section for this.
When ever I try to restart the ups service I get the following error:
Under 'more info..' is says:[EFAULT] Aug 15 22:37:27 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller... Aug 15 22:37:27 upsmon[1915916]: fopen /run/nut/upsmon.pid: No such file or directory Aug 15 22:37:27 upsmon[1915916]: UPS: ups@localhost:3493 (master) (power value 1) Aug 15 22:37:27 upsmon[1915916]: Using power down flag file /etc/killpower Aug 15 22:37:27 upsmon[1915920]: Startup successful Aug 15 22:37:27 systemd[1]: nut-monitor.service: Can't open PID file /run/nut/upsmon.pid (yet?) after start: Operation not permitted Aug 15 22:37:27 systemd[1]: nut-monitor.service: Failed to set a watch for PID file /run/nut/upsmon.pid: Too many open files Aug 15 22:37:27 systemd[1]: nut-monitor.service: Failed with result 'protocol'. Aug 15 22:37:27 systemd[1]: Failed to start nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 204, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1344, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1378, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1246, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/service.py", line 191, in start raise CallError(await service_object.failure_logs() or 'Service not running after start') middlewared.service_exception.CallError: [EFAULT] Aug 15 22:37:27 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller... Aug 15 22:37:27 upsmon[1915916]: fopen /run/nut/upsmon.pid: No such file or directory Aug 15 22:37:27 upsmon[1915916]: UPS: ups@localhost:3493 (master) (power value 1) Aug 15 22:37:27 upsmon[1915916]: Using power down flag file /etc/killpower Aug 15 22:37:27 upsmon[1915920]: Startup successful Aug 15 22:37:27 systemd[1]: nut-monitor.service: Can't open PID file /run/nut/upsmon.pid (yet?) after start: Operation not permitted Aug 15 22:37:27 systemd[1]: nut-monitor.service: Failed to set a watch for PID file /run/nut/upsmon.pid: Too many open files Aug 15 22:37:27 systemd[1]: nut-monitor.service: Failed with result 'protocol'. Aug 15 22:37:27 systemd[1]: Failed to start nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Can anyone help me get this fixed? I bought a new Powerwalker ups after my last two APC ups's kepts giving me issues.
I've had a look through the files following this video, but when it comes to restarting the services, I get about the same error.
Thank you!
Edit: I'm on TrueNAS-SCALE-22.12.3.3
Last edited: