Hey guys,
Hardware
HP Gen8 Microserver
Xeon E3 1260L
16GB Ram
4 x 4 TB Hard Disk
1 x 120 GB root ssd
in OMV 2.X it was working.
Eno1 was 192.168.2.3
Eno2 was 192.168.2.4
I made a clean install months ago to OMV 4.x.
Now on 4.1.18-1
with Kermel 4.18.0
Everything looks and runs good. Docker, sharing, emby and so on no prpblems.
But when I try to set a static IP in WebUI for the second network card i get this error.
Code
Fehler #0:
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.
See "systemctl status networking.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:182
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)
#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(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusGj...', '/tmp/bgoutputzc...')
#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}
Alles anzeigen
networkinterfaces looks like that:
Code
# eno1 network interface
auto eno1
allow-hotplug eno1
iface eno1 inet static
address 192.168.2.3
gateway 192.168.2.1
netmask 255.255.255.0
dns-nameservers 192.168.2.1
pre-down ethtool -s $IFACE wol g
iface eno1 inet6 manual
pre-down ip -6 addr flush dev $IFACE
# Include additional interface stanzas.
# Include additional interface stanzas.
source-directory interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
Alles anzeigen
Code
root@NAS02-OMV:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-02-04 09:19:35 CET; 3min 31s ago
Docs: man:interfaces(5)
Process: 11157 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 11148 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/S
UCCESS)
Main PID: 11157 (code=exited, status=1/FAILURE)
CPU: 452ms
Feb 04 09:19:34 NAS02-OMV systemd[1]: Starting Raise network interfaces...
Feb 04 09:19:35 NAS02-OMV ifup[11157]: RTNETLINK answers: File exists
Feb 04 09:19:35 NAS02-OMV ifup[11157]: ifup: failed to bring up eno2
Feb 04 09:19:35 NAS02-OMV systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 09:19:35 NAS02-OMV systemd[1]: Failed to start Raise network interfaces.
Feb 04 09:19:35 NAS02-OMV systemd[1]: networking.service: Unit entered failed state.
Feb 04 09:19:35 NAS02-OMV systemd[1]: networking.service: Failed with result 'exit-code'.
Alles anzeigen
Somebody can give me an advise how to solv it?
The funny thing is, i can log into the machine with 192.168.2.4