NEWS
nut-monitor.service entfernen
-
Hallo,
in meine iob diag finde ich Folgendes:
*** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * nut-monitor.service loaded failed failed Network UPS Tools - power device monitor and shutdown controller LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed.
Wenn ich versuche zu deinstallieren kommt:
pi@Smartazamba:~ $ sudo apt-get remove nut-monitor Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'nut-monitor' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Wie kann ich den nut-monitor.service, bzw. die Meldung loswerden?
-
@rushmed sagte in nut-monitor.service entfernen:
nut-monitor
sudo systemctl hide nut-monitor.service
-
@thomas-braun Das hat leider nicht geklappt:
pi@Smartazamba:~ $ sudo systemctl hide nut-monitor.service Unknown command verb hide.
und
pi@Smartazamba:~ $ systemctl status nut-monitor.service × nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Fri 2024-03-01 19:29:19 CET; 1h 15min ago Duration: 97ms Process: 660 ExecStart=/sbin/upsmon -F (code=exited, status=1/FAILURE) Main PID: 660 (code=exited, status=1/FAILURE) CPU: 36ms Mar 01 19:29:19 Smartazamba nut-monitor[660]: fopen /run/nut/upsmon.pid: No such file or directory Mar 01 19:29:19 Smartazamba nut-monitor[660]: Could not find PID file to see if previous upsmon instance is already run> Mar 01 19:29:19 Smartazamba nut-monitor[660]: Using power down flag file /etc/killpower Mar 01 19:29:19 Smartazamba nut-monitor[660]: Network UPS Tools upsmon 2.8.0 Mar 01 19:29:19 Smartazamba nut-monitor[660]: Fatal error: insufficient power configured! Mar 01 19:29:19 Smartazamba nut-monitor[660]: Sum of power values........: 0 Mar 01 19:29:19 Smartazamba nut-monitor[660]: Minimum value (MINSUPPLIES): 1 Mar 01 19:29:19 Smartazamba nut-monitor[660]: Edit your upsmon.conf and change the values. Mar 01 19:29:19 Smartazamba systemd[1]: nut-monitor.service: Main process exited, code=exited, status=1/FAILURE Mar 01 19:29:19 Smartazamba systemd[1]: nut-monitor.service: Failed with result 'exit-code'. lines 1-18/18 (END)
-
@rushmed
Sorry, mein Fehler.sudo systemctl mask nut-monitor.service
-
@thomas-braun Danke, das hat geklappt.