[Cannot make changes to network] "Job for networking.service failed because the control process exited with error code"

  • Good evening.


    I have 2 NICs, Intel i-210 (eth0) and Intel i-219 (eth1) to which I cannot make any configuration changes either in CLI mode (omv-firstaid) or in the webUI (Network tab), as I always get this error:

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


    In details:

    Code
    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 'networking' 2>&1' with exit code '1': Job for <a href="http://networking.service">networking.service</a> failed because the control process exited with error code.
    See "systemctl status <a href="http://networking.service" "="">networking.service"</a> and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
    #1 /usr/share/php/openmediavault/system/systemctl.inc(146): OMV\System\SystemCtl->exec('start', NULL, false)
    #2 /usr/share/openmediavault/engined/module/networking.inc(44): OMV\System\SystemCtl->start()
    #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleNetworking->startService()
    #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)


    If I enter "systemctl status networking.service" I get:


    And if I enter "journalctl -xe" I get:


    The main drawbacks are:


    - I cannot activate wake-on-lan so I have to go physically to power on the NAS when I need it.
    - I cannot do link-aggregation (eth0+eth1) to have a backup in case one of the NICs fail.


    Technically I can configure them, but at the moment of saving the changes in the webUI, it shows the errror and it does not take the changes.


    It seems that there is something wrong at the moment of raising the netowrk interface (if up).


    My /etc/network/interfaces looks like this:


    Ifconfig gives the following information (masked the MAC parts):

    I tried:
    - Perform any change with the network cable attached and detached
    - Enter the command "ifconfig eht0 down" and "ifconfig eth1 down" and tried to perform any change
    - Enter "system restart networking" (command works)
    - Flush by entering: "ip addr flush dev eth0" and "ip addr flush dev eth1" (command works)


    Thanks in advance.


    Regards.

    omv 5.5.23-1 usul arm64

    omv 5.5.23-1 usul x64


  • Which version are you using? I expect OMV3. If possible, upgrade to OMV4 which has some improvements related to this issue.

    Thank you for the quick response.


    Sorry I forgot the tag in the OP. I am running latest 4.0.14-1 arrakis.


    Curiously enough, in 3.0.94 erasmus I have it working with no issues (both WOL and Link-Aggregation).


    I got arrakis configured and running at 100% except for this issue.

    omv 5.5.23-1 usul arm64

    omv 5.5.23-1 usul x64


    Einmal editiert, zuletzt von jfromeo ()

  • I am wondering now because OMV4 does not have the openmediavault-issue scripts anymore which are reported in your journal. They should have been removed during the package installation automatically.

    Mmm... maybe because it was an upgrade (omv-release-upgrade), not a fresh install?

    omv 5.5.23-1 usul arm64

    omv 5.5.23-1 usul x64


Jetzt mitmachen!

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