LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-23-2008, 04:49 PM   #1
Tom Douglas
Member
 
Registered: Jun 2007
Posts: 90

Rep: Reputation: 15
ntp server on Fedora 8 not working


I want to have a Fedora 8 box set up as a network time server for the other Fedora boxes to synchronize from. How would I accomplish this?

The issues I have are these....
-- No Fedora box has internet access, only connected by LAN.
-- The F8 box is commanded # ntpdate -u road-runner
and replies: ntpdate[21376]: no server suitable for synchronization found
-- iptables has port 123 opened on all boxes. iptables has been shut down at times.

/etc/ntp.conf looks like this....

Code:
restrict default kod nomodify notrap nopeer noquery
restrict	192.168.1.31
server 192.168.1.31
fudge	192.168.1.31	stratum	10
#driftfile	/etc/ntp/drift
broadcastdelay	0.008
authenticate	no
logfile	/var/log/ntp
A /var/log/ntp log was created but no text contained within.

The message log spit out the following....

Quote:
ntpd[21498]: ntpd exiting on signal 15
ntpd[21579]: ntpd 4.2.4p2@1.1495-o Mon Sep 24 14:40:07 UTC 2007 (1)
ntpd[21580]: precision = 1.000 usec
ntpd[21580]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
ntpd[21580]: Listening on interface #1 wildcard, ::#123 Disabled
ntpd[21580]: Listening on interface #2 lo, ::1#123 Enabled
ntpd[21580]: Listening on interface #3 eth0, fe80::250:daff:fecf:e9ba#123 Enabled
ntpd[21580]: Listening on interface #4 eth1, fe80::260:97ff:fec3:e524#123 Enabled
ntpd[21580]: Listening on interface #5 lo, 127.0.0.1#123 Enabled
ntpd[21580]: Listening on interface #6 eth0, 192.168.1.31#123 Enabled
ntpd[21580]: Listening on interface #7 eth1, 192.168.1.32#123 Enabled
ntpd[21580]: kernel time sync status 0040
ntpd[21580]: 192.168.1.31 is inappropriate address for the fudge command, line ignored
ntpd[21580]: configure: keyword "authenticate" unknown, line ignored
How is "authenticate" unknown?
How is 192.168.1.31 an inappropriate address for fudge? Should I care about using fudge?
Local net port could be shut down -- how would I do this?
IPv6 is not supported on my LAN -- how would I shut those down?
Most importantly: Why does ntpdate reply "no server suitable for synchronization found"?

As a bonus, I'd like to have this box sync up with my Windows XP SP2 box. Or is that asking too much?

Thanks!

Tom D.
Denver, Colorado
 
Old 02-23-2008, 04:54 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
See if these are what you are after:

How do I set up a Network Time Protocol (NTP) Server on a LAN with no Internet access?
http://kbase.redhat.com/faq/FAQ_45_6192.shtm


How do I configure the ntpd service in Red Hat Enterprise Linux to function as an NTP time server for a network of NTP clients?
http://kbase.redhat.com/faq/FAQ_80_11302.shtm



Not sure how you'd configure XP to be a time server but here's a link to get Windows to be a time client to an Linux ntp server

How can I configure a Windows system to use a Red Hat Enterprise Linux server as an NTP time server?
http://kbase.redhat.com/faq/FAQ_80_11301.shtm

Last edited by rayfordj; 02-23-2008 at 04:56 PM.
 
Old 03-08-2008, 07:27 PM   #3
Tom Douglas
Member
 
Registered: Jun 2007
Posts: 90

Original Poster
Rep: Reputation: 15
Just for information here, here's an instruction message I found, only a few days old, that details how one can set up an NTP server using the realtime clock. The instructions are for Ubuntu but worked for me on my Fedora box. My boxes are sync'ing to the NTP server box.

http://ubuntuforums.org/showthread.php?t=579418

I'd like to thank jmikola for writing these very detailed instructions.

Tom D.
Denver
 
  


Reply


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
Suse server not responding after syncing with NTP Server vipin123 SUSE / openSUSE 2 09-04-2008 04:56 PM
Issues with Multicast NTP Server in Fedora Gene Erik Linux - Networking 0 10-12-2006 01:46 PM
ntp -- is it working? synaptical Linux - Software 4 08-23-2004 04:50 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 03:22 PM
Network Time Protocol (NTP): Are you sure it's working? mchirico LinuxQuestions.org Member Success Stories 0 06-12-2004 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:25 AM.

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