ITPub博客

首页 > 数据库 > Oracle > oracle之 安装 11G RAC 报 NTP failed

oracle之 安装 11G RAC 报 NTP failed

原创 Oracle 作者:张冲andy 时间:2017-09-27 19:41:35 0 删除 编辑

 问题描述: 使用 NTP 同步集群节点时间,安装 11G RAC 报 NTP 过不去。

解决过程:
-- 查看 /etc/sysconfig/ntpd 文件配置
root@hbdw1:/root$cat /etc/sysconfig/ntpd
# Drop root to id 'ntp:ntp' by default.
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g"

-- 所有节点,文件 /etc/sysconfig/ntpd 添加 -x
root@hbdw1:/root$cat /etc/sysconfig/ntpd
# Drop root to id 'ntp:ntp' by default.
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g -x"

-- 添加 -x 之后, check again 。 (node1 过了, node 2没过)

-- 将节点1的 /etc/ntp.conf文件 scp 到节点2 , 注意权限

root@hbdw1:/root$ll /etc/ntp.conf
-rw-r--r-- 1 root root 1676 Sep 24 08:28 /etc/ntp.conf

root@hbdw1:/root$scp /etc/ntp.conf root@136.142.55.2:/etc/

-- 最后 重启 ntp 服务
root@hbdw1:/root$service ntpd stop
root@hbdw1:/root$service ntpd start

-- 再次 check again , 通过。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31383567/viewspace-2145537/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: linux之 LVM扩容
请登录后发表评论 登录
全部评论
支持就关注我个人公众号:DBA烂笔头 。专注数据库领域,熟悉oracle、mysql、redis、mongodb,clickhouse等相关技术

注册时间:2016-08-11

  • 博文量
    626
  • 访问量
    286369