redhat中sysctl -p报错处理

Posted aoerqilengbai

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了redhat中sysctl -p报错处理相关的知识,希望对你有一定的参考价值。

在用sysctl -p 的时候遇到了下面的错误提示:
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

使用modprobe bridge加载bridge模块后该错误不在出现
lsmod |grep bridge 显示加载的模块
modprobe可载入指定的个别模块,或是载入一组相依的模块。modprobe会根据depmod所产生的相依关系,决定要载入哪些模块。若在载入过程中发生错误,在modprobe会卸载整组的模块。

lsmod 命令:是一个小程序,用来显示文件、proc/modules的信息,也就是显示当前内核模块装载的模块

以上是关于redhat中sysctl -p报错处理的主要内容,如果未能解决你的问题,请参考以下文章

redhat enterprise edition 6.8:禁止ipv6后,nfs文件系统无法挂载:no such device

Redhat5_linux 系统环境下 oracl11g的安装教程图解

无法在 Dockerfile 中运行 sysctl 命令

sysctl介绍

配置sysctl.conf文件修改内核参数

设置Sysctl.conf用以提高Linux的性能(最完整的sysctl.conf优化方案)