Centos 服务器 无法启动 Failed to start Login Service Failed to start Install ABRT coredump hook

报错信息:

Failed to start Install ABRT coredump hook
Failed to start Login Service

在这里插入图片描述

解决方案:

  • 使用U盘系统,进入系统文件,找到服务器的硬盘
  • 新建一个文件夹new(如果没有权限,使用sudo mkdir new),
  • 将文件挂载到new上mount /dev/mapper/centos-root new,进入new
  • 修改config文件vi etc/selinux/config,将SELINUX = enforcing 改为 SELINUX =disable,保存文件
  • 重启即可
[root@ny01 ~]# vi /etc/selinux/config 

# 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=disable
# SELINUXTYPE= can take one of three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

发布了245 篇原创文章 · 获赞 89 · 访问量 22万+

猜你喜欢

转载自blog.csdn.net/yijiaobani/article/details/100577486