Ubuntu 服务器失去网络连接

Ubuntu 服务器失去网络连接

我的问题很简单,但实际上很复杂。我最近在一台旧的精简版笔记本电脑上安装了 Ubuntu 服务器。它是一台 SAHARA LE1D,我认为是 1.4 Intel Celeron m。它很旧,但仍然很好。

eth0 连接是:(来自lshw -class network

-network
   description: Ethernet interface
   product: SiS900 PCI Fast Ethernet
   vendor: Silicon Integrated Systems [SiS]
   physical id: 4
   bus info: pci@0000:00:04.0
   logical name: eth0
   version: 91
   serial: 00:16:36:30:53:ae
   size: 100Mbit/s
   capacity: 100Mbit/s
   width: 32 bits
   clock: 33MHz
   capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=sis900 driverversion=v1.08.10 Apr. 2 2006 duplex=full ip=10.0.0.14 latency=173 link=yes maxlatency=11 mingnt=52 multicast=yes port=MII speed=100Mbit/s
   resources: irq:19 ioport:1800(size=256) memory:e4003000-e4003fff memory:30020000-3003ffff

问题是这样的。网络过一会儿就会断线,但前提是我正在运行 Deluge 客户端,并且没有通过 ssh 进入服务器。服务器正在为 Deluge 提供两个网站和 Web 客户端。但在启动 torrent 后,过了一会儿网络就断线了,我无法通过 ssh 进入它或查看网站。

如果我随后按下所连接键盘上的某个键,网络就会立即恢复运行。但是服务器并没有处于休眠状态。它肯定仍处于开启状态。

我尝试过 ping 操作,结果显示硬件有故障,认为网络处于非活动状态(由于 torrent 正在运行,所以这不是问题),我也尝试过查看 dmesg 和 syslog,还有 kern.log,但是没有任何内容能让我理解。

有什么想法吗?我真的希望我的服务器在下载种子时不会断开连接,但我更担心的是,如果它总体上不稳定,那么可能不仅仅是种子导致的。它已经很久没有启动了。

它正在运行 ubuntu Server 32位 14.04。

编辑 1:我得出的结论是,打开 ssh 不会改变任何事情。一段时间后,它仍然会关闭对服务器的访问。

以下是来自 dmesg 的一些信息:

[   19.662131] type=1400 audit(1398606232.597:5): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=426 comm="apparmor_parser"
[   19.662146] type=1400 audit(1398606232.597:6): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=426 comm="apparmor_parser"
[   19.662663] type=1400 audit(1398606232.597:7): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=426 comm="apparmor_parser"
[   19.664390] type=1400 audit(1398606232.601:8): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=427 comm="apparmor_parser"
[   19.664409] type=1400 audit(1398606232.601:9): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=427 comm="apparmor_parser"
[   19.664419] type=1400 audit(1398606232.601:10): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=427 comm="apparmor_parser"
[   19.665437] type=1400 audit(1398606232.601:11): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=427 comm="apparmor_parser"
[   24.542312] init: cups main process (621) killed by HUP signal
[   24.542340] init: cups main process ended, respawning
[   26.736358] eth0: Media Link Off
[   31.746038] eth0: Media Link On 100mbps full-duplex
[   33.609808] init: udev-fallback-graphics main process (673) terminated with status 1
[   40.667068] init: samba-ad-dc main process (685) terminated with status 1
[   41.165841] init: failsafe main process (492) killed by TERM signal
[   42.033077] audit_printk_skb: 15 callbacks suppressed
[   42.033087] type=1400 audit(1398606254.969:17): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=1018 comm="apparmor_parser"
[   42.033104] type=1400 audit(1398606254.969:18): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1018 comm="apparmor_parser"
[   42.033115] type=1400 audit(1398606254.969:19): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=1018 comm="apparmor_parser"
[   42.034147] type=1400 audit(1398606254.969:20): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1018 comm="apparmor_parser"
[   42.034157] type=1400 audit(1398606254.969:21): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=1018 comm="apparmor_parser"
[   42.034700] type=1400 audit(1398606254.969:22): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=1018 comm="apparmor_parser"
[   42.371429] type=1400 audit(1398606255.305:23): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=1019 comm="apparmor_parser"
[   42.379703] type=1400 audit(1398606255.313:24): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=1022 comm="apparmor_parser"
[   42.379725] type=1400 audit(1398606255.313:25): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1022 comm="apparmor_parser"
[   42.381050] type=1400 audit(1398606255.317:26): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1022 comm="apparmor_parser"   
[   52.425610] init: plymouth-upstart-bridge main process ended, respawning
[   54.735414] audit_printk_skb: 12 callbacks suppressed
[   54.735424] type=1400 audit(1398606267.669:31): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=1487 comm="apparmor_parser"
[   54.735591] type=1400 audit(1398606267.669:32): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1487 comm="apparmor_parser"
[   54.737099] type=1400 audit(1398606267.673:33): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1487 comm="apparmor_parser"

相关内容