安装Oracle 11g RAC过程中,修改内核参数后,执行sysctl -p出现以下错误:
[root@r1 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
原因:查阅网上相关资料,大概是说报错的3个参数依赖于bridge模块,该模块如果没有加载则会现上面的输出错误。
解决方案:
1.可忽略此错误,不影响Oracle RAC的安装使用。
2 加载相关模块
[root@r1 ~]# modprobe bridge
[root@r1 ~]# lsmod | grep bridge
bridge 83177 0
stp 2218 2 bridge,garp
llc 5546 3 bridge,garp,stp
再执行sysctl -p,则不会报错。
[root@r2 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
原文链接:https://www.f2er.com/oracle/208556.html