LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2009, 07:43 AM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
Linux NTP server


Hi, ALl

Forgive me if I asked here with wrong question.

I have server named lab-time to provide ntp service for all PCs of our
lab.lab-time has RHEL AS3 installed. Also I have win2003 PC named lab01 with the following ntp sync order.

lab01(win2003) => lab-dc(domain controller) ==> lab-time(RHEL3)

However, recently I get the following error event from lab01 which is win2003.

http://support.microsoft.com/kb/875424/EN-US/

I tried to troubleshoot lab01 as the link above, However, problem is still
there.

So I wonder whether lab-time(RHEL3) needs to do some configure if it should provide ntp service to windows PCs. Any idea?
 
Old 09-06-2009, 08:48 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,923

Rep: Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019Reputation: 7019
Quote:
Originally Posted by UltraSoul View Post
Hi, ALl

Forgive me if I asked here with wrong question.

I have server named lab-time to provide ntp service for all PCs of our
lab.lab-time has RHEL AS3 installed. Also I have win2003 PC named lab01 with the following ntp sync order.

lab01(win2003) => lab-dc(domain controller) ==> lab-time(RHEL3)

However, recently I get the following error event from lab01 which is win2003.

http://support.microsoft.com/kb/875424/EN-US/

I tried to troubleshoot lab01 as the link above, However, problem is still
there.

So I wonder whether lab-time(RHEL3) needs to do some configure if it should provide ntp service to windows PCs. Any idea?
Yep...Windows is junk, is the best idea I can give you. Had this same problem, and it boils down to Windows wanting to use (surprise!) a Windows-based time server, and not fully supporting standards, like NTP.

Your time server is fine, and there's nothing you can do to it, to make Windows like it. In my environment, we've got 4 time servers, using GPS data, and atomized PPS kernels. EVERYTHING (mainframes, unix/linux, routers, switches, etc.), synchs to it. The ONLY machines that have problems are the Windows boxes. Following the procedure in the link you posted, works sometimes...sometimes you've got to do it multiple times, with reboots.
 
Old 09-06-2009, 08:48 AM   #3
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Check your /etc/ntp.conf file. Especially the restrict directives. Remove the nopeer and noquery options from the restrict default ... directive.
 
Old 09-06-2009, 11:38 AM   #4
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
Hi, fpmurphy

Quote:
Check your /etc/ntp.conf file. Especially the restrict directives. Remove the nopeer and noquery options from the restrict default ... directive.
==>
Do u mean to remove the nopeer and noquery options from restrict default directive as follows?

restrict default ***** nopeer noquery ==> restrict default ignore

Can u tell me the reason to remove nopeer and noquery from restrict default directive? Because I see nopeer is to prevent the remove machine
to set the NTP server own time, I think nopeer should be there if I
understand the nopeer option function well.

noquery means "Deny ntpq and ntpdc queries. Time service is not affected."
I am not sure why we need remove noquery if the ntp client is windows pc.
 
  


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
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 07:35 PM
Linux NTP Server surenlinux Linux - Software 20 09-25-2008 09:27 AM
Windows using Linux NTP server caps_phisto Linux - General 1 11-08-2006 06:38 PM
How to set up Linux NTP server minil Linux - Networking 8 03-03-2005 02:24 AM
Cannot use my Linux Box as NTP Server TommyB Linux - Software 4 01-20-2005 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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