LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-30-2004, 11:29 AM   #1
triley
Member
 
Registered: Oct 2003
Posts: 74

Rep: Reputation: 15
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
 
Old 01-30-2004, 11:47 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ntp darkkan Debian 3 09-09-2005 11:11 AM
help with NTP stevenhasty Slackware 6 02-16-2005 11:04 AM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 02:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 02:22 PM
NTP Help MaverickApollo Linux - Software 0 10-28-2003 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration