Nut Plugin Nicht benutzbar

  • Nach einer Neuinstallation auf einem Helios4 Board kommt nach den Anwenden der Änderungen zum Aktivieren des Plugins nur diese Fehlermeldung:



    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run nut 2>&1' with exit code '1': helios4:
    ---------- ID: configure_nut_nut_conf Function: file.managed Name: /etc/nut/nut.conf Result: True Comment: File /etc/nut/nut.conf is in the correct state Started: 08:14:06.841395 Duration: 115.925 ms Changes:
    ---------- ID: configure_nut_ups_conf Function: file.managed Name: /etc/nut/ups.conf Result: True Comment: File /etc/nut/ups.conf is in the correct state Started: 08:14:06.957708 Duration: 28.866 ms Changes:
    ---------- ID: configure_nut_upsd_conf Function: file.managed Name: /etc/nut/upsd.conf Result: True Comment: File /etc/nut/upsd.conf is in the correct state Started: 08:14:06.986965 Duration: 40.843 ms Changes:
    ---------- ID: configure_nut_upsd_users Function: file.managed Name: /etc/nut/upsd.users Result: True Comment: File /etc/nut/upsd.users updated Started: 08:14:07.028199 Duration: 278.106 ms Changes: ---------- diff: --- +++ @@ -1,11 +1,11 @@ # This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. [admin] -password = VwWmDj6YvApmo4qk +password = nw9Pqyxt2UnzvrZg actions = set actions = fsd instcmds = ALL
    [monmaster] -password = aADNUnJievvfmYse +password = RX3I91r8MsVs0Uvi upsmon master
    ---------- ID: configure_nut_upsmon_conf Function: file.managed Name: /etc/nut/upsmon.conf Result: True Comment: File /etc/nut/upsmon.conf updated Started: 08:14:07.306714 Duration: 93.387 ms Changes: ---------- diff: --- +++ @@ -1,6 +1,6 @@ # This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. -MONITOR ups 1 monmaster aADNUnJievvfmYse master +MONITOR ups 1 monmaster RX3I91r8MsVs0Uvi master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD "/sbin/upssched"
    ---------- ID: configure_nut_upssched_conf Function: file.managed Name: /etc/nut/upssched.conf Result: True Comment: File /etc/nut/upssched.conf is in the correct state Started: 08:14:07.400479 Duration: 35.708 ms Changes:
    ---------- ID: configure_nut_default_upssched_cmd Function: file.managed Name: /etc/default/upssched-cmd Result: True Comment: File /etc/default/upssched-cmd is in the correct state Started: 08:14:07.436579 Duration: 5.602 ms Changes:
    ---------- ID: remove_nut_udev_serialups_rule Function: file.absent Name: /etc/udev/rules.d/99-openmediavault-nut-serialups.rules Result: True Comment: File /etc/udev/rules.d/99-openmediavault-nut-serialups.rules is not present Started: 08:14:07.442530 Duration: 2.048 ms Changes:
    ---------- ID: start_nut_driver_service Function: service.running Name: nut-driver Result: False Comment: Job for nut-driver.service failed because the control process exited with error code. See "systemctl status nut-driver.service" and "journalctl -xe" for details. Started: 08:14:07.470473 Duration: 367.208 ms Changes:
    ---------- ID: start_nut_server_service Function: service.running Name: nut-server Result: True Comment: Service nut-server is already enabled, and is running Started: 08:14:07.842140 Duration: 442.604 ms Changes: ---------- nut-server: True
    ---------- ID: monitor_nut_server_service Function: monit.monitor Name: nut-server Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1981, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1977, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/monit.py", line 48, in monitor if 'Running' in value[name]: TypeError: string indices must be integers Started: 08:14:08.299284 Duration: 39.804 ms Changes:
    ---------- ID: start_nut_monitor_service Function: service.running Name: nut-monitor Result: True Comment: Service nut-monitor is already enabled, and is running Started: 08:14:08.340566 Duration: 269.864 ms Changes: ---------- nut-monitor: True
    ---------- ID: monitor_nut_monitor_service Function: monit.monitor Name: nut-monitor Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1981, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1977, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/monit.py", line 48, in monitor if 'Running' in value[name]: TypeError: string indices must be integers Started: 08:14:08.611194 Duration: 32.516 ms Changes:

    Summary for helios4
    -------------
    Succeeded: 10 (changed=4)
    Failed: 3
    -------------
    Total states run: 13
    Total run time: 1.752 s


    Habe ich vergessen etwas zu installieren??


    Gruß Dirk Schmidt

  • Kann geschlossen werden. Nach den Update auf 5.5.1 geht jetzt das speichern.

    Nur zur vollständigkeit:


    salt-call cmd.run "monit summary"


    local:

    Monit 5.26.0 uptime: 15m

    Service Name Status Type

    \server OK System

    php-fpm OK Process

    nut-server OK Process

    nut-monitor OK Process

    nginx OK Process

    omv-engined OK Process

    rootfs OK Filesystem

    filesystem_srv_dev-disk-by-i... OK Filesystem

    filesystem_srv_dev-disk-by-i... OK Filesystem

    nut-upsc-ups OK Program

    mountpoint_srv_dev-disk-by-i... OK Program

    mountpoint_srv_dev-disk-by-i... OK Program


    Danke für die Geduld


    Dirk Schmidt

  • votdev

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!