码迷,mamicode.com
首页 > 其他好文 > 详细

/ etc / init.d / iptables: line 268: restorecon: command not found

时间:2014-08-27 23:21:58      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:strong   ar   art   line   on   c   res   table   rom   

When I tried to restart iptables from vps , I got the following error.

Iptables encountered such a problem to save the iptables rules:

“iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found iptables: Saving firewall rules to / etc/sysconfig/iptables: / etc / init.d / iptables: line 268: restorecon: command not found”

Fix :

yum install policycoreutils

/ etc / init.d / iptables: line 268: restorecon: command not found

标签:strong   ar   art   line   on   c   res   table   rom   

原文地址:http://www.cnblogs.com/hanxianlong/p/3940500.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!