/ etc / init.d / iptables: line 268: restorecon: command not found
2014-08-27 22:39
246 查看
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
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/mysqld:line 260:my_print_defaults:command not found
- [Mysql启动报错]/etc/init.d/mysqld: line 256: my_print_defaults: command not found
- Ubuntu 16.04下操作iptables的技巧(解决Failed to start iptables.service: Unit iptables.service not found.或者/etc/init.d/iptables: 没有那个文件或目录)
- 阿里云 esc 云服务器无缘无故的一次/usr/bin 目录丢失导致整个服务无法启动 # ./shutdown.sh ./shutdown.sh: line 41: dirname:command not found cannot find /catalina.sh the find /catalina.sh The file is absent or does not have execute
- line 1: Dump: command not found
- vmware安装minimal centos报错/etc/rc5.d/s99local : line:25 : eject : command not found
- ubuntu 中制作init ramdisk 时候的mkinitrd的问题"mkinitrd command not found"
- debian编译内核时err: line 65 dpkg-gencontrol command not found
- libtool: line 8986: gcc: command not found
- automation - Jenkins pipline 执行 nodejs 命令时,提示 node: command not found
- 9fe2 Jenkins中shell-script执行报错sh: line 2: npm: command not found
- ./autogen.sh: line 44: libtoolize: command not found
- Cronjob 定时执行 pentaho job(解决spoon.sh command line not found 问题)
- debian编译内核时err: line 65 dpkg-gencontrol command not found
- ./zkcli.sh: line 13: unzip: command not found
- [ 6.299069] [drm] nouveau 0000:01:00.0: 0x94F6: Init table command not found: 0xA9
- source /etc/profile报错-bash: id:command is not found
- Linux改动/etc/profile配置错误command is not found自救方法
- vmware-install.pl command not found
- 设置Sublime Text 3时提示command not found