본문 바로가기
카테고리 없음

[linux] ssh 연결 오류, System is booting up. See pam_nologin(8)

by 앗싸붕 2021. 2. 1.
728x90
반응형

 

리눅스 장비를 재부팅한 후에 sshd 연결 시도 시 하기와 같은 오류가 발생합니다.

System is booting up. See pam_nologin(8)

 

 

리눅스 장비 상태

 - ping 도 정상.

 - sshd 데몬도 정상.

 

 

해결 방안

해당 문제는 특정 리눅스 배포판의 버그로 리부팅 시에 임시로 만들어진 /run/nologin 파일이 제대로 삭제되지 않을 경우 나오는 문제.

/run/nologin 파일 삭제 후 정상적으로 ssh 연결 확인 됨.

ls -l /run/nologin
mv /run/nologin /tmp # 파일을 다른 곳으로 옮겨놓거나 삭제하면 정상 동작 함.
rm -rf /run/nologin

 

정상 동작 확인

 

 

reference

bugzilla.opensuse.org/show_bug.cgi?id=980324

 

Bug 980324 – System is booting up. See pam_nologin(8)

First Last Prev Next    This bug is not in your last search results. First Last Prev Next    This bug is not in your last search results.

bugzilla.opensuse.org

github.com/systemd/systemd/issues/3436

 

Services may not be terminated in initrd breaking dependencies in real root · Issue #3436 · systemd/systemd

Submission type Bug report Request for enhancement (RFE) NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker! systemd version the issue has been seen with Patches 210 ...

github.com

 

728x90
반응형

댓글