NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ntpdate problem



Depending on how you acquire a network address and DNS address, you might not have access to your DNS yet?

You can set ntpdate=NO in /etc/rc.conf to prevent running ntpdate at startup.

-Joel


On 7/24/2024 09:34, Will Senn wrote:
During boot up, I get the following message:

The following components reported failures:
   /etc/rc.d/ntpdate
See /var/run/rc.log for more information.

uname -a
NetBSD loki.sentech.home 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #0: Sat Jul 20 16:11:27 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

When I look in rc.log:
--snip
[running /etc/rc.d/unbound]
[running /etc/rc.d/named]
[running /etc/rc.d/rtclocaltime]
[running /etc/rc.d/ntpdate]
Setting date via ntp.
Exiting, name server cannot be used: Temporary failure in name resolution (2)/etc/rc.d/ntpdate exited with code 1
[running /etc/rc.d/rpcbind]
[running /etc/rc.d/ypserv]
--snip

looking in /etc/ntp.conf
pool 2.netbsd.pool.ntp.org iburst


but after logging in:
ntpdate -q
2.netbsd.pool.ntp.org
server 72.30.35.89, stratum 2, offset +0.476852, delay 0.07233
server 168.235.69.132, stratum 2, offset +0.477450, delay 0.07291
server 5.161.44.72, stratum 2, offset +0.479573, delay 0.06693
server 72.30.35.88, stratum 2, offset +0.475984, delay 0.07390
24 Jul 11:32:10 ntpdate[1068]: adjust time server 5.161.44.72 offset +0.479573 sec

Any ideas as to why it's failing during startup?

Thanks,

Will


Home | Main Index | Thread Index | Old Index