虚拟机linux上路由器启动问题分析
虚拟机linux上路由器启动问题分析根据个人碰到的问题,和网络文档整理而成。出现的问题:启动的时候停止在进度条,进入控制台(ctrl+alt+t)提示如下:vmsvc [warning] [guestinfo] RecordRoutingInfo: Unable to collect IPv4 routing table如果卸掉网络,系统时可以进入的。一. Cause(出现
虚拟机linux上路由器启动问题分析
根据个人碰到的问题,和网络文档整理而成。
出现的问题:启动的时候停止在进度条,进入控制台(ctrl+alt+t)提示如下:
vmsvc [warning] [guestinfo] RecordRoutingInfo: Unable to collect IPv4 routing table
如果卸掉网络,系统时可以进入的。
一. Cause(出现的原因)
This issue occurs when the Linux iputils package causes a delay in the boot process. A warning message appears when the guestinfo plug-in tool fails to parse the content from the /proc/net/route file. The guest operating system's clock is ahead of the host on which it is running, causing the arping process to become unresponsive during boot. This results in the delayed boot times.
When a virtual machine is affected this issue occurs every time it boots, but it does not happen on every Linux virtual machine.
Resolution
To resolve this issue, see the RedHat Advisory RHBA-2013:1290.
Note: The preceding link was correct as of December 11, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.
二.Resolve (解决的方法1:已采用)
To work around this issue, add rtc.diffFromUTC=0 to the .vmx file of the affected virtual machine. This forces a time sync, which enables the arping process to complete as expected leading to normal boot times.
To add rtc.diffFromUTC=0 to the .vmx file:
1.Power off the virtual machine.
2.Log in to the ESXi/ESX host on which the virtual machine is located with a secure shell session.
3.Change to the virtual machine's .vmx file location (located at /vmfs/volumes/datastore_name/vm_name).
4.Create a backup of the .vmx file.
5.Open and edit the original .vmx file with a text editor.
6.Add this entry to the end of the .vmx file:
rtc.diffFromUTC=0
7.Close and save the .vmx file.
8.Power on the virtual machine.
三. Resolve (解决的方法2:该方法未验证)
1 # locate libtimeSync.so
2 /root/vmware-tools-distrib/lib/plugins32/vmsvc/libtimeSync.so
3 /root/vmware-tools-distrib/lib/plugins64/vmsvc/libtimeSync.so
4 /usr/lib/vmware-tools/plugins32/vmsvc/libtimeSync.so
5 /usr/lib/vmware-tools/plugins64/vmsvc/libtimeSync.so
重命名 /usr/lib/ 下的 libtimeSync.so 为libtimeSync.so.bak
两种方法都是与时间相关的配置修改
四.本人的机器上还需检查
在启动问题解决后,能ping通外部网关,但是还是不能上网,检查resolv.conf,
cat /etc/resolv.conf
修改resolv.conf中的DNS配置
nameserver 192.160.113.199
更多推荐
所有评论(0)