LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-09-2009, 12:46 PM   #1
SteveInTallyFL
Member
 
Registered: May 2008
Location: Tallahassee, FL
Distribution: RHEL4, RHEL 5, OEL4, OEL5
Posts: 65

Rep: Reputation: 17
NTP configuration fails.


Our NTP servers are set up as a peer group looking out at us.pool.ntp.org. Our internal servers are set up to look at the local group. These internal servers are also peered to each other (Oracle RAC servers need this I am told. . .). Three servers do not look at the nodes specified in the ntp.conf under the 'server' directive. They look to a nameserver that had previously been used as a time server. This one server doesnt look anywhere.
<p>
The /var/log/messages/ entries:
Feb 9 13:06:22 myserver-01 ntpd: ntpd shutdown succeeded
Feb 9 13:06:27 myserver-01 ntpdate[4417]: no server suitable for synchronization found
Feb 9 13:06:27 myserver-01 ntpd: failed
Feb 9 13:06:27 myserver-01 ntpd[4774]: ntpd 4.2.0a@1.1190-r Thu Oct 5 04:11:33 EDT 2006 (1)
Feb 9 13:06:27 myserver-01 ntpd[4774]: precision = 1.000 usec
Feb 9 13:06:27 myserver-01 ntpd[4774]: Listening on interface wildcard, 0.0.0.0#123
Feb 9 13:06:27 myserver-01 ntpd[4774]: Listening on interface wildcard, ::#123
Feb 9 13:06:27 myserver-01 ntpd[4774]: Listening on interface lo, 127.0.0.1#123
Feb 9 13:06:27 myserver-01 ntpd[4774]: Listening on interface eth0, 10.200.23.31#123
Feb 9 13:06:27 myserver-01 ntpd[4774]: Listening on interface eth0:1, 10.200.23.41#123
Feb 9 13:06:27 myserver-01 ntpd[4774]: Listening on interface eth1, 192.168.23.31#123
Feb 9 13:06:27 myserver-01 ntpd[4774]: kernel time sync status 0040
<p>
Why would none of these servers look to the time server specified in the ntp.conf? It is attached (for syntax review) with identifiers falsified.
Attached Files
File Type: txt ntp.conf.txt (1.0 KB, 27 views)
 
Old 02-09-2009, 02:54 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well nothing there says that it's not looking at those servers, merely that nothing useful was found, which is different.

run "ntpdate -d my.ser.ver.ip" to do a one shot debugging query of a server, and see what that says. Additionally on your local servers run "ntpp -pn" to check the status of them. If they are flapping around without any synchonrization then nothing is going to use them - ntp is cleverer than that, and more annoying as a result.
 
Old 02-09-2009, 03:57 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Have you checked your init scripts to see if someone has manually specified a server as the argument to ntpdate?
 
Old 02-10-2009, 08:19 AM   #4
SteveInTallyFL
Member
 
Registered: May 2008
Location: Tallahassee, FL
Distribution: RHEL4, RHEL 5, OEL4, OEL5
Posts: 65

Original Poster
Rep: Reputation: 17
Attached the most recent result of ntpq -p. Do these results indicate that the ntp service is running properly?
Attached Files
File Type: txt ntpq.txt (857 Bytes, 26 views)
 
Old 02-10-2009, 12:59 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can't tell? well yes it shows in the second line (with the *) that you're happily synced to a strata 2 server online, so in turn will be providing a strata 3 service internally. So if you can't do a one shot ntpdate command from the client to that server, i'd be expecting network issues in the way. local firewall maybe?
 
  


Reply

Tags
ntpconf, ntpd, rhel4


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 configuration problem khadija Linux - Networking 2 07-23-2008 12:40 AM
NTP SERVER Configuration jmmo1981 Linux - Software 4 03-13-2007 06:33 AM
NTP Local Server Configuration saqis Red Hat 1 10-16-2006 04:45 AM
Configuration of NTP srikz SUSE / openSUSE 1 01-18-2005 02:04 PM
Ntp Server Configuration rodel Linux - Software 1 10-20-2003 03:10 PM

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

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