[问题]6.10 vmare问题:貌似我第一个遇到 求达人帮忙

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
erlv
帖子: 36
注册时间: 2005-10-20 19:25
联系:

[问题]6.10 vmare问题:貌似我第一个遇到 求达人帮忙

#1

帖子 erlv » 2006-10-06 15:00

一开始安装的是 rpm包 提示安装成功 运行时出现如下提示
erlv@erlv-ubuntu:~$ /usr/bin/vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

运行如下命令
erlv@erlv-ubuntu:~$ sudo /usr/bin/vmware-config.pl
Password:
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it.

(下面协议略)

Do you accept? (yes/no) y

Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

仅在下面提示了有错误 但是不懂怎么解决 ,也不懂什么意思
/usr/share/applications/vmware-workstation.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Use of uninitialized value in addition (+) at /usr/bin/vmware-config.pl line 804, <STDIN> line 5.
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.
/usr/share/applications/vmware-player.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Use of uninitialized value in addition (+) at /usr/bin/vmware-config.pl line 804, <STDIN> line 5.
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.

有一点很奇怪给什么 ,一个错误他提示了我两遍。 这个 不是我复制粘贴的问题 呵呵
往后没有再提示什么错误 了
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.17-10-generic/build/include]
不知道上面这个配置内核算不算出了错。
Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.17-10-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]

Probing for an unused private subnet (this can take some time)...

We were unable to locate an unused Class C subnet in the range of private
network numbers. For each subnet that we tried we received a response to our
ICMP ping packets from a host at the network address intended for assignment to
this machine. Because no private subnet appears to be unused you will need to
explicitly specify a network number by hand.

What will be the IP address of your host on the private
network? 192.168.0.1

What will be the netmask of your private network? 192.168.0.11

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.0.2.

Do you wish to configure another NAT network? (yes/no) [no]

Do you want to be able to use host-only networking in your virtual machines?
[yes]

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]

Probing for an unused private subnet (this can take some time)...

We were unable to locate an unused Class C subnet in the range of private
network numbers. For each subnet that we tried we received a response to our
ICMP ping packets from a host at the network address intended for assignment to
this machine. Because no private subnet appears to be unused you will need to
explicitly specify a network number by hand.

What will be the IP address of your host on the private
network? 192.168.0.1

What will be the netmask of your private network? 192.168.0.11

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.0.2.

Do you wish to configure another host-only network? (yes/no) [no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.17-10-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
WARNING: could not open /tmp/vmware-config0/vmnet-only/includeCheck.h: Invalid argument
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 failed

The configuration of VMware Workstation 5.5.2 build-29772 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team

以上为整个 配置/usr/bin/vmware-config.pl. 的过程

但是接下来运行,仍然报措

erlv@erlv-ubuntu:~$ /usr/bin/vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.


一开始我在6.06(真正装在我硬盘里的 非虚拟机)上,安装vmware server 也是一样的错误

上面的安装过程我是在winxp下用vmware虚拟的 6。10然后有在6。10里安装的

不过个人感觉应该不是用了两次虚拟机的问题



强烈不解中 望路过的达人指点一 二 谢谢
mifly
帖子: 86
注册时间: 2006-09-05 20:44
来自: china
联系:

#2

帖子 mifly » 2006-10-06 15:24

你不是想在xp虚拟的ubuntu下再虚拟个ubuntu吧?
erlv
帖子: 36
注册时间: 2005-10-20 19:25
联系:

#3

帖子 erlv » 2006-10-06 16:35

6.06 我是装在 硬盘上的

但是装 vmware 也不行啊!
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海

#4

帖子 catinsnow » 2006-10-06 21:40

前面的两次错误是因为要建两个菜单项。出现错误不知道是不是因为用rpm包的缘故。我一直用vmware官方的Tar压缩档。还有你不要装源里的vmplayer相关的包。我的建议是删除现有的安装,确认删除后,运行

代码: 全选

sudo rm -rf /etc/vmware 
以确认配置文件也被删除。然后从http://www.vmware.com/download/ws/ 下载最新的tar包,解包后用sudo运行里面的安装脚本。
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
erlv
帖子: 36
注册时间: 2005-10-20 19:25
联系:

#5

帖子 erlv » 2006-10-06 22:12

谢谢 不过我现在 就是这么做的

那个删除貌似 也用了


原来在 6.06下装的server 就是 用的官方的 tar。gz的包


可是可是 还是 不行啊 :)
alteeno
帖子: 254
注册时间: 2006-01-18 18:11

#6

帖子 alteeno » 2006-10-08 13:22

我刚刚才试了vmware workstation 5.5.2-29772,在6.10下可以成功安装,但运行时就死了,没有任何反映。现在降级安装回以前的5.5.1版,打上vmware-any-any的补丁后,就一切正常了。
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#7

帖子 ct » 2006-10-08 16:53

现在我都是用vmplayer了,简单一点,方便一点。
而且系统不过就是以前装的xp ,现在懒得摆弄那玩意了,以前装的现在能用就行了。:lol:
quantumfang
帖子: 74
注册时间: 2006-11-14 10:44

#8

帖子 quantumfang » 2006-11-21 20:31

回复