服务器开机后,系统默认的系统服务ssh 网卡都不会开机自启
使用systemctl start sshd命令时,会报如下错误,报错后,服务器会自动重启
error getting authority:error initializing authority:could not connect:no such file or dirextory(g-io-error-wuark,1)
查看系统日志,如下报错
#journalctl -xb
Dependency failed for Migrate local SELinux policy changes from the old store structure to the new structure.
可能是挂载系统文件不存在导致的
#mount -a 检查系统挂载是否正常,如下报错
mount special device xxx does not exist
#cat /etc/fstab 检查开机挂载是否有多余的挂载配置,将挂载配置删掉即可