Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-09-2009, 06:40 AM   #1
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
Error:- ntpdate: no server suitable for synchronization found

hi all ,
i hava install NAT server by ---sudo aptitude install ntp.
then update this :-sudo gedit /etc/ntp.conf.

my /etc/ntp.conf file lool like ---
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift

# Enable this if you want statistics to be logged.
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

# You do need to talk to an NTP server or two (or three).


# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page <>
# might also be helpful.
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.

# By default, exchange time with everybody, but don't allow configuration.
#restrict -4 default kod notrap nomodify nopeer noquery
#restrict -6 default kod notrap nomodify nopeer noquery
restrict mask nomodify notrap noquery
restrict mask nomodify notrap noquery

# Local users may interrogate the ntp server more closely.
restrict ::1

# Clients from this (example!) subnet have unlimited access, but only if
# cryptographically authenticated.
#restrict mask notrust
restrict mask nomodify notrap

# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)

# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines. Please do this only if you trust everybody on the network!
#disable auth

sudo /etc/init.d/ntp restart

--- sudo ntpdate -u
gives error:- 9 Jun 16:45:34 ntpdate[8459]: no server suitable for synchronization found

---sudo ntpq -p
gives this:- remote refid st t when poll reach delay offset jitter
============================================================================== .INIT. 16 u - 64 0 0.000 0.000 0.000 .INIT. 16 u - 64 0 0.000 0.000 0.000

i have tried other server but restult is same .........
plz help me
Old 06-09-2009, 10:46 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you resolve the name? What does "dig" give you?
Old 06-09-2009, 11:41 PM   #3
Registered: Mar 2009
Posts: 39

Original Poster
Rep: Reputation: 15
Error:- ntpdate: no server suitable for synchronization found

"dig" gives:--

; <<>> DiG 9.4.2 <<>>
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3104
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

; IN A



;; Query time: 327 msec
;; WHEN: Wed Jun 10 10:08:09 2009
;; MSG SIZE rcvd: 82
Old 06-10-2009, 12:47 AM   #4
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
I apologize if I am overlooking some aspect of what you are trying to do . . .

Why not just
sudo ntpdate


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 client: no server suitable for synchronization found duyuyang Linux - Software 1 05-12-2009 10:56 PM
firefox and java applets, no suitable plugins found? tethysgods Linux - Software 3 06-08-2008 04:16 AM
ntpdate gets reply from server, ntpd doesn't (confused!) Lindahl Linux - Software 5 06-20-2006 06:26 PM
cronjob ntpdate error rubella Linux - General 2 11-09-2005 09:40 AM
no suitable configured kernel include tree found r.stiltskin Debian 4 08-02-2005 03:37 PM > Forums > Linux Forums > Linux - Newbie

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

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