虚拟机linux上路由器启动问题分析

虚拟机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

 

两种方法都是与时间相关的配置修改

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值