故障现象1: 

sudo: /usr/bin/sudo 必须属于用户 ID 0(的用户)并且设置 setuid 位

解决方法:

chmod 4755 /usr/bin/sudo 
chmod 4755 /usr/libexec/sudo/sudoers.so
chown root:root /usr/libexec/sudo/sudoers.so

故障现象2:

系统重启后,输入用户名登录,提示超时,没有登陆密码提示
查询/var/log/message如下

Centos7 故障记录_linux

是selinux导致的权限故障

setenforce 0
sed -i s'SELINUX.*=.*enforcing/SELINUX=disabled'/g /etc/selinux/config

故障现象3:

配置了静态ip,重启网络服务几秒之后,网络无法连接,ip失效
检查日志如下

Centos7 故障记录_重启_02

ps aux |egrep -i net
发下启动了 NetworkManager.service
解决办法
# 停止服务
systemctl stop NetworkManager.service

# 禁止启动
systemctl disable NetworkManager.service

# 重启网络
systemctl restart network

故障现象4:

systemd: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.

systemd: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.

chmod 0644 -R /usr/lib/systemd/system

某行机器,折腾我大半天,记录一下,希望帮到一些人