Ubuntu 20.04 在一段时间后失去连接

Ubuntu 20.04 在一段时间后失去连接

我希望在这里能找到任何帮助。

我有一台运行全新 Ubuntu 20.04 LTS 64 位的服务器。一切运行正常。我只在那里安装了 docker,并在其中运行了另一个像 40Go 一样重的 ubuntu 容器。

我可以运行这个 ubuntu 容器及其里面的所有内容。

但是突然间,当我使用 ssh 时,我被踢出了服务器,从那时起,什么都不起作用了。我既无法在浏览器上访问端口 80,也无法重新使用 ssh 连接。

我总是需要硬重启服务器。

我查看了日志,看到了以下内容:

Aug 31 10:51:17 myserverXXX systemd[1]: Finished Create System Users.
Aug 31 10:51:17 myserverXXX systemd[1]: Starting Create Static Device Nodes in /dev...
Aug 31 10:51:17 myserverXXX systemd[1]: Started Journal Service.
Aug 31 10:51:17 myserverXXX systemd-journald[27]: Received client request to flush runtime journal.
Aug 31 10:51:17 myserverXXX systemd-logind[918]: Watching system buttons on /dev/input/event2 (Power Button)
Aug 31 10:51:17 myserverXXX systemd-logind[918]: Watching system buttons on /dev/input/event0 (Sleep Button)
Aug 31 10:51:17 myserverXXX systemd-logind[918]: Watching system buttons on /dev/input/event1 (Power Button)
Aug 31 10:51:18 myserverXXX systemd-logind[918]: Watching system buttons on /dev/input/event3 (HID 0557:2419)
Aug 31 10:51:18 myserverXXX systemd-networkd[586]: vethf4b126a: Gained IPv6LL
Aug 31 10:51:18 myserverXXX systemd-journald[27]: File /var/log/journal/4e719740d1fa86abf29ff1e361223c8a/system.journal corrupted or uncleanly shut down, renaming and replacing.
Aug 31 10:51:18 myserverXXX audit[162669]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="nvidia_modprobe" pid=162669 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX audit[162669]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="nvidia_modprobe//kmod" pid=162669 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX audit[162668]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="lsb_release" pid=162668 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX audit[162670]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/bin/man" pid=162670 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX audit[162670]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="man_filter" pid=162670 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX audit[162670]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="man_groff" pid=162670 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX kernel: audit: type=1400 audit(1630403478.827:59): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="nvidia_modprobe" pid=162669 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX kernel: audit: type=1400 audit(1630403478.827:60): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="nvidia_modprobe//kmod" pid=162669 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX kernel: audit: type=1400 audit(1630403478.827:61): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="lsb_release" pid=162668 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX kernel: audit: type=1400 audit(1630403478.827:62): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/bin/man" pid=162670 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX kernel: audit: type=1400 audit(1630403478.827:63): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="man_filter" pid=162670 comm="apparmor_parser"
Aug 31 10:51:18 myserverXXX kernel: audit: type=1400 audit(1630403478.827:64): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="man_groff" pid=162670 comm="apparmor_parser"
Aug 31 10:51:19 myserverXXX kernel: proc: Bad value for 'hidepid'
Aug 31 10:51:19 myserverXXX kernel: proc: Bad value for 'hidepid'
Aug 31 10:51:19 myserverXXX kernel: proc: Bad value for 'hidepid'
Aug 31 10:51:19 myserverXXX kernel: proc: Bad value for 'hidepid'
Aug 31 10:51:22 myserverXXX kernel: proc: Bad value for 'hidepid'
Aug 31 10:51:23 myserverXXX kernel: rfkill: input handler disabled
Aug 31 11:11:23 myserverXXX kernel: PM: suspend entry (s2idle)

其中 myserverXXX 代表我的服务器域。

请问有人能帮帮我吗?我已经为这个问题苦苦挣扎了将近一周了。

Aug 31 17:32:07 775fcd1e77c8 ModemManager[137]: <info>  [sleep-monitor] system is about to suspend
Aug 31 17:32:07 775fcd1e77c8 NetworkManager[103]: <info>  [1630423927.0678] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Aug 31 17:32:07 775fcd1e77c8 NetworkManager[103]: <info>  [1630423927.0679] manager: NetworkManager state is now ASLEEP
Aug 31 17:32:07 775fcd1e77c8 gnome-shell[558]: Screen lock is locked down, not locking
Aug 31 17:32:07 775fcd1e77c8 systemd[1]: Reached target Sleep.
Aug 31 17:32:07 775fcd1e77c8 systemd[1]: Starting Suspend...
Aug 31 17:32:07 775fcd1e77c8 systemd-sleep[7303]: Suspending system...
Aug 31 17:32:07 775fcd1e77c8 kernel: PM: suspend entry (s2idle)

提前致谢。

相关内容