Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 13th February 2010, 23:23
kopper kopper is offline
Junior Member
Join Date: Sep 2009
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default NPT Server - NTP Client no sync

hi guys

since I got a secure area my linux servers don't not have internet connection at all...

so I've configured an NTP Linux server with this configuration but my NTP Linux Client are not sync the time with the NTP Server


1. I sync my NTP server to itselft
# ntpdate -du ntpserver
#service ntpd start
2. I syn my linux clients
# ntpdate -du ntpserver
ntp service for clients is stop

now my NTP server configuration

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict -6 ::1

# Hosts on local network are less restricted.
restrict mask nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).

#broadcast key 42         # broadcast server
broadcastclient                 # broadcast client
#broadcast key 42             # multicast server
#multicastclient              # multicast client
#manycastserver         # manycast server
#manycastclient key 42  # manycast client

# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
server     # local clock
fudge stratum 10

# 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 /var/lib/ntp/drift

# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography.
keys /etc/ntp/keys

when I run to sync my clients
#ntpdate -du ntpserver
results see the last line it says client is not sync by 87 secs...so what I have to do? which command so the time in my NTP client is the same as my NTP server?

13 Feb 15:19:14 ntpdate[7820]: ntpdate 4.2.2p1@1.1570-o Thu May 14 13:00:58 UTC 2009 (1)
Looking for host ntpserver and service ntp
host found : ntpserver
server, port 123
stratum 11, precision -20, leap 00, trust 000
refid [], delay 0.02582, dispersion 0.00012
transmitted 4, in filter 4
reference time:    cf2195ee.d011023f  Sat, Feb 13 2010 15:19:42.812
originate timestamp: cf219629.6559ce6f  Sat, Feb 13 2010 15:20:41.395
transmit timestamp:  cf2195d2.35601ffb  Sat, Feb 13 2010 15:19:14.208
filter delay:  0.02824  0.02586  0.02582  0.02585 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 87.18836 87.18729 87.18728 87.18726
         0.000000 0.000000 0.000000 0.000000
delay 0.02582, dispersion 0.00012
offset 87.187280

13 Feb 15:19:14 ntpdate[7820]: step time server offset 87.187280 sec
thanks a lot

Last edited by kopper; 13th February 2010 at 23:58.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What can be wrong martin_rudowicz Installation/Configuration 10 1st December 2014 10:13
Error in System Log dclardy General 0 27th October 2009 02:39
403 Forbidden for ISPConfig Admin Pages tazmon95 General 8 6th April 2009 13:10
Apache LoadBalanced, Ldirector. eterzella HOWTO-Related Questions 6 7th February 2009 16:43
cacti problem - graphs have huge gaps Chip Installation/Configuration 7 8th February 2008 00:24

All times are GMT +2. The time now is 23:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.