首页 > 其他 > 详细

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

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!