It failed to start systemd-timesyncd.service:
# systemctl status systemd-timesyncd.service -l
* systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded
(8;;file://solar/lib/systemd/system/systemd-timesyncd.service/lib/systemd/system/systemd-timesyncd.service8;;;
enabled;)
Active: failed (Result: exit-code) since Sat 2020-01-25 23:26:12 UTC; 10s ago
Docs:
8;;man:systemd-timesyncd.service(8)man:systemd-timesyncd.service(8)8;;
Process: 11799 ExecStart=/lib/systemd/systemd-timesyncd
(code=exited, status=238/STATE_DIRECTORY)
Main PID: 11799 (code=exited, status=238/STATE_DIRECTORY)
Jan 25 23:26:12 solar systemd[1]: systemd-timesyncd.service: Service
has no hold-off time (RestartSec=0), scheduling restart.
Jan 25 23:26:12 solar systemd[1]: systemd-timesyncd.service: Scheduled
restart job, restart counter is at 5.
Jan 25 23:26:12 solar systemd[1]: Stopped Network Time Synchronization.
Jan 25 23:26:12 solar systemd[1]: systemd-timesyncd.service: Start
request repeated too quickly.
Jan 25 23:26:12 solar systemd[1]: systemd-timesyncd.service: Failed
with result 'exit-code'.
Jan 25 23:26:12 solar systemd[1]: Failed to start Network Time Synchronization.
root@solar:~# [ 1825.848150] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd
0x23f error, result=0x2
Manually corrected the date, but the WiFi IP address is still got
wrong IP address
On 1/26/20, JH <[email protected]> wrote:
> Hi,
>
> I build the image from Yocto thud and running it in imx6, usually I
> got right the date, but today I got a weird wrong date:
>
> # date
> Wed Jan 15 08:13:14 UTC 2020
>
> What could cause that problem and how to fix it? The WiFi also got a
> wrong IP address 169.254.124.128, it was because failed DHCP response,
> I believe that WiFi issue was also caused by the wrong date.
>
> How does the Yocto sync the date? Does it run NTP to sync the date?
>
> Thank you.
>
> Kind regards,
>
> - jh
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48147): https://lists.yoctoproject.org/g/yocto/message/48147
Mute This Topic: https://lists.yoctoproject.org/mt/70120125/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-