LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2003, 11:02 AM   #1
melissad
Newbie
 
Registered: Jan 2003
Posts: 4

Rep: Reputation: 0
ntpd in RH 7.3


for reasons I have not divined, am unable to setup ntp where ntpd actually works in RH_7.3. It is working fine in SuSE 8.1 and 8.2 according to ntptrace.

In step to simplify, set the drift and keys files to RFC 1305 rather than RH standards (/etc/ntp.drift and /etc/ntp.keys. /etc/ntp.conf on the RH7.3 machine is identical to the one on the working suSE machine. files saved.

Hardware clock set to within 2 seconds of the SuSE machine entrained to a Stratum 1. PING successful to the time server. xntp service stopped and restarted manually.

ntptrace shows no sync to external, using internal time clock.

I need the time sync in order to run LDAP Directory server and a cluster.

something appears to be different in RH vs SuSE. Will send config files to anyone who wants to respond.

melissad@speakeasy.net
 
Old 04-28-2003, 11:12 AM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
Try using 'dateconfig'. RedHat 7.x uses the dateconfig applet to set up the ntp system - it works for me.

Of course that probably doesn't help you much.

Here are the 6 uncommented lines of my NTP file...

server 192.168.1.3
fudge 192.168.1.3 stratum 3
driftfile /etc/ntp/drift
multicastclient
broadcastdelay 0.008
authenticate no
 
Old 04-28-2003, 11:55 AM   #3
melissad
Newbie
 
Registered: Jan 2003
Posts: 4

Original Poster
Rep: Reputation: 0
ntpd in RH 7.3

thanks for the reply. been to << dateconfig >> . services stop and start. <<ntpq -p shows they have touched the server with a zero offset and acceptable jitter variance.

<<ntptrace is still showing the following:
desiree: stratum 16, offset 0.00026, sync distance 0.00468
0.0.0.0: Not Synchronized*

am I reading this wrong? Is this merely telling me that the local clock isn't sync'd yet?

Also, if I want this machine to be a time server for the local net (i.e., be the source for the cluster and the Directory Services), do I need a <<multicastserver yes>> line in /etc/ntp.conf? (multicast is configured on eth0)

melissa
 
Old 04-28-2003, 12:28 PM   #4
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
NTP will "drift" the clock in partial second increments - so it could perceivably take some time to sync. Your output example is not exactly a format I recognize though.

ntpdate can be used to hard sync (especially usefull on boot).

From what I can tell - the ability to make an ntpd act as a server is dependant upon that server having "peer" entries, and not just "server" entries - but I am not sure of this.
 
Old 04-28-2003, 12:34 PM   #5
melissad
Newbie
 
Registered: Jan 2003
Posts: 4

Original Poster
Rep: Reputation: 0
NTPD on RH 7.3 - as server

the <<peer>> keyword is indicated in some places in the documentation as providing that functionality to a local subnet (broadcast) or multicast net. In other places, the documentation recommends using the <<server>> keyword for remote (up the chain off-net) servers and <<peer>> to designate local ones.

Of course, these are not mutually exclusive. I will try these settings after sync is attained and post the results here for everyone's info.

I notice that <<ntptrace>> is now giving me some variance in offsets, so it is doing its work.
 
  


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 kjelle Linux - Newbie 0 03-05-2002 12:33 PM
ntpd susx Linux - Newbie 3 08-28-2001 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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