LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 07-18-2006, 06:45 AM   #1
charlest
LQ Newbie
 
Registered: Jul 2006
Location: Sydney, Australia
Distribution: Red Hat 7.2, 8 and 9
Posts: 10

Rep: Reputation: 0
NTP force update


In RedHat Linux 9, I have configured to synchronize the clock with a remote time server using the NTP (the server is "clock1.redhat.com".

What command could I issue such that, I could force the NTP to update the date and time?
 
Old 07-18-2006, 07:30 AM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 964

Rep: Reputation: 34
i never run ntpdate, i prefer to run ntp as a daemon (ntpd) and i just run it for a hour or two just to keep the clock accurate, not like i am doing any scientific experiments needing time set to perfection but i like accurate time, in /etc/ntp.conf i have the following:

server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org

you may want to go to ntp's website and find an australian server list that is similar.
 
Old 07-26-2006, 08:29 PM   #3
dinisco
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 1
you can add -x to the options in /etc/sysconfig/ntpd. that will call ntpdate when ntpd starts up for a one time sync.
 
1 members found this post helpful.
  


Reply

Tags
ntp


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
help with NTP stevenhasty Slackware 6 02-16-2005 12:04 PM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 03:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 03:22 PM
Cannot update NTP behind firewall erikm103 Linux - Software 1 12-12-2003 03:36 PM
Force update of dns cache? DrJones Linux - Networking 2 11-17-2003 05:55 AM


All times are GMT -5. The time now is 03:19 PM.

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