NTP Configuration on RHEL 5.4

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NTP Configuration on RHEL 5.4
# 1  
Old 01-12-2010
NTP Configuration on RHEL 5.4

Hi,

I'm trying to configure NTP client, however it failes to sync correctly.
Even after I manually set the time, once it connects with the NTP server, it pushes the time ahead by 4 hours.
We have set an AIX host as NTP server. It works fine for other AIX hosts, however fails on RHEL 5.4

Code:
[root@mpr21r08 ~]#
[root@mpr21r08 ~]# date
Tue Jan 12 07:48:55 SAST 2010
[root@mpr21r08 ~]# hwclock
Tue 12 Jan 2010 07:49:13 AM SAST  -0.850446 seconds
[root@mpr21r08 ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*app03r03        LOCAL(0)         4 u 4971  512  377    0.168    0.697   0.598
[root@mpr21r08 ~]# service ntpd restart
Shutting down ntpd:                                        [  OK  ]
ntpd: Synchronizing with time server:                      [  OK  ]
Starting ntpd:                                             [  OK  ]
[root@mpr21r08 ~]# date
Tue Jan 12 11:49:51 SAST 2010
[root@mpr21r08 ~]# hwclock
Tue 12 Jan 2010 07:49:55 AM SAST  -0.711595 seconds
[root@mpr21r08 ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 app03r03        LOCAL(0)         4 u   18   64    1    0.213    0.043   0.001
[root@mpr21r08 ~]#

# 2  
Old 01-13-2010
Maybe this helps:
Quote:
Every clock has a value that differs from 'real time'. A quartz based eletronic clock keeps imperfect time, but maintains a very consistent inaccuracy. This base 'inaccuracy' is known as 'time skew' or 'time drift'. Each time the clock is set with hwclock (e.g. during shutdown), hwclock calculates the difference between the new value and previous values and calculates a mean difference. This difference is recorded in the file /var/lib/hwclock/adjtime and in an hourly cron job. Arch Linux adjusts the hardware clock according to the recorded drift. If you are seeing large changes to your hardware clock, it is likely because a large drift is recorded in /var/lib/hwclock/adjtime. This can happen if you have set the hardware clock time incorrectly, or your time standard is not syncronized with a Windows or Mac OS install. To fix this remove /var/lib/hwclock/adjtime, set the correct hardware clock and system clock time, and check if your time standard is correct.
source:Time - ArchWiki
# 3  
Old 01-19-2010
Make sure you have the proper timezone selected as your local time.
It can be set using /usr/sbin/timeconfig
# 4  
Old 01-19-2010
Correct timezone would be also where I would look at.

Loïc.
# 5  
Old 01-28-2010
well... I ended up setting a NTP server on another Linux box and it works fine...
So Linux host sync'ing with a Linux NTP server works....
Don't know if Linux host not sync'ing with AIX NTP server is a bug or unsupported configuration... anyways, my needs are fulfilled Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Snmptrapd configuration on rhel 8

I need to configure snmptrap on rhel 8 server and send trap to nimsoft for file system , memory and cpu load and network diconnection status. please help me, if any one configured. (1 Reply)
Discussion started by: yash_message
1 Replies

2. Red Hat

How to configure DNS configuration for RHEL 5?

I wanted to know how to configure DNS configuration for RHEL 5. I hope, my query is clear of how to setup DNS for RHEL 5. Please revert with the reply to my query Regards (6 Replies)
Discussion started by: RHCE
6 Replies

3. Red Hat

Need Good Configuration For RHEL Virtualization Desktop

Hi All , I want a Good Specification For Building a Coustum PC must Have With Intel Motherboard and Intel Processor , And Must Have Virtualization , Cos im Gonna Install Redhat Enterprise Virtualization Based PC and Gonna install win Xp , Win 7 as a Guest Os in it .. Any one Have Good Spec for... (2 Replies)
Discussion started by: babinlonston
2 Replies

4. Red Hat

NTP Configuration file

Hi, Could you please explain about "restrict" parameters in /etc/ntp.conf in ntp client and ntp Servers. Example: restrict 127.0.0.1 restrict -6 ::1 restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

5. Red Hat

RIP configuration in RHEL 6.3

Hi, Can someone please help me configuring RIP (Routing Information Protocol v2 ). I have tried few manuals and posts from networking sites and i didnt get a clear picture. This is what i have done: 1. Installed routed package and started routed service. however, Dynamic routes are... (1 Reply)
Discussion started by: reddybs
1 Replies

6. Solaris

ntp client configuration error

hi all ntp client side configuration file is done but in # ntpq -p remote refid st t when poll reach delay offset disp ============================================================================== ntpserver .INIT. 16 u - 64 0 0.00 0.000... (5 Replies)
Discussion started by: nikhil kasar
5 Replies

7. Red Hat

RHEL 6.0 net configuration

hello, I have installed RHEL 6.0 on my lappy in a separate partion with windows 7 on the hardware(not using VMWARE).Now kindly help me to active network configuration in that?????Is it require to have LINUX wireless drivers???? (1 Reply)
Discussion started by: dillipkmrpadhy
1 Replies

8. UNIX for Dummies Questions & Answers

NTP configuration issue..

hello Guys, I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message; ntpq -p ntpq: read: Connection refused Here this is the ntp.conf file: cat /etc/ntp.conf # BEGIN NTP SERVERS server... (6 Replies)
Discussion started by: dyavuzy1
6 Replies

9. Solaris

ntp server configuration

hi Please give me the configuration steps for NTP server. How do i sync other servers with this NTP server thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies

10. UNIX for Dummies Questions & Answers

ntp configuration

Hi all, I'm sure this question was asked before but I couldn't find what I was looking for in the 2 threads I found on here. Here's my question/problem: I have an isolated (no connection to outside world at all) Unix network. I want to have time sync between my other non-PC based system... (0 Replies)
Discussion started by: mariobernier
0 Replies
Login or Register to Ask a Question