Countless NFS errors, something about RPC Service

    • Countless NFS errors, something about RPC Service

      Trying to use NFS service as well as mounting an external NFS share using remotemount plugin, getting numerous errors:

      Source Code

      1. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; apt-get update 2>&1' with exit code '100': Reading package lists...
      2. E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
      3. E: Unable to lock directory /var/lib/apt/lists/ in /usr/share/openmediavault/engined/rpc/apt.inc:220
      4. Stack trace:
      5. #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMVRpcServiceApt->{closure}('/tmp/bgstatusLd...', '/tmp/bgoutputE0...')
      6. #1 /usr/share/openmediavault/engined/rpc/apt.inc(224): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      7. #2 [internal function]: OMVRpcServiceApt->update(NULL, Array)
      8. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      9. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('update', NULL, Array)
      10. #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Apt', 'update', NULL, Array, 1)
      11. #6 {main}
      12. Error #0:
      13. OMV\Exception: Failed to create the directory '/srv/f5517747-a89c-4611-8eb6-707a063ac777/SynFamShr': in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:323
      14. Stack trace:
      15. #0 [internal function]: OMVRpcServiceShareMgmt->set(Array, Array)
      16. #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      17. #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
      18. #3 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)
      19. #4 {main}
      20. Error #0:
      21. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-SynFamShr.mount' 2>&1' with exit code '1': Job for sharedfolders-SynFamShr.mount failed.
      22. See "systemctl status sharedfolders-SynFamShr.mount" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175
      23. Stack trace:
      24. #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      25. #1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
      26. #2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
      27. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
      28. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      29. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      30. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      31. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4W...', '/tmp/bgoutput1M...')
      32. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      33. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      34. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      35. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      36. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      37. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      38. #14 {main}
      Display All

      I received the same errors on a fresh update & reboot as well. Something's broken and "OMVRPCService" seems to be referenced frequently?
    • I am seeing the same error, when I try to add and NFS share:

      Source Code

      1. Error #0: 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': Job for nfs-server.service failed because the control process exited with error code. See "systemctl status nfs-server.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175
      2. Stack trace: #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      3. #1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)
      4. #2 /usr/share/openmediavault/engined/module/nfs.inc(71): OMV\System\SystemCtl->enable(true)
      5. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleNfs->startService()
      6. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      7. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      8. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      9. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusBv...', '/tmp/bgoutput6q...')
      10. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      11. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      12. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      13. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      14. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      15. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      16. #14 {main}
      Display All

      The post was edited 1 time, last by Eagle ().

    • 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': Job for nfs-server.service failed because the control process exited with error code.See "systemctl status nfs-server.service" and "journalctl -xe" for details.

      Yeah i also get the same.

      To add i also get this when i try to get the status, a reinstall did also not help.
    • Maybe i found the error,
      It seems to be bad Syntax in the Export list, when i checked the "nano /etc/exports" file i found that the Mask of the IP Range was changed from 24 = "$.

      I also saw this then in OMV i'm 100% sure i put in 24 for some reason it got changed to "$ i changed it back in OMV to 24 and now it seems to work.