当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]Vmware Server安装后无法运行,启动后几秒没了
帖子发表于 : 2007-05-26 4:59 

注册: 2007-05-10 12:59
帖子: 22
送出感谢: 0 次
接收感谢: 0 次
先是用新立得安装vmware server 1.0.3 ,最后面给我来个什么错误,后来又去下了个tar包,装是装上了,
系统工具也出来了“Vmware Server Console”,但是点击后还没启动就没有了,情况跟下面主题回复中N位朋友的情况一样

http://forum.ubuntu.org.cn/viewtopic.ph ... sc&start=0

引用:
yang@:~$ sudo 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.


请高人指点。


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-05-26 10:58 

注册: 2006-09-27 11:17
帖子: 397
送出感谢: 1
接收感谢: 3
命令行已经提示的很清楚了.
你的vmware还没有配置
$/usr/bin/vmware-config.pl
不记得要不要管理员权限了,如果要,前面加su


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-05-26 14:55 

注册: 2007-05-10 12:59
帖子: 22
送出感谢: 0 次
接收感谢: 0 次
shada 写道:
命令行已经提示的很清楚了.
你的vmware还没有配置
$/usr/bin/vmware-config.pl
不记得要不要管理员权限了,如果要,前面加su


引用:
yang@:~$ sudo /usr/bin/vmware-config.pl
Password:
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

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-server.desktop: warning: The 'Application' category is not defined by the desktop entry specification. Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead
/usr/share/applications/vmware-console-uri-handler.desktop: warning: The 'Application' category is not defined by the desktop entry specification. Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server 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.20-15-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-config3/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:80:
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: 警告: 在 ‘_syscall1’ 的声明中,类型默认为 ‘int’
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

yang@:~$


情况依旧……


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-05-26 21:16 

注册: 2006-05-13 18:08
帖子: 75
送出感谢: 1
接收感谢: 0 次
在 vmware-config.sh 时出现错误:
Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 警告: 在 ‘_syscall1’ 的声明中,类型默认为 ‘int’
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

搜索到 http://blog.csdn.net/xport/archive/2007 ... 73676.aspx

使用上面说的方式, 修改 /usr/lib/vmware/modules/source/vmmon.tar 中 vmmon-only/include/compat_kernel.h 文件, 把
static inline _syscall1(int, compat_exit, int, exit_code);
替换为
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline _syscall1(int, compat_exit, int, exit_code);
#endif
即可, 原因是VMWare与2.6.19之后的内核有不兼容的地方.

另外, 在执行 vmware-config.sh 需要首先安装 xinetd: apt-get install xinetd

vmware 中挂接物理硬盘报告没有足够权限:
编辑 /etc/group 文件, 将其中一行 "disk:x:6:" 改为 "disk:x:6:<当前用户名>"


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-05-27 1:31 

注册: 2007-05-23 20:22
帖子: 118
送出感谢: 0 次
接收感谢: 0 次
我已經裝了xinetd, 及用 any-any-upday 安裝好 vmserver ........

也是 不能 powen on , BIOS 也看不到,就自動關了


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-05-31 13:06 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
不要编译,直接安装源里面的自带vmware-server的内核模块就好。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译