在嵌入式系统中,开机NTP服务器报错:ntpd_intres++ntp_intres.request:+permission+denied
原因:
DNS 服务器还没有生效(not available),因此报错。
When I googled around for "ntp_intres.request: permission denied" I found a few references that indicated that it could get stuck looping with this error message if the DNS was not available when it first kicked off. That doesn't explain how we can get 2 ntpd processes started, but it does indicated that starting dnsmasq before ntpd is a good idea.
解决办法:
将ntp的启动脚本必须放在网络启动脚本之后,可以考虑最后在启动。