LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-29-2013, 07:08 AM   #1
LuxLuv
Member
 
Registered: Feb 2007
Location: Sweden
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 38

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?

Regards,

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

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
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
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
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
LuxLuv
Member
 
Registered: Feb 2007
Location: Sweden
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 38

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!
 
  


Reply

Tags
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 01:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration