NTP time problem


 
Thread Tools Search this Thread
Operating Systems AIX NTP time problem
# 1  
Old 12-04-2013
Wrench NTP time problem

I got an ntp time problem on AIX server.

os version is AIX7.1
OS LEVEL 7.1.0.0

i got below output,when i run the below command
Code:
bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX
 4 Dec 12:50:49 ntpdate[34209840]: 3.4y
transmit(xxxxxxxxx)
receive(xxxxxxxxx)
transmit(xxxxxxxx)
receive(xxxxxxxxx)
transmit(xxxxxxx)
receive(xxxxxxxx)
transmit(xxxxxxx)
receive(xxxxxxxx)
transmit(xxxxxxxx)
server xxxxxxxxxxxx, port 123
stratum 5, precision -6, leap 00, trust 000
refid [xxxxxxxxxxx], delay 0.04141, dispersion 0.00021
transmitted 4, in filter 4
reference time:      d649a1e9.ff99a705  Wed, Dec  4 2013 12:43:21.998
originate timestamp: d649a3aa.088f6994  Wed, Dec  4 2013 12:50:50.033
transmit timestamp:  d649a3aa.0c5de000  Wed, Dec  4 2013 12:50:50.048
filter delay:  0.04152  0.04141  0.04141  0.04141
               0.00000  0.00000  0.00000  0.00000
filter offset: -0.01428 -0.01454 -0.01475 -0.01495
               0.000000 0.000000 0.000000 0.000000
delay 0.04141, dispersion 0.00021
offset -0.014544

 4 Dec 12:50:50 ntpdate[34209840]: adjust time server xxxxxxxxxxx offset -0.014544

please can some one help me on this sync time problem with peers

Last edited by bartus11; 12-04-2013 at 09:44 AM.. Reason: fixed code tags
# 2  
Old 12-04-2013
What you think is wrong in this?

You might see some milliseconds delay.

Try the command couple of times.
# 3  
Old 12-04-2013
Code:
 Nagios monitoring tool alerting as below.may be its not syc

Service: NTP Time
State: OK -> CRITICAL (PROBLEM)
Command: check_mk-ntp.time
Output: CRIT - found 2 peers, but none is suitable
Perfdata:

# 4  
Old 12-04-2013
Code:
ntpq -np

?
# 5  
Old 12-04-2013
Code:
bash-3.2# ntpq -np
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
*xx.xxx.xx.xxx   xx.xxx.xx.xx     5 u  124  128  377     1.01   -5.592    3.80
+xx.xxx.xx.xxx   xx.xxx.xx.xx     5 u   33  128  377     3.52    7.586    3.86
bash-3.2#

# 6  
Old 12-04-2013
Two peers, both work.
Something must be wrong with your Nagios check!
# 7  
Old 12-04-2013
It is usually not a good idea to use two remote ntp servers. If there is a difference, who should the host believe?

Quote:
With two, it is impossible to tell which one is better, because you don't have any other references to compare them with.
This is actually the worst possible configuration -- you'd be better off using just one upstream time server and letting the clocks run free if that upstream were to die or become unreachable.
ntp: 5.3.3. Upstream Time Server Quantity.

Last edited by Scrutinizer; 12-04-2013 at 04:29 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ntp : How is the synchronization time scheduled?

Hello, one of my clients has the following task for me: To write a Perl script that checks, whether ntp is active on a particular AIX or Linux box. Obviously the last synchronization is logged in the file ntp.log So, my task would be find out, when the synchronization SHOULD have taken... (1 Reply)
Discussion started by: Bloehdian1
1 Replies

2. HP-UX

Ntp time synchronization problems

There is one server in my company where the time is out of sync. When I checked (compared with other servers whose time is correct), the XNTPD variable in /etc/rc.config.d/netdaemons was set as 0. I changed this to 1, and tried restarting the xntpd process with : # /sbin/init.d/xntpd start ... (4 Replies)
Discussion started by: anaigini45
4 Replies

3. Red Hat

Auto NTP Time Synchronization

Good morning, My first post and first visit, so hello. I have been asked to see if one of our Linux boxes can have it's time sync automatically because the person who built the system has told our staff it cannot be done. To me that raised some flags because although I am no Linux expert, I just... (12 Replies)
Discussion started by: YSupport
12 Replies

4. Red Hat

ntp time synchronization

hello all,, am trying to do a time synchronization between a ntp server and a client, but facing some problems in doing so: i run the ntpdate in debug mode and this is what i got. please help me out.. # ntpd -d -u 172.22.1.207 ntpd 4.2.2p1@1.1570-o Sun Aug 28 19:21:03 UTC 2011 (1)... (1 Reply)
Discussion started by: rahul11c
1 Replies

5. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

6. Solaris

NTP time sync in Solaris 10

Ok, I have 4 production systems. There is one NTP server for all four systems. In each system there is one Solaris 10 box that points to that NTP server. All of the other machines in the system point to the Solaris 10 machine to get their time sync. All four Solaris 10 machines have essentially... (2 Replies)
Discussion started by: DeCoTwc
2 Replies

7. AIX

NTP - with time difference

We have configured most of 1200 servers with an NTP server. For the rest of the servers, I have a strange requirement. I want to synchronize them with NTP time with a lag of 15 minutes. Is it possible ? If yes How ? (0 Replies)
Discussion started by: shauche
0 Replies

8. HP-UX

NTP time

Is anyone familiar with adding NTP timing to a HPUX 10 OS? Thanks Brian (2 Replies)
Discussion started by: breigner
2 Replies

9. UNIX for Advanced & Expert Users

ntp across time zones

I've been tasked to implement ntp on my SCO Unix servers. I have over 600 servers spread across the US in different time zones. Each remote server has network connectivity to a main server here, through their local ISP. (That's how we currently deliver mail to them). My question is, how can... (5 Replies)
Discussion started by: Howeird
5 Replies

10. UNIX for Dummies Questions & Answers

TIME SYNC (NTP)

Is there a utility which offers the ability to utilize NTP to sync time on machine. If so please point to man page or web site (3 Replies)
Discussion started by: SmartJuniorUnix
3 Replies
Login or Register to Ask a Question