系统公告
  
欢迎你光临本站!
本站内容持续添加,多种精品源码程序!高清媒体娱乐影音应有尽有~
推荐:如需要CN2高防服务器,点击这里 自助开通!!

朕已阅

 
收藏文章 楼主
CentOS 7.x 无法执行service iptables save命令的解决办法
版块:技术教程   类型:普通   作者:疯子   查看:866   回复:0   获赞:0   时间:2022-08-27 15:54:56

service iptables save
发现出错,无法执行,提示

The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl. 

无法执行的原因是/etc/sysconfig/iptables 这个文件还没有生成呢。

iptables需要升级!

解决方法:

1,systemctl stop firewalld
2,yum install iptables-services
3,systemctl enable iptables
4,systemctl start iptables

之后就可以执行
service iptables save
命令了

 
回复列表
默认   热门   正序   倒序

回复:CentOS 7.x 无法执行service iptables save命令的解决办法

拖动滑块验证
»

Powered by rrcnzz.com

©2019 - 2024 人人站长网

本站内容来自网络仅供娱乐查阅,如侵犯版权请联系我们移除

您的IP:3.91.19.28,2024-03-28 20:38:37,Processed in 0.02128 second(s).

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息
免责声明
1、本站资源均来自网络,版权归原作者,资源和文章仅限用于学习和研究目的 。
2、不得用于商业或非法用途,否则,一切责任由使用者承担 后果!

侵权删除请致信 E-Mail:baidusw@qq.com
(0) 分享
分享

请保存二维码或复制链接进行分享

取消
已有0次打赏