Help. please?

  • Can. anyone help me translate this error message (I get it whenever I try to apply any changes)... I'm out of my depth!


    cheers,


    mark




    Code
    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 monit 2>&1' with exit code '1': fserver01: ---------- ID: configure_monit_collectd_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-collectd.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-collectd.conf is in the correct state Started: 13:16:19.637485 Duration: 91.725 ms Changes: ---------- ID: configure_monit_filesystem_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-filesystem.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-filesystem.conf is in the correct state Started: 13:16:19.729580 Duration: 35.603 ms Changes: ---------- ID: configure_monit_nginx_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-nginx.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-nginx.conf is in the correct state Started: 13:16:19.765558 Duration: 23.48 ms Changes: ---------- ID: remove_monit_nut_service Function: file.absent Name: /etc/monit/conf.d/openmediavault-nut.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-nut.conf is not present Started: 13:16:19.789434 Duration: 1.976 ms Changes: ---------- ID: configure_monit_omv-engined_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-engined.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-engined.conf is in the correct state Started: 13:16:19.791780 Duration: 21.595 ms Changes: ---------- ID: configure_monit_php-fpm_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-phpfpm.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-phpfpm.conf is in the correct state Started: 13:16:19.813689 Duration: 20.054 ms Changes: ---------- ID: remove_monit_proftpd_service Function: file.absent Name: /etc/monit/conf.d/openmediavault-proftpd.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-proftpd.conf is not present Started: 13:16:19.834055 Duration: 1.441 ms Changes: ---------- ID: configure_monit_rrdcached_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-rrdcached.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-rrdcached.conf is in the correct state Started: 13:16:19.835767 Duration: 19.535 ms Changes: ---------- ID: configure_monit_system_service Function: file.managed Name: /etc/monit/conf.d/openmediavault-system.conf Result: True Comment: File /etc/monit/conf.d/openmediavault-system.conf is in the correct state Started: 13:16:19.855620 Duration: 44.011 ms Changes: ---------- ID: configure_default_monit Function: file.managed Name: /etc/default/monit Result: True Comment: File /etc/default/monit is in the correct state Started: 13:16:19.899945 Duration: 5.538 ms Changes: ---------- ID: configure_monit_monitrc Function: file.managed Name: /etc/monit/monitrc Result: True Comment: File /etc/monit/monitrc is in the correct state Started: 13:16:19.905780 Duration: 44.206 ms Changes: ---------- ID: test_monit_config Function: cmd.run Name: monit -t Result: False Comment: Command "monit -t" run Started: 13:16:19.951887 Duration: 30.587 ms Changes: ---------- pid: 589 retcode: 1 stderr: /etc/monit/conf.d/openmediavault-filesystem.conf:47: Service name conflict, filesystem_srv_dev-disk-by-label-hdd6 already defined '"/srv/dev-disk-by-label-hdd6"' /etc/monit/conf.d/openmediavault-filesystem.conf:52: Service name conflict, mountpoint_srv_dev-disk-by-label-hdd6 already defined ''/srv/dev-disk-by-label-hdd6'' stdout: ---------- ID: reload_monit_service Function: service.running Name: monit Result: False Comment: Job for monit.service failed because the control process exited with error code. See "systemctl status monit.service" and "journalctl -xe" for details. Started: 13:16:20.018379 Duration: 212.282 ms Changes: Summary for fserver01 ------------- Succeeded: 11 (changed=1) Failed: 2 ------------- Total states run: 13 Total run time: 552.033 ms
  • I found this on restart...


    Code
    /etc/monit/conf.d/openmediavault-filesystem.conf:47: Service name conflict, filesystem_srv_dev-disk-by-label-hdd6 already defined '"/srv/dev-disk-by-label-hdd6"'
    /etc/monit/conf.d/openmediavault-filesystem.conf:52: Service name conflict, mountpoint_srv_dev-disk-by-label-hdd6 already defined ''/srv/dev-disk-by-label-hdd6''


    but I'm not sure how to fix.


    thanks!

  • votdev

    Hat das Label OMV 5.x hinzugefügt.
  • Sure...


    • Offizieller Beitrag

    The database has two entries for /dev/disk/by-label/hdd6.


    I really wonder how it was possible to you to create this duplicate entry. OMV checks and prevents this before mounting the filesystem:


    You need to remove one of this database entries. But you need to ensure that the entry you want to delete is not referenced by shared folders.

  • Yes... I can see what you are saying.


    I've no idea how it happened.


    I can easily remove any shared folders that refer to HDD6... but how do I delete one of the database entries? Or could I delete both and re-mount HDD6 from scratch?


    Many thanks for you help!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!