1、linux啟動(dòng)linux報(bào)錯(cuò)
[root@centos~]# systemclt start sshd
job for sshd.service failed because the control process exited with error code. See systemctl status sshd.service and “journalctl -xe” for details
2、排查報(bào)錯(cuò)原因
[root@centos~]#sshd -t
Missing privilege separation directory: /var/empty/sshd/
3、解決方法
[root@centos~]# mkdir /var/empty/sshd/etc
[root@centos~]# cd /var/empty/sshd/etc
[root@centos~]# ln -s /etc/localtime localtime
文章來源地址http://www.zghlxwxcb.cn/news/detail-594501.html
文章來源:http://www.zghlxwxcb.cn/news/detail-594501.html
到了這里,關(guān)于ssh服務(wù)無法啟動(dòng) 報(bào)錯(cuò):job for sshd.service failed的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!