You are not logged in.

#1 2015-10-23 13:36:21

shoe
Member
Registered: 2012-12-19
Posts: 12

systemd-networkd failed to start

I can't seem to get systemd-networkd to start, neither at boot or afterwards. I'm new to systemd and can't make much from the errors. I tried about a half hour of searching before posting, but forgive me if I missed something obvious. I'm way more interested in learning how to fish here rather than just eat one. Let me know if you need more info. Thanks!

# systemctl status systemd-networkd

* systemd-networkd.service - Network Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Fri 2015-10-23 09:08:39 EDT; 19min ago
     Docs: man:systemd-networkd.service(8)
Main PID: 4541 (code=exited, status=1/FAILURE)
   Status: "Shutting down..."

Oct 23 09:08:39 arch systemd[1]: Failed to start Network Service.
Oct 23 09:08:39 arch systemd[1]: systemd-networkd.service: Unit entered failed state.
Oct 23 09:08:39 arch systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
Oct 23 09:08:39 arch systemd[1]: systemd-networkd.service: Service has no hold-off time, scheduling restart.
Oct 23 09:08:39 arch systemd[1]: Stopped Network Service.
Oct 23 09:08:39 arch systemd[1]: systemd-networkd.service: Start request repeated too quickly.
Oct 23 09:08:39 arch systemd[1]: Failed to start Network Service.
Oct 23 09:08:39 arch systemd[1]: systemd-networkd.service: Unit entered failed state.
Oct 23 09:08:39 arch systemd[1]: systemd-networkd.service: Failed with result 'start-limit'.

Offline

#2 2015-10-23 14:03:09

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: systemd-networkd failed to start

What is the content of the files in /etc/systemd/network?


pkgs │ hacks │ cfg │ blag

Offline

#3 2016-01-31 18:04:20

sambul13
Member
Registered: 2012-08-18
Posts: 34

Re: systemd-networkd failed to start

I've the same exact problem and status log after clean installing ArchLinux 4.3. In  /etc/systemd/network/eth0.network :

[Match]
Name=eth0

[Network]
DHCP=yes

There are also other network related issues shown at boot in this sequence:

Failed to start Network Time Synchronization.
Failed to start Network Service.
Failed to start Network Name Resolution.

ping 192.168.0.1
connect: Network is unreachable

There're no other errors at boot. I've older ArchLinux on another drive, and it starts without problem.
Any suggestions?

Last edited by sambul13 (2016-01-31 18:34:58)

Offline

#4 2016-01-31 18:43:07

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: systemd-networkd failed to start

Are you sure your network device is named eth0? That's unusual unless you specifically set systemd to use that style of network naming. Otherwise it will likely be be something like en01.

Scott

Last edited by firecat53 (2016-01-31 18:43:44)

Offline

#5 2016-01-31 18:47:24

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: systemd-networkd failed to start

Please post the output of:

networkctl
networkctl status
systemctl status systemd-networkd systemd-resolved

Jin, Jîyan, Azadî

Offline

#6 2016-01-31 19:49:21

sambul13
Member
Registered: 2012-08-18
Posts: 34

Re: systemd-networkd failed to start

Sorry, I should mention running ArchLinux ARM 4.3, may be this explains naming conventions. But the problem seems to be generic in nature, linked in other threads to introducing initramfs-linux.img booting in this kernel. Should this image be referred to in Uboot?

I got this in dmesg, no other errors, can it be related?

[root@alarm mkinitcpio.d]# dmesg

[29.579634] MV-CESA:Could not register sha1 driver
[29.590677] MV-CESA:Could not register hmac-sha1 driver
[root@alarm mkinitcpio.d]# networkctl
IDX LINK             TYPE               OPERATIONAL SETUP
  1 lo               loopback           n/a         n/a
  2 eth0             ether              n/a         n/a

2 links listed.
[root@alarm mkinitcpio.d]# networkctl status
*      State: n/a
[root@alarm mkinitcpio.d]# systemctl status systemd-networkd systemd-resolved
* systemd-networkd.service - Network Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Fri 2015-11-27 18:07:52 UTC; 2h 17min ago
     Docs: man:systemd-networkd.service(8)
  Process: 215 ExecStart=/usr/lib/systemd/systemd-networkd (code=exited, status=1/FAILURE)
 Main PID: 215 (code=exited, status=1/FAILURE)

Nov 27 18:07:52 alarm systemd[1]: systemd-networkd.service: Unit entered fa...e.
Nov 27 18:07:52 alarm systemd[1]: systemd-networkd.service: Failed with res...'.
Nov 27 18:07:52 alarm systemd[1]: systemd-networkd.service: Service has no ...t.
Nov 27 18:07:52 alarm systemd[1]: Stopped Network Service.
Nov 27 18:07:52 alarm systemd[1]: systemd-networkd.service: Start request r...y.
Nov 27 18:07:52 alarm systemd[1]: Failed to start Network Service.
Nov 27 18:07:52 alarm systemd[1]: systemd-networkd.service: Unit entered fa...e.
Nov 27 18:07:52 alarm systemd[1]: systemd-networkd.service: Failed with res...'.

* systemd-resolved.service - Network Name Resolution
   Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Fri 2015-11-27 18:07:53 UTC; 2h 17min ago
     Docs: man:systemd-resolved.service(8)
  Process: 226 ExecStart=/usr/lib/systemd/systemd-resolved (code=exited, status=1/FAILURE)
 Main PID: 226 (code=exited, status=1/FAILURE)

Nov 27 18:07:53 alarm systemd[1]: systemd-resolved.service: Unit entered fa...e.
Nov 27 18:07:53 alarm systemd[1]: systemd-resolved.service: Failed with res...'.
Nov 27 18:07:53 alarm systemd[1]: systemd-resolved.service: Service has no ...t.
Nov 27 18:07:53 alarm systemd[1]: Stopped Network Name Resolution.
Nov 27 18:07:53 alarm systemd[1]: systemd-resolved.service: Start request r...y.
Nov 27 18:07:53 alarm systemd[1]: Failed to start Network Name Resolution.
Nov 27 18:07:53 alarm systemd[1]: systemd-resolved.service: Unit entered fa...e.
Nov 27 18:07:53 alarm systemd[1]: systemd-resolved.service: Failed with res...'.

Last edited by sambul13 (2016-01-31 19:50:26)

Offline

#7 2016-01-31 19:56:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: systemd-networkd failed to start

Arch ARM is a separate distribution, please ask on their boards: https://bbs.archlinux.org/viewtopic.php?id=153431


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB