12c (12.1.0.2.0) RAC Oracle Linux Server release 7.3
/u01/software/grid/runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
Starting Clock synchronization checks using Network Time Protocol(NTP)... Checking existence of NTP configuration file "/etc/ntp.conf" across nodes Node Name File exists? ------------------------------------ ------------------------ node02 yes node01 yes The NTP configuration file "/etc/ntp.conf" is available on all nodes NTP configuration file "/etc/ntp.conf" existence check passed Checking daemon liveness... Check: Liveness for "ntpd" Node Name Running? ------------------------------------ ------------------------ node02 no node01 yes PRVF-7590 : "ntpd" is not running on node "node02" PRVG-1017 : NTP configuration file is present on nodes "node02" on which NTP daemon or service was not running Result: Clock synchronization check using Network Time Protocol(NTP) failed
NTP was indeed running on both nodes.
The issue is /var/run/ntpd.pid does not exist on the failed node.
NTP was started with incorrect options.
GOOD:
# cat /etc/sysconfig/ntpd OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid" # systemctl status ntpd.service ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2017-02-03 20:37:18 CST; 3 days ago Main PID: 22517 (ntpd) CGroup: /system.slice/ntpd.service /usr/sbin/ntpd -u ntp:ntp -x -u ntp:ntp -p /var/run/ntpd.pid # ll /var/run/ntpd.* -rw-r--r-- 1 root root 5 Feb 3 20:37 /var/run/ntpd.pid
BAD:
# cat /etc/sysconfig/ntpd OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid" # systemctl status ntpd.service ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2017-02-03 18:10:23 CST; 3 days ago Main PID: 22403 (ntpd) CGroup: /system.slice/ntpd.service /usr/sbin/ntpd -u ntp:ntp -g # ll /var/run/ntpd.* ls: cannot access /var/run/ntpd.*: No such file or directory
SOLUTION:
Restart ntpd on failed node.
