You are not logged in.

#1 2010-11-09 17:00:46

jwhendy
Member
Registered: 2010-04-01
Posts: 621

YANNP (yet another ntp post) -- daylight savings time

Hi,


I set up ntp via the wiki on two of my computers and thought it was working. It didn't initially but I tried

sudo ntpd -s -d

per the wiki for manually syncing and it appeared to be fine.

Then comes daylight savings time. No dice. In fact, things are quite a bit worse it seems. I have scoured and it seems that no thread has a definitive end. Often something works for the poster but the resolution is never clear about what, specifically, fixed the problem. I also have to say that I wish more problem-solvers contributed to the wiki as there is a lot of information in the forums that isn't on the wiki. In any case, here's what I can provide to help diagnose the problem:

/etc/ntp.conf

server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org

driftfile    /var/lib/ntp/ntp.drift
logfile         /var/log/ntp.log

restrict 127.0.0.1 noserve nomodify
restrict default nomodify noquery

/etc/rc.conf

TIMEZONE="America/Chicago"
HARDWARECLOCK="UTC"
DAEMONS=(syslog-ng dbus hal @network @netfs @crond @cpufreq @ntpd @alsa @cups @wicd @arch32 )

/var/lib/ntp/ntp.drift

-2.958

hwclock

Tue 09 Nov 2010 01:03:36 PM CST  -0.547183 seconds

date

Tue Nov  9 13:03:47 CST 2010

current US Central Time Zone at http://www.time.gov/timezone.cgi?Central/d/-6

10:40:46

So we're talking about 2.5 hours off!


sudo ntpq -p

   remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp2.Rescomp.Be .INIT.          16 u    -   64    0    0.000    0.000   0.000
 packman-ha.isc. .INIT.          16 u    -   64    0    0.000    0.000   0.000
 clock-b.develoo .INIT.          16 u    -   64    0    0.000    0.000   0.000
 ntp2.bibletaber .INIT.          16 u    -   64    0    0.000    0.000   0.000

cat /var/log/ntp.log

 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 0.north-america.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 1.north-america.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 2.north-america.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 3.north-america.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 0.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 1.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 2.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4633]: Deferring DNS for 3.pool.ntp.org 1
 9 Nov 10:57:45 ntpd[4639]: signal_no_reset: signal 17 had flags 4000000
 9 Nov 10:58:50 ntpd[4639]: DNS 0.north-america.pool.ntp.org -> 204.80.93.32
 9 Nov 10:58:50 ntpd[4639]: DNS 1.north-america.pool.ntp.org -> 173.203.202.87
 9 Nov 10:58:50 ntpd[4639]: DNS 2.north-america.pool.ntp.org -> 69.167.160.102
 9 Nov 10:58:50 ntpd[4633]: Listen normally on 4 wlan0 xxx.xx.xxx.xxx UDP 123
 9 Nov 10:58:50 ntpd[4633]: Listen normally on 5 wlan0 xxxx::xxx:xxxx:xxxx:xxxx UDP 123
 9 Nov 10:58:50 ntpd[4633]: new interface(s) found: waking up resolver
 9 Nov 10:58:50 ntpd[4639]: DNS 3.north-america.pool.ntp.org -> 149.20.54.20
 9 Nov 10:58:51 ntpd[4639]: DNS 0.pool.ntp.org -> 153.16.4.131
 9 Nov 10:58:53 ntpd[4639]: DNS 1.pool.ntp.org -> 38.117.195.101
 9 Nov 10:58:53 ntpd[4639]: DNS 2.pool.ntp.org -> 74.123.28.4
 9 Nov 10:58:53 ntpd[4639]: DNS 3.pool.ntp.org -> 209.114.111.1
 9 Nov 12:21:23 ntpd[4633]: ntpd exiting on signal 15
 9 Nov 12:40:08 ntpd[9140]: ntpd exiting on signal 15
 9 Nov 12:46:20 ntpd[9219]: ntpd exiting on signal 15
 9 Nov 12:53:29 ntpd[9480]: ntpd exiting on signal 15

I've also tried:

$ sudo /etc/rc.d/ntpd stop
$ sudo ntpdate 0.pool.ntp.org
9 Nov 13:19:05 ntpdate[5425]: no server suitable for synchronization found

Lastly, I've restarted the daemon in case the network wasn't up before ntp started up. That's the source of those ntpd exited on signal 15 errors I believe... though that could be from the stop and then it reports nothing upon starting again? In any case, I have yet to see any signs of actually syncing with a server. I've seen those types of messages in others' log files where it's clear that at least something is going on... but not with mine.

Can I provide anything else to help?

I have no idea where to go from here... I found a bunch of helpful ideas here but no game winner: https://bbs.archlinux.org/viewtopic.php?id=5709

Offline

Board footer

Powered by FluxBB