Skip to content

How to configure ntp client on AIX 5.3

I have found it on the IBM website:

PS: After configured it takes some time ( around 3-5 minutes ) to synchronize the time, so don’t worry it will work.

On client

1. Verify that you have a server suitable for synchronization. Enter:

# ntpdate -d ip.address.of.server

The offset must be less than 1000 seconds for xntpd to synch. If the offset is greater than 1000 seconds, change the time manually on the client and run the ntpdate -d again.

If you get the message, “no server suitable for synchronization found”, verify xntpd is running on the server (see above) and that no firewalls are blocking port 123.
2. Specify your xntp server in /etc/ntp.conf, enter:

# vi /etc/ntp.conf

(Comment out the “broadcastclient” line and add server ip.address.of.server prefer.)

Leave the driftfile and tracefile at their defaults.
3. Start the xntpd daemon:

# startsrc -s xntpd

(Use the -x flag if it is appropriate for your environment.)

4. Uncomment xntpd from /etc/rc.tcpip so it will start on a reboot.

# vi /etc/rc.tcpip

Uncomment the following line:

start /usr/sbin/xntpd “$src_running”

If using the -x flag, add “-x” to the end of the line. You must include the quotes around the -x.

5. Verify that the client is synched.

# lssrc -ls xntpd

NOTE: Sys peer should display the IP address or name of your xntp server. This process may take up to 12 minutes.

Posted in Knowledge Base.

Tagged with , .

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Miguel Angel Sandria says

    Thank you so much for this one!

Some HTML is OK

or, reply to this post via trackback.