LinuxQuestions.org
Visit Jeremy's Blog.
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 03-04-2014, 08:47 PM   #1
pankajd
Member
 
Registered: Oct 2008
Posts: 54

Rep: Reputation: 15
ntp server issue


hi,
we have an ntp server to which ~350 clients sync. we could see that ntp server process is running on server:

#####################################
ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
#######################################

however, we do not see any ports opened for ntp service on server:

######################################
netstat -atunlp|grep "LISTEN"|grep ntp
######################################

neither telnet to 123 port of ntpserver is not happening from anywhere. We do not have iptables. Also we have not changed anything in the setup except adding some 50 new clients with same setup. The issue is that, clients are not synced with server and are out of sync. ntp client service is running on all clients. If we try to sync the time with "ntpdate -u <ntp svr ip>" on clients, the time is getting synced. syslog does not show any issues. what could be the issue.

Last edited by pankajd; 03-05-2014 at 12:40 AM.
 
Old 03-05-2014, 05:41 AM   #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
ntp is a udp protocol, so telnet is useless here.

on a client running ntpd and also on the server itself run "ntpq -pn" and show us the output
 
Old 03-05-2014, 07:43 PM   #3
pankajd
Member
 
Registered: Oct 2008
Posts: 54

Original Poster
Rep: Reputation: 15
thanks for the reply.

On ntp server,

[root@svr ~]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
*10.208.3.33 202.186.39.40 2 u 964 1024 377 0.352 8.229 2.552

on ntp client,

[root@cli33 ~]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
*192.168.2.29 10.208.3.33 3 u 911 1024 377 0.272 -6.186 7.968
 
Old 03-06-2014, 07:32 AM   #4
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
the * at the start says that it IS synced. That looks absolutely fine.
 
  


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 client is not syncing to ntp server LittleMaster Linux - Newbie 6 04-05-2013 03:37 PM
[SOLVED] NTP configuration in client to synchronize with NTP server. antnish Linux - General 12 04-01-2013 02:49 PM
ntp server keeps on changing time-local ntp server Gil@LQ Linux - Newbie 3 01-23-2013 10:33 AM
Issue with NTP server Rohit_4739 Linux - Server 11 10-28-2011 03:09 PM
NTP time server issue - linux linuxguy08 Linux - Server 1 03-13-2009 01:27 AM

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

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