Unknown problem, monit might be the culprit

  • While trying to edit permissions for a new user, I ran into an unexpected problem. The web-gui gave me an error and said that one of my disks was busy and to check journalctl -xe for further information.


    In journalctl, I find these messages:

    Code
    /etc/monit/conf.d/openmediavault-filesystem.conf:2: Service name conflict, rootfs already defined'/'
    
    
    
    
    /etc/monit/conf.d/openmediavault-filesystem.conf:34: Service name conflict, mountpoint_srv_dev-disk-by-label-xx already defined ''/srv/dev-disk-by-label-xx''


    I get the same message for all my disks. I tried deleting the file /etc/monit/conf.d/openmediavault-filesystem.conf and restarted monit service, but the problem persists. I have no idea as to whats causing this?

  • This error occurs because you've one or more filesystems with the same label.


    Could it be because the fileysstem is referenced as /dev/sda1 in web-gui?


    I can find the disks as /srv/disk-by-label-xx and as /dev/vda


    Disks are mounted in fstab by:


    Code
    /dev/disk/by-label/xx /srv/dev-disk-by-label-xx ntfs defaults,nofail 0 2

Jetzt mitmachen!

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