another way to see if your ntpd server is working, is if it anwsers:
ntpq -p
with something different than "***Request timed out"
now, check if with this in your /etc/ntp.conf
#local time sources:
server 127.127.1.0 # local clock (LCL)
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
#don't forget to add a drift file and a log one so you can read the error messages when they appear:
driftfile /etc/ntp.drift
logfile /var/log/ntp
you can work fine.
also check you are able to answer local computers time in the firewall
iptables -I INPUT -p tcp --dport 123 -j ACCEPT
hope this help
Main Topics
Browse All Topics





by: RedimidoPosted on 2005-05-19 at 21:40:19ID: 14043020
first check the time server is running:
ps -efa | grep -v grep | grep ntpd
if you do not get any line, then you do not have the ntp server running.
to start the ntp server:
ntpd
if you do not get an error message on the command line, check the messages log:
dmesg
or
tail -30 /var/log/messages
and check what is the error.
I would think your problem is that you do not have any time server to syncronize with.
can you confirm that's the case?