Debian/shutdownやrebootするとssh接続の端末がハングする
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(../)
* shutdownやrebootするとssh接続のターミナルが固まる場合の...
Debianを最小構成+openssh-serverをインストールし発生した事...
外部のPCからssh接続し、Debianサーバをshutdownまたはreboot...
接続していたsshクライアントの端末には何も表示されず、ハン...
本資料は、この事象を解決する方法を記しています。
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)
#contents
* 参考記事 [#z4e81e3a]
- serverfault~
[[SSH sessions hang on shutdown/reboot>http://serverfault...
- StackExchange~
[[After sending shutdown command, ssh session doesn't ter...
* 使用したDebian [#ba1910e4]
sakura@debian:~$ lsb_release -dr
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
* 事象 [#z6e7f098]
以下のスクリーンショットの通り、shutdownしたのに、接続切...
#ref(01.png)
* 解決方法 [#lb4e14ce]
以下の手順で解決することができます。
+ターミナルを起動します。
+rootユーザにsuします。
+以下のコマンドでパッケージをインストールします。
apt-get install libpam-systemd dbus
+再起動します。
上記の操作により、再度、外部PCからssh接続中にサーバをshut...
本事象が解決しているはずです。
* 対策後 [#p209ce6d]
以下のスクリーンショットの通り、接続断のメッセージが表示...
#ref(02.png)
以上、shutdownやrebootするとssh接続のターミナルが固まる場...
#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)
終了行:
#navi(../)
* shutdownやrebootするとssh接続のターミナルが固まる場合の...
Debianを最小構成+openssh-serverをインストールし発生した事...
外部のPCからssh接続し、Debianサーバをshutdownまたはreboot...
接続していたsshクライアントの端末には何も表示されず、ハン...
本資料は、この事象を解決する方法を記しています。
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)
#contents
* 参考記事 [#z4e81e3a]
- serverfault~
[[SSH sessions hang on shutdown/reboot>http://serverfault...
- StackExchange~
[[After sending shutdown command, ssh session doesn't ter...
* 使用したDebian [#ba1910e4]
sakura@debian:~$ lsb_release -dr
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
* 事象 [#z6e7f098]
以下のスクリーンショットの通り、shutdownしたのに、接続切...
#ref(01.png)
* 解決方法 [#lb4e14ce]
以下の手順で解決することができます。
+ターミナルを起動します。
+rootユーザにsuします。
+以下のコマンドでパッケージをインストールします。
apt-get install libpam-systemd dbus
+再起動します。
上記の操作により、再度、外部PCからssh接続中にサーバをshut...
本事象が解決しているはずです。
* 対策後 [#p209ce6d]
以下のスクリーンショットの通り、接続断のメッセージが表示...
#ref(02.png)
以上、shutdownやrebootするとssh接続のターミナルが固まる場...
#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)
ページ名: