安装宝塔面板提示:ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp [FAILED]解决办法

安装宝塔面板提示:ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp [FAILED]解决办法,使用CentOS 6安装宝塔面板的过程中出现错误提示如下:

iptables: Invalid argument. Run `dmesg' for more information.
iptables: Saving firewall rules to /etc/sysconfig/iptables:                                  [  OK  ]
iptables: Setting chains to policy ACCEPT: security raw nat[  OK  ]filter
iptables: Flushing firewall rules:                                                                          [  OK  ]
iptables: Unloading modules:                                                                             [  OK  ]
iptables: Applying firewall rules:                                                                         [  OK   ]
iptables: Loading additional modules: ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp                                                                                                                          [FAILED]

问题出在

/etc/sysconfig/iptables-config

打开它:

vi /etc/sysconfig/iptables-config

注释掉:

IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp":
# Load additional iptables modules (nat helpers)
#   Default: -none-
# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
# are loaded after the firewall rules are applied. Options for the helpers are
# stored in /etc/modprobe.conf.
#IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp" //就是这一行,注释掉
# Unload modules on restart and stop
#   Value: yes|no,  default: yes
# This option has to be 'yes' to get to a sane state for a firewall
# restart or stop. Only set to 'no' if there are problems unloading netfilter
# modules.
IPTABLES_MODULES_UNLOAD="yes"
# Save current firewall rules on stop.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
# (e.g. on system shutdown).
IPTABLES_SAVE_ON_STOP="no"
[root@Labs ~]# service iptables restart
iptables: Setting chains to policy ACCEPT: security raw nat[ OK ]filter
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]

直接使用使用CentOS 7.x系统安装宝塔,就不会出现上述问题。

用支付宝打赏用支付宝打赏 用微信打赏用微信打赏

如果文章对你有帮助,欢迎点击上方按钮打赏作者


最后编辑于:2018/9/25作者: 游子

热爱一切美好的新事物,搞网站也被网站搞,剁手折腾。关注与学习Web相关技术与UI\UE\UED\UCD\Server相关知识,服务器运维、前端、后端、非专业程序猿、非高级前端后端攻城师!

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注

arrow grin ! ? cool roll eek evil razz mrgreen smile oops lol mad twisted wink idea cry shock neutral sad ???