NTP slewalways error

In Solaris 11.2, when added the “slewalways” option to ntp.conf as required by Oracle DB. You will find below in the /var/adm/messages
Dec  4 14:29:39 amldbsr1 ntpd[616]: [ID 702911 daemon.error] syntax error in /etc/inet/ntp.conf line 107, column 1

In Solaris 11.2, you actually do not need to set in the ntp.conf file, instead you should set as below

To show current value:
# svccfg -s svc:/network/ntp:default listprop config/slew_always
config/slew_always boolean     false

To set new value:
# svccfg -s svc:/network/ntp:default setprop config/slew_always = true

Restart to take effect:

# svcadm refresh svc:/network/ntp:default
# svccfg -s svc:/network/ntp:default listprop config/slew_alway
config/slew_always boolean     true

No comments: