Missing privilege separation directory: /var/run/sshd

취미생활/리눅스|2018.11.27 19:56

서버 리부팅을 하였는데 ssh가 붙지않고 에러가 났다.


root@lovejin90:/etc/apache2# systemctl status rsyslog.service
● rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since 화 2018-11-27 19:18:20 KST; 11s ago
     Docs: man:rsyslogd(8)
           http://www.rsyslog.com/doc/
  Process: 732 ExecStart=/usr/sbin/rsyslogd -n (code=exited, status=1/FAILURE)
 Main PID: 732 (code=exited, status=1/FAILURE)

11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Main process exited, code=exited, status=1/FAILUR
11월 27 19:18:20 lovejin90 systemd[1]: Failed to start System Logging Service.
11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Unit entered failed state.
11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Failed with result 'exit-code'.
11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Service hold-off time over, scheduling restart.
11월 27 19:18:20 lovejin90 systemd[1]: Stopped System Logging Service.
11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Start request repeated too quickly.
11월 27 19:18:20 lovejin90 systemd[1]: Failed to start System Logging Service.
11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Unit entered failed state.
11월 27 19:18:20 lovejin90 systemd[1]: rsyslog.service: Failed with result 'start-limit-hit'.
lines 1-18/18 (END)


원인은 찾고 해결했지만 왜 이렇게 됬는지 모르겠다. 

폴더 생성후 권한주고 다시 ssh를 시작시켜주면 정상적으로 된다.


mkdir /var/run/sshd
chmod 0755 /var/run/sshd


'취미생활 > 리눅스' 카테고리의 다른 글

Missing privilege separation directory: /var/run/sshd  (0) 2018.11.27
ubuntu 포트열기  (0) 2018.11.26
ubuntu tomcat8 설치하기  (0) 2018.11.26
plex 서브도메인 설정  (0) 2018.11.13
Mac root 패스워드설정  (0) 2018.11.13
plex 서버 업데이트받기  (0) 2018.11.11

태그 : ,

댓글(0)