tennis_slacker |
07-01-2010 06:50 PM |
Slackware server - ntp time sync stops after a day
I give up and need help. I've been fighting this for over a week now and just can't get my server's time to continue synchronizing.
Code:
# /etc/rc.d/rc.ntpd status
ntpd is running
If I restart ntpd everything works perfectly for a day. Then the synchronization stops and I get:
Code:
# ntpq -p
ntpq: read: Connection refused
Here's my ntp.conf:
Code:
# grep -v "^#" /etc/ntp.conf
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
server 0.north-america.pool.ntp.org iburst
server 1.north-america.pool.ntp.org iburst
server 2.north-america.pool.ntp.org iburst
server 3.north-america.pool.ntp.org iburst
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
restrict default noquery nomodify
restrict 127.0.0.1
I opened my wireless routers port 123 udp, thinking that was necessary. Though I don't understand why, since I had a Debian server running on this machine and never needed that.
I even thought my hwclock was messing something up so I did:
Code:
# sh /etc/rc.d/rc.ntpd stop
# ntpdate pool.ntp.org
# hwclock -w
# sh /etc/rc.d/rc.ntpd start
Here is what I get right now.
Code:
# date
Thu Jul 1 10:19:00 MDT 2010
# hwclock -r
Thu 01 Jul 2010 05:49:07 PM MDT -0.586056 seconds
This didn't help either. I just don't understand why it works for a day or so, then stops.
Help. Thanks.
|