Many problem with openvpn and openvpn-as

    • OMV 3.x
    • Many problem with openvpn and openvpn-as

      Hi !
      I tried to have access to my files with openvpn : It's possible on my nexus, but impossible with windows (I don't find why ...) maybe a probleme with samba ?. Today I purged openvpn (all files are delete I control that). But there are many error when I change parameters on openvpn as. (I already look many post on differents topic but It don't work)

      This is the message :

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop openvpnas.service 2>&1' with exit code '5': Failed to stop openvpnas.service: Unit openvpnas.service not loaded.

      Source Code

      1. Erreur #0:
      2. exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop openvpnas.service 2>&1' with exit code '5': Failed to stop openvpnas.service: Unit openvpnas.service not loaded.' in /usr/share/php/openmediavault/system/process.inc:175
      3. Stack trace:
      4. #0 /usr/share/php/openmediavault/system/systemctl.inc(83): OMV\System\Process->execute(Array, 5)
      5. #1 /usr/share/php/openmediavault/system/systemctl.inc(118): OMV\System\SystemCtl->exec('stop', NULL, false)
      6. #2 /usr/share/openmediavault/engined/module/openvpnas.inc(101): OMV\System\SystemCtl->disable(true)
      7. #3 /usr/share/openmediavault/engined/rpc/config.inc(147): OMV\Engined\Module\OpenVPNAS->stopService()
      8. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      11. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusHS...', '/tmp/bgoutputuh...')
      12. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      13. #9 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      14. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      15. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      16. #12 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      17. #13 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      18. #14 {main}
      Display All

      Thank you very much for your help :)

      PS : Sorry for my mistakes in english