Skip to content
Home » AIX » How to Enable Slewing Option of NTP Service in AIX

How to Enable Slewing Option of NTP Service in AIX

To enable slew mode on NTP service of AIX, you should enable both boot-time slewing mode and run-time slewing mode.

Enable at Boot-Time

We configure xntpd service in /etc/rc.tcpip with "-x" option so as to enable slew mode on a reboot.

[root@primary01 /]# vi /etc/rc.tcpip
...
# Start up Network Time Protocol (NTP) daemon
start /usr/sbin/xntpd "$src_running" "-x"

Make sure you add "-x" to enable slewing option.

[root@primary01 /]# grep xntpd /etc/rc.tcpip
start /usr/sbin/xntpd "$src_running" "-x"

By doing this, we can prevent PRVG-1036 and pass the pre-installation check of Oracle software 19c installation.

Enable at Run-Time

Configure NTP service.

[root@primary01 /]# vi /etc/ntp.conf

#broadcastclient
slewalways yes
server 10.1.2.100 prefer
...

Change service attribute.

[root@primary01 /]# chssys -s xntpd -a "-x"
0513-077 Subsystem has been changed.

Restart NTP daemon.

[root@primary01 /]# stopsrc -s xntpd
0513-044 The /usr/sbin/xntpd Subsystem was requested to stop.
[root@primary01 /]# startsrc -s xntpd
0513-059 The xntpd Subsystem has been started. Subsystem PID is 55705898.

Check service process.

[root@primary01 /]# ps -ef | grep xntpd | grep -v grep
    root 55705898  6357482   0 18:59:31      -  0:00 /usr/sbin/xntpd -x

By doing this, we can prevent PRVG-1032 and pass the pre-installation check of Oracle software 19c installation.

Done!

Leave a Reply

Your email address will not be published. Required fields are marked *