Enable NTP service under AIX

Source: Internet
Author: User

1. Configure the/etc/ntp.conf file to add NTP server address information (server 192.168.1.20)
Broadcastclient
Driftfile/etc/ntp.drift
Tracefile/etc/ntp.trace
Server 192.168.1.20

2. Start the XNTPD process

Method 1:# Startsrc-s xntpd0513-059 The XNTPD Subsystem has been started. Subsystem PID is 327788. Method 2:# Smit xntpd Select "Start Using the XNTPD Subsystem"--"BOTH"


3. Check XNTPD Service Status

# Lssrc-ls XNTPD

Program Name:/USR/SBIN/XNTPD
Version:3
Leap indicator:11 (Leap indicator is insane.)
Sys Peer:no Peer, System is insane
Sys stratum:16
Sys Precision:-18
Debug/tracing:disabled
Root distance:0.000000
Root dispersion:0.000000
Reference Id:no refID, System is insane
Reference Time:no Reftime, System is insane
Broadcast delay:0.003906 (SEC)
Auth delay:0.000122 (sec)
System flags:bclient PLL Monitor Filegen
System uptime:80 (sec)
Clock stability:0.000000 (sec)
Clock frequency:0.000000 (sec)
peer:192.168.1.20
Flags: (configured)
Stratum:3, Version:3
Our mode:client, his mode:server
Subsystem Group PID Status
XNTPD TCPIP 172176 Active


4. Use Ntpdate to synchronize with NTP server manually

# ntpdate-d 192.168.1.20

Nov 10:37:59 ntpdate[131094]: 3.4y
Transmit (192.168.1.20)
Receive (192.168.1.20)
Transmit (192.168.1.20)
Receive (192.168.1.20)
Transmit (192.168.1.20)
Receive (192.168.1.20)
Transmit (192.168.1.20)
Receive (192.168.1.20)
Transmit (192.168.1.20)
Server 192.168.1.20, Port 123
Stratum 3, precision-6, Leap xx, trust 000
refID [64.4.10.33], delay 0.04146, dispersion 0.00026
Transmitted 4, in filter 4
Reference time:d813d221.52a70817 Sun, Nov 16 2014 19:47:13.322
Originate timestamp:d813ec37.25da3b4a Sun, Nov 16 2014 21:38:31.147
Transmit timestamp:d814a2e7.2a0bd000 Mon, Nov 17 2014 10:37:59.164
Filter delay:0.04167 0.04150 0.04146 0.04146
0.00000 0.00000 0.00000 0.00000
Filter Offset: -46768.0-46768.0-46768.0-46768.0
0.000000 0.000000 0.000000 0.000000
Delay 0.04146, dispersion 0.00026
offset-46768.016225

10:37:59 ntpdate[131094]: Step time server 192.168.1.20 offset-46768.016225

Enable NTP service under AIX

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.