Problem on modification for network

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Problem on modification for network

      Hi i(m running OMV 4.1.21-1
      I have 2 Network card.
      1 with 192.168.0.3
      And the second 192.168.1.245

      It's for 2 differents network.

      But i need to reconfigure the second network card. I have an error when i apply the config :

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'networking' 2>&1' with exit code '1': Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.

      Source Code

      1. Erreur #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.UTF-8; systemctl start 'networking' 2>&1' with exit code '1': Job for networking.service failed because the control process exited with error code.
      3. See "systemctl status networking.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:182
      4. Stack trace:
      5. #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      6. #1 /usr/share/php/openmediavault/system/systemctl.inc(146): OMV\System\SystemCtl->exec('start', NULL, false)
      7. #2 /usr/share/openmediavault/engined/module/networking.inc(44): OMV\System\SystemCtl->start()
      8. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleNetworking->startService()
      9. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      10. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      11. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      12. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatushE...', '/tmp/bgoutputCI...')
      13. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      14. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      15. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      16. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      17. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      18. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      19. #14 {main}
      Display All
      Thank's for your help !
    • After a command systemctl this appear :

      Source Code

      1. systemctl status networking.service
      2. ● networking.service - Raise network interfaces
      3. Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
      4. t: enabled)
      5. Active: failed (Result: exit-code) since Mon 2019-04-08 18:06:28 C
      6. EST; 22s ago
      7. Docs: man:interfaces(5)
      8. Process: 8288 ExecStart=/sbin/ifup -a --read-environment (code=exited,
      9. status=1/FAILURE)
      10. Process: 8283 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [
      11. -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (cod
      12. e=exited, status=0/SUCCESS)
      13. Main PID: 8288 (code=exited, status=1/FAILURE)
      14. avril 08 18:06:28 OMV-OCTOGONE systemd[1]: Starting Raise network interfaces...
      15. avril 08 18:06:28 OMV-OCTOGONE ifup[8288]: RTNETLINK answers: File exists
      16. avril 08 18:06:28 OMV-OCTOGONE ifup[8288]: ifup: failed to bring up enp2s0
      17. avril 08 18:06:28 OMV-OCTOGONE systemd[1]: networking.service: Main proc
      18. ess exited, code=exited, status=1/FAILURE
      19. avril 08 18:06:28 OMV-OCTOGONE systemd[1]: Failed to start Raise network
      20. interfaces.
      21. avril 08 18:06:28 OMV-OCTOGONE systemd[1]: networking.service: Unit ente
      22. red failed state.
      23. avril 08 18:06:28 OMV-OCTOGONE systemd[1]: networking.service: Failed wi
      24. th result 'exit-code'.
      Display All