22.04: Start service delays boot
Josef Wolf
jw at raven.inka.de
Sat Oct 21 18:00:03 UTC 2023
Hello,
On a freshly installed 22.04, boot pauses for about two minutes, telling:
A start job is running for Wait for Network to be configured (X min Xs / no limit)
How do I find out what is causing those errors:
Okt 21 19:13:46 x13 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Okt 21 19:13:46 x13 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'.
Okt 21 19:13:46 x13 systemd[1]: Failed to start Wait for Network to be Configured.
Here is more jornalctl output related to the problem:
Okt 21 19:11:46 x13 systemd[1]: Starting Network Configuration...
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Link UP
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Gained carrier
Okt 21 19:11:46 x13 systemd-networkd[1214]: lo: Link UP
Okt 21 19:11:46 x13 systemd-networkd[1214]: lo: Gained carrier
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Gained IPv6LL
Okt 21 19:11:46 x13 systemd-networkd[1214]: Enumeration completed
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Link DOWN
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Lost carrier
Okt 21 19:11:46 x13 systemd[1]: Started Network Configuration.
Okt 21 19:11:46 x13 systemd-timesyncd[1178]: Network configuration changed, trying to establish connection.
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Link UP
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Connected WiFi access point: gtg (9e:53:22:34:ea:8e)
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: found matching network '/run/systemd/network/10-netplan-wlan0.network', based on potentially unpredictable interface name.
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Re-configuring with /run/systemd/network/10-netplan-wlan0.network
Okt 21 19:11:46 x13 systemd[1]: Starting Wait for Network to be Configured...
Okt 21 19:11:46 x13 systemd[1]: Starting Network Name Resolution...
Okt 21 19:11:46 x13 systemd-resolved[1216]: Positive Trust Anchors:
Okt 21 19:11:46 x13 systemd-resolved[1216]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Okt 21 19:11:46 x13 systemd-resolved[1216]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa corp home internal intranet lan local private test
Okt 21 19:11:46 x13 systemd-networkd[1214]: wlan0: Gained carrier
Okt 21 19:11:46 x13 systemd-timesyncd[1178]: Network configuration changed, trying to establish connection.
Okt 21 19:11:46 x13 systemd-timesyncd[1178]: Network configuration changed, trying to establish connection.
Okt 21 19:11:46 x13 systemd-resolved[1216]: Using system hostname 'x13'.
Okt 21 19:11:46 x13 systemd[1]: Started Network Name Resolution.
Okt 21 19:11:46 x13 systemd[1]: Reached target Host and Network Name Lookups.
Okt 21 19:11:47 x13 systemd-timesyncd[1178]: Network configuration changed, trying to establish connection.
Okt 21 19:11:47 x13 systemd-networkd[1214]: wlan0: DHCPv4 address 192.168.1.102/24 via 192.168.1.1
Okt 21 19:11:47 x13 systemd-timesyncd[1178]: Network configuration changed, trying to establish connection.
Okt 21 19:11:47 x13 systemd-timesyncd[1178]: Network configuration changed, trying to establish connection.
Okt 21 19:12:16 x13 systemd[1]: systemd-fsckd.service: Deactivated successfully.
Okt 21 19:12:17 x13 systemd-resolved[1216]: Clock change detected. Flushing caches.
Okt 21 19:12:17 x13 systemd-timesyncd[1178]: Initial synchronization to time server 185.125.190.58:123 (ntp.ubuntu.com).
Okt 21 19:13:46 x13 systemd-networkd-wait-online[1215]: Timeout occurred while waiting for network connectivity.
Okt 21 19:13:46 x13 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Okt 21 19:13:46 x13 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'.
Okt 21 19:13:46 x13 systemd[1]: Failed to start Wait for Network to be Configured.
Okt 21 19:13:46 x13 systemd[1]: Starting Initial cloud-init job (metadata service crawler)...
Okt 21 19:13:46 x13 cloud-init[1222]: Cloud-init v. 23.3.1-0ubuntu1~22.04.1 running 'init' at Sat, 21 Oct 2023 17:13:46 +0000. Up 135.07 seconds.
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | lo | True | ::1/128 | . | host | . |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | wlan0 | True | 192.168.1.102 | 255.255.255.0 | global | 04:7b:cb:ba:d7:7c |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | wlan0 | True | fe80::67b:cbff:feba:d77c/64 | . | link | 04:7b:cb:ba:d7:7c |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 0 | 0.0.0.0 | 192.168.1.1 | 0.0.0.0 | wlan0 | UG |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 1 | 192.168.1.0 | 0.0.0.0 | 255.255.255.0 | wlan0 | U |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 2 | 192.168.1.1 | 0.0.0.0 | 255.255.255.255 | wlan0 | UH |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++++
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +-------+-------------+--------------------------+-----------+-------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | Route | Destination | Gateway | Interface | Flags |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +-------+-------------+--------------------------+-----------+-------+
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 1 | fe80::/64 | :: | wlan0 | U |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 2 | ::/0 | fe80::20d:b9ff:fe35:b75e | wlan0 | UGe |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 4 | local | :: | wlan0 | U |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: | 5 | multicast | :: | wlan0 | U |
Okt 21 19:13:46 x13 cloud-init[1222]: ci-info: +-------+-------------+--------------------------+-----------+-------+
--
Josef Wolf
jw at raven.inka.de
More information about the ubuntu-users
mailing list