centos出现这个错误:Job for sshd.service failed because the control process exited with error code.
2018-03-30 21:11
1521 查看
这是因为SElinux启用了,关闭就好了。在/etc/selinux/config文件中如下修改,设置SELINUX=disabled:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
相关文章推荐
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- Job for vsftpd.service failed because the control process exited with error code. See "systemctl sta
- OpenStack常见错误:无法开启http服务 Job for httpd.service failed because the control process exited with error
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
- Job for tomcat.service failed because the control process exited with error code 解决办法:
- Job for vsftpd.service failed because the control process exited with error code
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- Dockers Job for docker.service failed because the control process exited with error code
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited error code
- gitlab搭建提示inet_interfacesJob for postfix.service failed because the control process exited with erro
- mysql.service failed because the control process exited with error code问题
- salt出错Job for salt-master.service failed because the control process exited with error code.
- Job for php-fpm.service failed because the control process exited with error code. See "systemctl st