Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-29-2013, 07:08 AM   #1
Registered: Feb 2007
Location: Sweden
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 40

Rep: Reputation: 15
Unhappy Ntpd continues to gather ntp data from public server, WHY?

I have a strange problem that It would be fun to see if someone here could help me to solve.

I have a server that runs ntp. Before I had the server configured to gather the ntp-data from an public ntp server. A couple of days ago I changed the servers ntp.conf file to instead point to my local ntp.server that then points outside. Everything looks fine when I check the configuration files.

The strange thing is that even though I have reconfigured the server with the local NTP servers IP adress, and when I run ntpq -p It shows my local server, I can from firewall logs see that the server tries to access the public ntp-server anyway. Why is like that?

I have checked everywhere and I cant find a single place where this would be overrided by some other configuration. Even when I tries with netstat & the ss command with different flags I cant find anything wrong.

Anyone got some clues about this?


Old 04-29-2013, 09:37 AM   #2
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 2,092

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
You might be running ntpdate at startup to do the initial synchronization, and file /etc/ntp/step-tickers could list an alternate set of servers for that.
Old 04-29-2013, 10:28 AM   #3
Registered: Aug 2002
Posts: 13,318

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
Did you restart ntp?
Are other clients using this ntp server?
Have you configured the local ntp server to accept queries (ntp.conf)?
Have you configured the local ntp server's firewall for NTP?

Post the output from the command ntpq -p
Old 04-30-2013, 06:40 AM   #4
Registered: Feb 2007
Location: Sweden
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
Ahh, great! I will check into the ntpdate thing some more and reply back later on.

The ntp daemon was restarted after editing the ntp.conf file. The ntp server works for all other hosts in my network, its just this one that it seems to be something strange about. All other hosts have the same output, and uses the same local ntp server to gather ntp data from. And the bogous machine is the only one that ends up in the firewall logs, where it seems like he is trying to go public anyway.

Tnx in advance!


network, network connectivity, ntp, ntpconf, problem

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
LXer: Gather crowdsourced public input with Shareabouts app LXer Syndicated Linux News 0 11-13-2012 01:30 AM
ntpd daemon not synced with NTP server lamoul Red Hat 2 11-02-2012 10:17 AM
System boot hangs at Starting NTP server: ntpd. WHY? duyuyang Linux - Newbie 5 10-29-2008 07:47 AM
Using Public NTP Server when LAN is sometimes offline... conn-fused Linux - Software 4 12-08-2007 06:15 AM
NTPd - ntp.conf warath Linux - Software 8 04-05-2004 08:42 AM

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration