Translator

The next version of Ubuntu is coming soon

Saturday, February 18, 2012

Set Sync Clock n Date with NTP Server

sync with an ntp server using:

ntpdate <ip @ url>
rdate -s <ip @ url>

@@@@@ follow this step --->

1. Firstly, check whether the selected NTP server is accessible:

# ntpdate -q <ip address @ url>

For example:

ntpdate -q 0.rhel.pool.ntp.org

2. When you find a satisfactory server, run the ntpdate command followed by one or more server addresses:

ntpdate server_address

For instance:

# ntpdate 0.rhel.pool.ntp.org 1.rhel.pool.ntp.org

3. In most cases, these steps are sufficient. Only if you really need one or more system services to always use the correct time, enable running the ntpdate at boot time:

chkconfig ntpdate on

NOTE :
If the synchronization with the time server at boot time keeps failing, i.e., you find a relevant error message in the /var/log/boot.log system log, try to add the following line to /etc/sysconfig/network:

NETWORKWAIT=1

2 comments:

fuzore said...

abg x paham la abg tulis apa ni..?

fiezol said...

x pa.. hanya bg abg ja paham... sebab ni nota abg... hehehe

Post a Comment