無法遠端登入(SSH、Web介面),控制台登入後立即登出

無法遠端登入(SSH、Web介面),控制台登入後立即登出

自從一段時間以來,我遇到了這個問題(不定期),我無法再登入我的伺服器。 SSH 連線或 Web 介面登入無法登入。在控制台上登入可以正常工作,但登入後我立即再次登出。

伺服器執行 Ubuntu Server 16.04.2 (LTS) 以及所有最新更新。

當我嘗試透過 SSH 登入時,出現以下錯誤:

$ ssh wouter@Hyperion
wouter@Hyperion's password:
shell request failed on channel 0

在我強制重新啟動伺服器後,一切都會恢復一段時間。

我在 /var/log/syslog 中發現了以下內容,它與我失敗的登入嘗試之一相對應:

May 25 12:43:16 Hyperion systemd[1]: Created slice User Slice of wouter.
May 25 12:43:16 Hyperion systemd[1]: Started Session 202 of user wouter.
May 25 12:43:16 Hyperion systemd[1]: Starting User Manager for UID 1000...
May 25 12:43:16 Hyperion systemd[11198]: [email protected]: Failed at step EXEC spawning /lib/systemd/systemd: Resource temporarily unavailable
May 25 12:43:16 Hyperion systemd[1]: Started User Manager for UID 1000.
May 25 12:43:16 Hyperion console-kit-daemon[8174]: (process:11208): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
May 25 12:43:16 Hyperion console-kit-daemon[8174]: missing action
May 25 12:43:18 Hyperion console-kit-daemon[8174]: (process:11344): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
May 25 12:43:18 Hyperion console-kit-daemon[8174]: missing action
May 25 12:43:18 Hyperion console-kit-daemon[8174]: console-kit-daemon[8174]: GLib-CRITICAL: Source ID 87 was not found when attempting to remove it
May 25 12:43:18 Hyperion console-kit-daemon[8174]: GLib-CRITICAL: Source ID 87 was not found when attempting to remove it
May 25 12:43:18 Hyperion systemd[1]: Stopped User Manager for UID 1000.
May 25 12:43:18 Hyperion systemd[1]: Removed slice User Slice of wouter.

任何幫助將不勝感激。

相關內容