vmware 7.0 安装vmtools 出现 错误,求救

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
pom
帖子: 14
注册时间: 2009-09-24 9:34

vmware 7.0 安装vmtools 出现 错误,求救

#1

帖子 pom » 2009-11-02 21:18

google 了半天,也没找到有效的解决方法。
宿主windows xp sp3 , guest ubuntu 9.10
vmvare 7.0 从电驴上下载的
安装好之后,进行 vmware-config-tools.pl 设置

中间出现好几次这样的错误:
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

一路enter下来,虚拟机可以运行,设置共享文件夹D:\you但共享文件夹/mnt/hgfs下面什么也没有【对应的windows共享文件夹D:\you不为空】

不知道这是什么问题。请大侠支招!
附上vmware-config-tools.pl执行记录:

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done
File system sync driver: done


insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: current stop runlevel(s) (0 2 3 5 6) of script `vmware-tools' overwrites defaults (0 6).
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'sreadahead' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
insserv: There is a loop between service rsyslog and pulseaudio if stopped
insserv: loop involving service pulseaudio at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop between service rsyslog and pulseaudio if stopped
insserv: loop involving service bluetooth at depth 2
insserv: exiting without changing boot order!
WARNING: The installer initially used the insserv application to setup the
vmware-tools service. That application cannot be found. Please re-install the
insserv application. This script will now attempt to manually setup the
vmware-tools service.Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.31-14-generic/build/include".
The path "/lib/modules/2.6.31-14-generic/build/include" appears to be a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.

If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The vmblock module enables dragging or copying files from within a host and
dropping or pasting them onto your guest (host to guest drag and drop and file
copy/paste). The rest of the software provided by VMware Tools is designed to
work independently of this feature (including guest to host drag and drop and
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution's installation CD.
[ Press Enter key to continue ]

[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The communication service is used in addition to the standard communication
between the guest and the host. The rest of the software provided by VMware
Tools is designed to work independently of this feature.
If you wish to have the VMCI feature, you can install the driver by running
vmware-config-tools.pl again after making sure that gcc, binutils, make and the
kernel sources for your running kernel are installed on your machine. These
packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host. The rest of this software provided by VMware Tools is designed to work
independently of this feature. If you wish to have the VSOCK feature you can
install the driver by running vmware-config-tools.pl again after making sure
that gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
[ Press the Enter key to continue.]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

The driver for the VMXNET 3 virtual network card is used only for our advanced
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the advanced network driver enabled, you can install the
driver by running vmware-config-tools.pl again after making sure that gcc,
binutils, make and the kernel sources for your running kernel are installed on
your machine. These packages are available on your distribution's installation
CD.
[ Press Enter key to continue ]

Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.
Couldn't open /etc/vmware-tools/locations! Failure!
Unable to initialize installer database.

Unable to compile the pvscsi module. If you wish to have the pvscsi feature,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution's installation CD.
[ Press Enter key to continue ]



Detected X.org version 7.5.4.



The configuration file /etc/X11/xorg.conf can not be found. Do you want to
create a new one? (yes/no) [yes]

Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service hal restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart hal
hal start/running, process 7823

X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux moon 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=5f81f47e-31ac-4530-9948-b04bb5c9f2b9 ro quiet splash
Build Date: 26 October 2009 05:15:02PM
xorg-server 2:1.6.4-2ubuntu4 (buildd@)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.7628", Time: Mon Nov 2 21:16:02 2009
(EE) Unable to locate/open config file: "/tmp/vmware-config0/XF86Config.7628"
(==) Using default built-in configuration (30 lines)
(EE) open /dev/fb0: No such file or directory
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: No Symbols named "U.S." in the include file "us"
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: No Symbols named "U.S." in the include file "us"
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server

X is running fine with the new config file.

ddxSigGiveUp: Closing log
Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.31-14-generic
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
File system sync driver: done
Guest operating system daemon: done
Virtual Printing daemon: done

The configuration of VMware Tools 8.1.3 build-203739 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team
unicell
帖子: 1
注册时间: 2009-11-13 19:56

Re: vmware 7.0 安装vmtools 出现 错误,求救

#2

帖子 unicell » 2009-11-13 20:01

试一下/etc/init.d/vmware-tools start 启动服务看
回复