LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help with ntp (https://www.linuxquestions.org/questions/linux-general-1/help-with-ntp-140385/)

triley 01-30-2004 11:29 AM

Help with ntp
 
Please help! I'm trying to set up an ntp server on a RH 9 box. Everytime I run /usr/sbin/ntpdate x.x.x.x, I receive the following error. "No server suitable for synchronization." I've read the HOW-TOs and can't find anything wrong. I've also cleared my iptables with iptables -F. I'm new to setting up an ntp server so I'm sure there's something easy that I've overlooked. Below are my /etc/ntp.conf configs on both my server and client.

Server

restrict default ignore

restrict x.x.x.x mask 255.255.255.255 nomodify notrap noquery

restrict 127.0.0.1

server x.x.x.x

server 127.127.1.0

fudge 127.127.1.0 stratum 10

driftfile /etc/ntp/drift

broadcastdelay 0.008

authenticate yes

keys /etc/ntp/keys

Client

server x.x.x.x

driftfile /etc/ntp/drift

broadcastdelay 0.008

authenticate yes

keys /etc/ntp/keys

jtshaw 01-30-2004 11:47 AM

You should be using the ntpd to update your time, as well as broadcast the time if you wish to act as a server. My ntp.conf looks like this (keep in mind I don't run ntpd as a server for others to use):

Code:

restrict 127.0.0.1
fudge 127.127.1.0 stratum 3
server time.cachenetworks.com
server ntp.ourconcord.net
server ntp-0.cso.uiuc.edu
driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log

When I run ntpq -p I can see that it is talking to those three servers and updating.


All times are GMT -5. The time now is 06:00 PM.