NFS couldn't get activated on OMV4

    • NFS couldn't get activated on OMV4

      Hi,

      I try to activate the NFS service on my OMV but I get errors:

      Source Code

      1. Fehler #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'nfs-kernel-server' 2>&1' with exit code '1': A dependency job for nfs-server.service failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:175
      3. Stack trace:
      4. #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      5. #1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)
      6. #2 /usr/share/openmediavault/engined/module/nfs.inc(71): OMV\System\SystemCtl->enable(true)
      7. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleNfs->startService()
      8. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      11. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusRU...', '/tmp/bgoutputp9...')
      12. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      13. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      14. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      15. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      16. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      17. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      18. #14 {main}
      Display All

      Source Code

      1. Jul 12 08:33:24 TVH systemd[1]: Dependency failed for NFS server and services.
      2. -- Subject: Unit nfs-server.service has failed
      3. -- Defined-By: systemd
      4. -- Support: https://www.debian.org/support
      5. --
      6. -- Unit nfs-server.service has failed.
      7. --
      8. -- The result is dependency.
      9. Jul 12 08:33:24 TVH systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
      10. Jul 12 08:33:24 TVH systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
      11. Jul 12 08:33:24 TVH systemd[1]: proc-fs-nfsd.mount: Unit entered failed state.
      Display All

      Any Ideas??