- 论坛徽章:
- 5
|
开启了 SELinux , 想让 SSH 允许以 7319 端口登陆:- [root@WEB01 ~]# semanage port -a -t ssh_port_t -p tcp 7319
- libsemanage.semanage_exec_prog: Child process /sbin/load_policy did not exit cleanly.
- libsemanage.semanage_reload_policy: load_policy returned error code -1.
- libsemanage.semanage_exec_prog: Child process /sbin/load_policy did not exit cleanly.
- libsemanage.semanage_reload_policy: load_policy returned error code -1.
- /usr/sbin/semanage: Could not commit semanage transaction
复制代码 第一次出现这种情况的时候,- yum -y reinstall policycoreutils policycoreutils-python setroubleshoot setroubleshoot-server setools-console selinux-policy selinux-policy-targeted
复制代码 结果还是不行, 然后重装了系统, 结果还是报同样的错误.
系统 CentOS 6.3 x86_64
有没有人遇到过这种情况?
百度 和 Google 都没找到解决方法. |
|