LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2010, 08:17 PM   #1
ninja master
Member
 
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Rep: Reputation: 31
NTP - no server suitable for synchronization found


when i point @ a local network ntp server?

i had tried several restrict options and disabling the slackware "no serve to anyone" default. i want the slackware system to host the ntp server for other devices to sync with so im not so hard on the remote ntp servers.

Code:
# Sample /etc/ntp.conf:  Configuration file for ntpd.
#
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#
#server	127.127.1.0	# local clock
#fudge	127.127.1.0 stratum 10	
#server  pool.ntp.org
#server 208.75.88.4
#fudge  208.75.88.4 stratum 10
server 64.73.32.135
fudge  64.73.32.135  stratum 10
server 216.45.57.38
fudge  216.45.57.38  stratum 10
restrict 64.73.32.135 mask 255.255.255.255 nomodify notrap noquery
restrict 216.45.57.38 mask 255.255.255.255 nomodify notrap noquery
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

#
# Drift file.  Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /etc/ntp/drift
multicastclient			# listen on default 224.0.1.1
broadcastdelay	0.008

#
# Keys file.  If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will.
#
#keys		/etc/ntp/keys
#trustedkey	65535
#requestkey	65535
#controlkey	65535

# Don't serve time or stats to anyone else by default (more secure)
restrict default noquery nomodify
# Trust ourselves.  :-)
restrict 127.0.0.1
^^ servers ntp config ^^

clients using ntpdate instead of ntpd so im 100% sure the servers broken. followed this tutorial

http://www.linuxhomenetworking.com/w...The_NTP_Server
 
Old 05-18-2010, 09:17 PM   #2
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
Hi ninja master,

Is the ntpd started on the master?
Are your clients on: 192.168.1.0 mask 255.255.255.0 ?
Do you have a firewall/iptables running on the ntp server?
If so, have you opened up the port for ntp queries from that local network?
What does the configuration on the clients look like?
 
Old 05-19-2010, 01:21 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
How about starting with a very simple, open configuration and -- if that works -- progressively introducing the required restrictions?

Maybe something like
Code:
server pool.ntp.org
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
 
Old 05-25-2010, 05:41 AM   #4
ninja master
Member
 
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Original Poster
Rep: Reputation: 31
i installed firestarter to take control of the iptables and it resolved its self somewhere along the lines.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP synchronization CoderMan Linux - Server 2 02-22-2010 03:14 PM
CentOS 5.3 VM, trouble with ntpd, no server suitable for synchronization found lazybee26 Linux - Software 1 01-08-2010 08:37 PM
Error:- ntpdate: no server suitable for synchronization found renuaseri Linux - Newbie 3 06-10-2009 12:47 AM
ntp client: no server suitable for synchronization found duyuyang Linux - Software 1 05-12-2009 10:56 PM
ntp synchronization problems ricky_ds Linux - Networking 1 10-13-2004 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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