/etc/monit/conf.d/openmediavault-filesystem.conf filesystem already defined

  • Ineed some help please.


    Im running omv 5.6.18-2


    There are 4 hdd intern and 1 extern via usb3

    there is a raid mirror with 2 hdd for saving data and this mirror gets an rsync every night on the external disk


    after any update (since maybe a year) my ftp stops running

    the ftp active light in dashboard is green but the running light is red and ftp is unreachable

    if i try to reaktivate by touching the "active button" on top left of the ftp settings to switch off and back on the ftp i got the following error if i try to save the settings



    Code
    /etc/monit/conf.d/openmediavault-filesystem.conf:39: Service name conflict, filesystem_srv_dev-disk-by-uuid-1-2-3-4-5 already defined '"/srv/dev-disk-by-uuid-1-2-3-4-5"'
    /etc/monit/conf.d/openmediavault-filesystem.conf:44: Service name conflict, mountpoint_srv_dev-disk-by-uuid-1-2-3-4-5 already defined ''/srv/dev-disk-by-uuid-1-2-3-4-5'


    if i open openmedia-filsystem.conf with nano i find these double entry but if i delete one of them it comes back after the next try to save the settings


    it doesnt matter if i delete the first entry, the second one or even both of them if i tick on "save changes" the error is back


    sometimes it worked to delete both entries and restart omv



    the disk with the double entry is the external via usb3



    who is writing these files?

    why i got these double entry?



    i found a second error in "diagnose" -> "services" -> "ftp"


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; ftpwho -v 2>&1' with exit code '1': /run/proftpd.scoreboard: No such file or directory (Perhaps you need to specify the ScoreboardFile with -f, or change the compile-time default directory?)



    pleas help to find a way to fix it because its annoying to need more the 1 hour for each update

  • i dont think so


    Code
    $ ls -l /dev/disk/by-uuid
    insgesamt 0
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 4cdceedf-b610-48a1-a48f-55cdcb458815 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 95999995-648c-45d7-9b1a-88b70f281647 -> ../../sde1
    lrwxrwxrwx 1 root root 9 Nov 3 09:43 bcff9dad-d825-420a-b834-eff6314879c7 -> ../../md0
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 bf386d99-6a26-4658-bb3c-98ceee667e8c -> ../../sdc1
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 ce31f51c-77de-49a1-8f6d-0794c2b089b4 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 e89ae50a-27b2-4613-869a-6454daa69983 -> ../../sdb5
  • think i found it


    but the uuid in first line of each block is different

    wich one i have to remove ?

  • the first entry

    Code
    <uuid>a05a64d0-3257-433f-9c09-89f95e89417b</uuid>

    appears 2 times line 592 and 690


    the second one

    Code
    <uuid>68b8bcdc-1733-43eb-99d1-e32a97dc8b27</uuid>

    only once in line 602


    wich one would be the one to delete?


    should i delete th e double entry in openmediavault-filesystem.conf as well before i do "omv-salt stage run deploy" ?


    both of this uuid are not listet in

    Code
    $ ls -l /dev/disk/by-uuid
    insgesamt 0
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 4cdceedf-b610-48a1-a48f-55cdcb458815 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 95999995-648c-45d7-9b1a-88b70f281647 -> ../../sde1
    lrwxrwxrwx 1 root root 9 Nov 3 09:43 bcff9dad-d825-420a-b834-eff6314879c7 -> ../../md0
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 bf386d99-6a26-4658-bb3c-98ceee667e8c -> ../../sdc1
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 ce31f51c-77de-49a1-8f6d-0794c2b089b4 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Nov 3 09:43 e89ae50a-27b2-4613-869a-6454daa69983 -> ../../sdb5
  • THANK YOU SO MUCH!!!!!


    you did it


    no error anymor while switchi ftp on or of

    even after a reboot everything looks pretty


    now i am waiting for the next update with happynes after beeing afraid of any update since a realy long time.


    but one question last


    what went wrong? how could this happend?

  • now even the statistics for the external disk are visible

    they never worked bevore

    i thought it was because it is an external disk


    this disk is very exiting for me because it is for escape situation for quick remove and take away (the server is to heavy for that)


    i make a lot of fotos (ca. 10000 per year) they are saved on this disk



    thank you thousend times for spending your time and know how

  • macom

    Added the Label resolved
  • macom

    Added the Label OMV 5.x

Participate now!

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