Network Error - Odroid XU4

  • I have problems when I try to set static IP in the webGUI or with omv-firstaid.


    I get the following 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 networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.


    The command systemctl status networking.service gives the following result:



    I will put the result of journalctl -xe in the next post.



    Any Idea how to fix it up?


    By the way everything works fine using DHCP.


    Best regards.

    • Offizieller Beitrag

    Sounds like you are putting invalid settings in the web interface for the static address. Post a screenshot of the settings.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    That doesn’t show a lot of the settings like dns servers and mtu

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I will write what I did set:


    Interface: eth0


    IPV4:
    Static IP: 192.168.1.25
    Subnet mask: 255.255.255.0
    Gateway: 192.168.1.1


    DNS (I checked the router): 87.216.1.65


    IPV6: Disabled.


    MTU = 0


    No WOL.


    Tell me if you need anything else.


    Best regards.

  • By the way, as I said I am using a rock64, not a odroid xu4, but I posted here since it seems to be the same error as OP.


    Error after clicking apply (yellow message pops up everytime)


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


    ----


    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 networking.service failed because the control process exited with error code.See "systemctl status networking.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175Stack 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)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(536): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus2S...', '/tmp/bgoutputBF...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}


    ----


    Image of configuration
    Actually, no matter what ip or whaterver, if i choose static it breaks


    https://i.imgur.com/MhahwXr.png


    ----


    Syslog


    https://pastebin.com/d3EDAKYW



    Others
    Also omv-firstaid software crashes when I use option 1.

  • Got same problem today when installing 4.1.3 - fresh install.


    It seems to be, that OMV adds the option "auto interface" , e.g. in my installation "auto enp6s0" in file /etc/network/interfaces.


    But this entry when using static configuration breaks the network script to start.
    quite clear, because a network interface can't use static settings AND use auto config = dhcp ?!


    I try to fix it by commenting the row , but webgui still complaining about network settings :-/
    but at least network is up and i can contact my server via web.


    *update*
    Sorry, i was wrong, the option "auto" is indeed no problem.
    Really don*t know why omv is having a problem.
    If I'm deleting the auto row then the network script runs through...

    Einmal editiert, zuletzt von Markus23 () aus folgendem Grund: error made by me

Jetzt mitmachen!

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