我们在服务器中心有一台专用的异地服务器,昨天我们突然与生产服务器失去连接。当时没有人在服务器上工作。我只能通过 RemoteConsole 访问服务器。
当我 ping 某个东西时,它显示
ping 8.8.8.8
connect: Network is unreachable
Ubuntu 18.04 服务器似乎已失去与公共网络的连接。服务器中心的客户服务将关闭至周一。我尝试了所有能找到的有关此问题的方法,但我发现所有示例的主要区别在于“检测到链接:否”
$ ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
链路检测为无且 IP 链路中没有运营商
$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether ac:1f:6b:9a:6f:a8 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether ac:1f:6b:9a:6f:a9 brd ff:ff:ff:ff:ff:ff
$ ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether ac:1f:6b:9a:6f:a8 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xdf200000-df27ffff
eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether ac:1f:6b:9a:6f:a9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xdf100000-df17ffff
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 121044 bytes 20083796 (20.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 121044 bytes 20083796 (20.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ip4 地址未显示
$ dhclient
没有任何反应,只有一个空白点闪烁
这真的是服务器中心的电缆问题吗?还是我可以尝试其他方法?在没有网络的情况下,是否可以从服务器中 scp 或 rsync 数据?我试过了,但出现错误
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255)
我们在同一台服务器上备份服务器.....
非常感谢您的帮助