
ssh服务无法启动 报错:job for sshd.service failed
·
ssh启动时报错:job for sshd.service failed because the control process exited with error code. See systemctl status sshd.service and “journalctl -xe” for details
1、linux启动linux报错
[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、排查报错原因
[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
更多推荐
相关推荐
查看更多
鸿蒙开发工具大赶集

本仓将收集和展示鸿蒙开发工具,欢迎大家踊跃投稿。通过pr附上您的工具介绍和使用指南,并加上工具对应的链接,通过的工具将会成功上架到我们社区。
OpenManus

No fortress, purely open ground. OpenManus is Coming.
G-Star公益行

G-Star 公益行 是 GitCode G-Star 计划旗下专为公益机构打造的技术赋能计划,依托 GitCode 开源平台、生态流量、云计算与 AI 支持,旨在连接开源技术与公益组织,通过技术赋能帮助公益组织实现数字化转型,以提升运营效率、优化资源配置、拓展公益影响力。
目录
所有评论(0)