LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-05-2002, 12:33 PM   #1
kjelle
LQ Newbie
 
Registered: Feb 2002
Distribution: redhat
Posts: 6

Rep: Reputation: 0
ntpd


Hello everyone!


I would like some help configuring ntpd to sync my servers on my local network.

one should be master and the others should be slave.

for now, the network have no internet access so the slave servers should sync to master local time, but when the network have access to internet the master should sync to a internet time server and then my local servers should sync on my local timeserver.

so happilly I installed the software and started to configure the /etc/ntp.conf file on the server

server 127.0.0.1
broadcastclient
driftfile /etc/ntp.drift


and on the client
server 192.168.1.3
broadcastclient
driftfile /etc/ntp.drift


from /etc/rc.d/init.d/
i started the ntpd both on the server and on the client
..but nothing, no sync here.

so on the client, tried with
ntpdate -b ns
5 Mar 19:27:51 ntpdate[4929]: no server suitable for synchronization found

hmm...not so good and then
ntpq -c peers time 192.168.1.3
***Can't find host time
***Can't find host time
ho remote refid st t when poll reach delay offset jitter
=================================================================================
ns localhost.local 0.0.0.0 16 l - 128 0 0.000 0.000 4000.00



apperantly i did something wrong but even if I read the doc I could'nt figure out why..

please help me out with this one!


 
  


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
ntpd jayhel Slackware 2 02-19-2005 10:12 AM
ntpd seitan Linux - Software 1 11-29-2004 05:30 AM
ntpd jqcaducifer Linux - General 0 08-21-2003 11:09 PM
ntpd in RH 7.3 melissad Linux - Networking 4 04-28-2003 12:34 PM
ntpd susx Linux - Newbie 3 08-28-2001 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 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