1. 程式人生 > >oracle rac 安裝 PRVG-13606 ntp 同步報錯解決過程

oracle rac 安裝 PRVG-13606 ntp 同步報錯解決過程

red ice fig jit 是否 show counter clu stage

oracle ntp 檢查報錯

./runcluvfy.sh stage -pre crsinst -n oracle57,oracle58 -verbose

[10:06:58]Verifying Network Time Protocol (NTP) ...FAILED
[10:06:58]PRVG-1063 : configuration files for more than one time synchronization service
[10:06:58]were found on nodes of the cluster
[10:06:58]configuration file "/etc/chrony.conf" was found on nodes "oracle58,oracle57"

[10:06:58]configuration file "/etc/ntp.conf" was found on nodes "oracle58,oracle57"
[10:06:58]
[10:06:58] Verifying chrony daemon is synchronized with at least one external time
[10:06:58] source ...FAILED
[10:06:58] oracle58: PRVG-13606 : chrony daemon is not synchronized with any external
[10:06:58] time source on node "oracle58".
[10:06:58]
[10:06:58] oracle57: PRVG-13606 : chrony daemon is not synchronized with any external
[10:06:58] time source on node "oracle57".

提示沒有外部的時間源,檢查ntpq -p 是正常的,需要確認ntpstat是否顯示同步。

ntpstat 顯示未同步,ntpq -p 或ntpq -c peers 顯示同步到達

[root@oracle58 ~]# ntpstat
unsynchronised
polling server every 64 s

[root@oracle58 tmp]# ntpq -p
remote refid st t when poll reach delay offset jitter

*192.168.1.25 85.199.214.100 2 u 5 64 377 0.406 20.282 8.062

[root@oracle58 tmp]# ntpq -c peers
remote refid st t when poll reach delay offset jitter

*192.168.1.25 85.199.214.100 2 u 32 64 377 0.406 20.282 8.062
[root@oracle58 tmp]#

需要檢查防火墻,seliunx等配置是否已經關閉。

我的環境是在關閉selinux後,稍等了一會ntpstat顯示同步

[root@oracle58 tmp]# ntpstat
synchronised to NTP server (192.168.1.25) at stratum 3
time correct to within 195 ms
polling server every 64 s
[root@oracle58 tmp]#

./runcluvfy.sh stage -pre crsinst -n oracle57,oracle58 -verbose

Failures were encountered during execution of CVU verification request "stage -pre crsinst".

Verifying Network Time Protocol (NTP) ...FAILED
PRVG-1063 : configuration files for more than one time synchronization service
were found on nodes of the cluster
configuration file "/etc/chrony.conf" was found on nodes "oracle58,oracle57"
configuration file "/etc/ntp.conf" was found on nodes "oracle58,oracle57"

提示NTP配置了多次,將/etc/ntp.conf刪除,再檢查即可。

再檢查環境,會顯示都成功

Pre-check for cluster services setup was successful.

CVU operation performed: stage -pre crsinst
Date: Jul 16, 2018 11:29:19 AM
CVU home: /tmp/oracle/grid/
User: grid

參考鏈接
https://www.linuxquestions.org/questions/linux-server-73/ntp-client-error-ntpstat-shows-unsynchronised-749641/

oracle rac 安裝 PRVG-13606 ntp 同步報錯解決過程