Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5379141
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: WINDOWS

2011-12-10 09:58:57

环境: 繁体Windows Server 2003 + VMware Server 2.0.2

提要: 把VM Machine 添加到VM的Inventory后,添加的虚拟机显示为 ”Unknown(Invaild)”,
屏幕里的summary 一栏的提示信息为:
Invalid Virtual Machine

The selected virtual machine is not recognized on this system. The cause of this problem may be that the virtual machine's .vmx file is corrupted, or that the virtual machine version is newer than is recognized by the host. You can remove the virtual machine from the inventory if you believe that it is not recoverable.Click the link below to remove the virtual machine from the inventory.Remove Virtual MachineTo help diagnose the issue, you can check the virtual machine files at their last known location: "[standard] OCS-NG-Server-2.0.3-CentOS-6.0-32bits/Ocsinventory-ng.vmx"the virtual machine's .vmx file is corrupted, or that the virtual machine version is newer than is recognized by the host. You can remove the virtual machine from the inventory if you believe that it is not recoverable.Click the link below to remove the virtual machine from the inventory.Remove Virtual MachineTo help diagnose the issue, you can check the virtual machine files at their last known location: "[standard] OCS-NG-Server-2.0.3-CentOS-6.0-32bits/Ocsinventory-ng.vmx"

Click the link below to remove the virtual machine from the inventory. 
Remove virtual Machine
 
产生原因:

此问题是由于host machine与client machine的语言环境不一致造成的。

解决方法:
 

1.用记事本打开vmware server现有其它虚拟机目录文件里找到.vmx文件(如果没有,创建一个任意虚拟机),与将要导入的虚拟机文件Ocsinventory-ng.vmx
比较后发现,其它虚拟机.vmx文件第一行为”.encoding=big5”,而Ocsinventory-ng.vmx文件第一行为”.encoding=windows-1252”,
将之修改为”.encoding=big5”。

2.重新加载虚拟机文件后一切正常显示。

3.其实原来用WorkStation做的虚拟机,因为宿主机的语言环境不一样,导致生成的vmx或vmdk文档延用了宿主机的语言代码(或GB2312,BIG5,UTF-8,windwos-1252)而与新的宿主机的系统语言相冲突,导致不能打开虚拟机。所以,此时,要不修改宿主机的“区域和语言选项(system locale)”与目标主机一致,要不就要修改vmx或vmdk文件里面的encodeing代码。





阅读(6693) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~