无敌了,大家有没有重启过 z.com 的 vps

2015-11-22 21:47:30 +08:00
 datocp
配置好服务器准备 reboot 结果发现连不了主机,还以为 /etc/rc.local 添加的脚本有问题,好不容易用后台的 vnc 连上了,还是 ping 不到主机,打 ifconfig 傻眼了,这是什么主机。这下连配置文件都取不回来了。。。

759 次点击
所在节点    VPS
6 条回复
mochanight
2015-11-22 22:07:46 +08:00
z.com 安装 vestacp 时出现此问题,是什么意思呢?

2015-11-22 23:07:07 (127 MB/s) - “ fail2ban.tar.gz ” saved [693/693]

Starting fail2ban: [ OK ]
Error: ip_status global is not valid
Error: no avaiable IP address
Error: can't create domain
mochanight
2015-11-22 22:59:22 +08:00
解决了,关闭 IPV6 即可。
datocp
2015-11-23 11:12:58 +08:00
汗,用的 debian 8 ,重启多次还是 ip 消失。

虽然用以下命令能修复网络连接,但是发现一些原先正常的服务像 dnsmasq 却无法启动,以前没玩过 kvm 也不知道哪里搞错了,看情况只能重装。。。。

#ifconfig eth0 hw ether 02:04:a3:2c:98:ac

ip address add 163.44.152.172/23 dev eth0
ip route add default via 163.44.152.1

#apt-get install dhcpcd5
#systemctl enable dhcpcd
#systemctl start dhcpcd
echo "nameserver 163.44.146.11">>/etc/resolv.conf
echo "nameserver 163.44.146.12">>/etc/resolv.conf

ip address add 2001:df6:b800:1130:163:44:152:172/64 dev eth0
#ip -6 route add default via 2001:0DF6:B800:1130::1
msg7086
2015-11-23 13:27:30 +08:00
真的不贴个你的 network/interface 的配置来看看吗?
datocp
2015-11-23 13:54:52 +08:00
刚开始用那天 ps -aux 注意到有 2 个 dhcpcd 的进程的,今天装了 dhcpcd5 也不知道装对了没,现在 ps -aux 里见不到这个进程,目前手动指定还好没什么问题。。。

# apt-cache search dhcpcd
dhcpcd-dbus - DBus bindings for dhcpcd
dhcpcd-gtk - GTK+ frontend for dhcpcd and wpa_supplicant
dhcpcd5 - DHCPv4, IPv6RA and DHCPv6 client with IPv4LL support

# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet6 dhcp
accept_ra 1
iface eth0 inet dhcp
rainy3636
2015-11-23 21:31:52 +08:00
只在这家注册了域名,免费 whois 隐私保护,感觉不错

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/238104

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX