其实问题早就解决了但是鸽了好几天一直懒得写
书接上文,这回算是彻底解决了服务器断网的问题。
4.故障修复
登录服务器之后,先看一下服务器信息
经过排查之后,看了半天才发现
是宝塔面板的反渗透出了问题,查看日志发现均是宝塔面板对网络做出的修改。关了反渗透之后重启服务器,发现依旧不行。
正在我又陷入迷茫的时候,DO又给我回工单了:
Hello there,
Thanks for writing back to us and sharing details further.
Glad to know that droplet's networking is rebuilt but these manual changes can be lost if you reboot the droplet at this particular time. So, we need to make these changes permanent.
You might want to fetch the droplet's metadata and compare it with the network configurations that you did manually. The below curl request will provide droplets metadata information that you need to compare with the configurations you did manually.
curl -s http://169.254.169.254/metadata/v1.json
After you verify that the same network configurations are shown you can run the command "cloud-init clean -r" which will rebuild the network configuration.
I hope this helps but feel free to write back if you have any concerns.
Kindly,
Ambili
Cloud Support Engineer
好家伙更简单直白,直接重置网络服务。
倒也不是不行,那就来呗:
好乱,看不懂,反正输命令就完了。
输完了,黑屏断开连接了。
顺便重启一下服务器,诶还真好了。
不信邪,再重启一次,还是好的。
5.结束
既然故障排除完了,知道故障原因以及解决办法了
服务全部迁移走了,文章也水写完了,这个服务器也算是完成了他的使命:
拜拜嘞您得
完
Comments NOTHING