VMware Server 2.0をUbuntu Server 10.04で使う

Ubuntu Server 10.04環境でVMware Server 2.0を使用します。

LinkIconUbuntu Server 10.04のインストール
LinkIconVMware Server 2.02のダウンロード
LinkIconVMware Server 2.02インストールの準備
LinkIconVMware Server 2.02のインストール
LinkIconVMware Infrastructure Web Access へのアクセス
LinkIcon仮想マシンの作成
LinkIcon仮想マシンの起動
LinkIconエラー発生時のインストール操作
LinkIcon新カーネル対応インストーラでのインストール操作

milk_btn_pagetop.png

 

Ubuntu Server 10.04のインストール

Ubuntu Server 10.04のダウンロード

Ubuntu Server Edition 10.04をダウンロードします。

http://www.ubuntu.com/server/get-ubuntu/download
ubuntu-10.04.1-server-i386.iso

ダウンロードしたubuntu-10.04.1-server-i386.isoをCDに書き込みます。

Ubuntu Server 10.04.1のインストール

CDから起動し、Ubuntu Server 10.04.1のBase Systemのみをインストールします。

SSHサーバのインストール

SSHサーバをインストールします。

$ sudo apt-get install openssh-server

/etc/ssh/sshd_config の "PermitRootLogin" を Yes から No に設定します。

コンソールメッセージの文字化け対応

~/.bashrcの最後に、下記の行を追加します。

$ vi ~/.bashrc

case $TERM in
linux) LANG=C ;;
*) LANG=ja_JP.UTF-8 ;;
esac

アップデート

最新のパッケージリストを取得します。
$ sudo apt-get update

インストール済みのパッケージをアップデートします。
$ sudo apt-get upgrade

固定IPアドレスの設定

固定のIPアドレスを設定します。

$ sudo vi /etc/network/interface

auto eth0
iface eth0 inet static
address 192.168.1.124
netmask 255.255.255.0
gateway 192.168.1.1

milk_btn_pagetop.png

 

VMware Server 2.02のダウンロード

VMware Server 2.02をダウンロードします。

http://www.vmware.com/jp/products/server/
VMware-server-2.0.2-203138.i386.tar.gz

ダウンロードしたVMware-server-2.0.2-203138.i386.tar.gz は
~/vmware-server におきます。

milk_btn_pagetop.png

 

VMware Server 2.02インストールの準備

VMware Server 2.02をインストールする際に必要になるツールをインストールします。

開発環境をインストールします。
$ sudo apt-get install build-essential

Linuxのヘッダをインストールします。
$ sudo apt-get install linux-headers-$(uname -r)

xinetdもインストールします。
$ sudo apt-get install xinetd

milk_btn_pagetop.png

 

VMware Server 2.02のインストール

パッチ無しでのインストール

VMware Server 2.02をインストールします。
~/vmware-server
~/vmware-server にあるVMware-server-2.0.2-203138.i386.tar.gz を解凍してインストールスクリプトを実行します。

$ cd ~/vmware-server
$ tar xzf VMware-server-2.0.2-203138.i386.tar.gz
$ cd vmware-server-distrib/
$ sudo ./vmware-install.pl

インストール作業はほとんどデフォルト値で答えながら進めます。

インストール途中でエラーが発生しました。
VMware Server 2.02のインストーラーが新しいKernelに対応していないためにエラーが発生しているようです。

LinkIconエラー発生時のインストール操作

新カーネル対応インストーラでのインストール

下記のサイトより対応版インストーラをダウンロードさせていただき対応しました。

http://radu.cotescu.com/2010/01/19/how-to-install-vmware-server-ubuntu-fedora-opensuse/

raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz をダウンロードし、 VMware-server-2.0.2-203138.i386.tar.gz と同じディレクトリ( ~/vmware-server ) におきます。

raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz を解凍します。

$ cd ~/vmware-server
$ tar xzf raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz
$ cd raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27/
$ sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh ../

下記の項目以外はデフォルト値を設定しながらインストールを進めます。

・VMware Server のadministrative user を指定します。
・serial number XXXXX-XXXXX-XXXXX-XXXXX を入力します。

LinkIcon新カーネル対応インストーラでのインストール操作

milk_btn_pagetop.png

 

VMware Infrastructure Web Access へのアクセス

VMware Infrastructure Web Access にWebブラウザからアクセスします。

https://VMware ServerのIPアドレス:8333/
または
http://VMware ServerのIPアドレス:8222/
にアクセスし、Login Name と Password を入力します。

vmware_server.jpg

milk_btn_pagetop.png

 

仮想マシンの作成

仮想マシンを作成します。
Create Virtual Machine をクリックして、仮想マシンを作成します。

・仮想マシンの名前を入力します。
・インストールする OS の種類を選択します。
・RAM のサイズと、CPU のコア数を選択します。
・Create a New Virtual Disk を選択して仮想HDDを作成します。
・Disk容量を設定します。
・Add a Network Adapterを選択します。
・Bridged でネットワーク接続を行います。
・Use an ISO Imageでイメージファイルを設定します。
 (イメージファイルは/var/lib/vmware/Virtual Machinesにおきます。)
・FDDはDon't Add a Floppy Driveにします。
・USBはAdd a USB Controllerにします。

仮想マシンを起動し、OSをインストールします。

milk_btn_pagetop.png

 

仮想マシンの起動

仮想マシンを起動します。

・仮想マシンのプロファイルを選択します。
・スタートボタンをクリックしPower On します。
・仮想マシンの画面を表示させるにはConsoleタブをクリックします。

milk_btn_pagetop.png

 

新カーネル対応インストーラでのインストール操作

$ cd ~/vmware_server
$ ls
VMware-server-2.0.2-203138.i386.tar.gz   vmware-server-distrib
raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz
$ tar xzf raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz
$ ls
VMware-server-2.0.2-203138.i386.tar.gz
raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27
raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz
vmware-server-distrib
$ ls -l
合計 494212
-rw-r--r--  1 ono ono 506047036 2010-10-10 23:25 VMware-server-2.0.2-203138.i386.tar.gz
drwxr-xr-x  2 ono ono      4096 2010-07-11 22:04 raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27
-rw-r--r--  1 ono ono      8586 2010-10-11 15:03 raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz
drwxr-xr-x 10 ono ono      4096 2009-10-21 09:36 vmware-server-distrib
$ cd raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27/
$ ls
LICENSE  start-VMware-console.sh  vmware-server-2.0.2-203138-update.patch
README   vmware-config.patch      vmware-server-2.0.x-kernel-2.6.3x-install.sh
ono@ubuntu:~/vmware_server/raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27$ ls -l
合計 44
-rw-r--r-- 1 ono ono  1321 2010-07-11 22:04 LICENSE
-rw-r--r-- 1 ono ono  1980 2010-07-11 22:04 README
-rwxr-xr-x 1 ono ono   702 2010-07-11 22:04 start-VMware-console.sh
-rw-r--r-- 1 ono ono  1111 2010-07-11 22:04 vmware-config.patch
-rw-r--r-- 1 ono ono 13618 2010-07-11 22:04 vmware-server-2.0.2-203138-update.patch
-rwxr-xr-x 1 ono ono 10631 2010-07-11 22:04 vmware-server-2.0.x-kernel-2.6.3x-install.sh
$ sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh ../
[sudo] password for ono:
You have VMware Server archive:
        VMware-server-2.0.2-203138.i386.tar.gz
Checking for needed packages on Ubuntu
You do have the linux-headers-2.6.32-24-generic package...
You do have the build-essential package...
You do have the patch package...
Found .tar file for vsock module
Found .tar file for vmci module
Found .tar file for vmnet module
Found .tar file for vmmon module
Extracting .tar files in order to apply the patch...
Untarring ..//vmware-server-distrib/lib/modules/source/vsock.tar
Untarring ..//vmware-server-distrib/lib/modules/source/vmci.tar
Untarring ..//vmware-server-distrib/lib/modules/source/vmnet.tar
Untarring ..//vmware-server-distrib/lib/modules/source/vmmon.tar
Testing patch...
Applying patch...
Preparing new tar file for vsock module
Preparing new tar file for vmci module
Preparing new tar file for vmnet module
Preparing new tar file for vmmon module
Checking that the compiling will succeed...
Trying to compile vsock module to see if it works
Performing make in ..//vmware-server-distrib/lib/modules/source/vsock-only
Using 2.6.x kernel build system.
WARNING: "VMCIDatagram_CreateHnd" [/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vsock-only/vsock.ko] undefined!
Trying to compile vmci module to see if it works
Performing make in ..//vmware-server-distrib/lib/modules/source/vmci-only
Using 2.6.x kernel build system.
Trying to compile vmnet module to see if it works
Performing make in ..//vmware-server-distrib/lib/modules/source/vmnet-only
Using 2.6.x kernel build system.
Trying to compile vmmon module to see if it works
Performing make in ..//vmware-server-distrib/lib/modules/source/vmmon-only
Using 2.6.x kernel build system.
In file included from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./common/vmx86.h:32,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/driver.h:29,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/driver.c:101:
/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/compat_module.h:27,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
In file included from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./common/vmx86.h:32,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/driver.h:29,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/driver.c:101:
/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/compat_module.h:27,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
In file included from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./common/vmx86.h:32,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./common/hostif.h:32,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:73:
/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/mmzone.h:7,
                 from include/linux/gfp.h:4,
                 from include/linux/mm.h:8,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/compat_page.h:23,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
In file included from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/common/vmx86.h:32,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/common/vmx86.c:40:
/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:56,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/common/vmx86.c:32:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
In file included from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./common/vmx86.h:32,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/vmcore/moduleloop.c:35:
/home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:56,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/./include/compat_sched.h:23,
                 from /home/ono/vmware_server/vmware-server-distrib/lib/modules/source/vmmon-only/vmcore/moduleloop.c:31:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
Rebuilding tar files...
Replacing original file vsock.tar with patched file...
Replacing original file vmci.tar with patched file...
Replacing original file vmnet.tar with patched file...
Replacing original file vmmon.tar with patched file...
Removing binaries directory...
Patching vmware-install.pl...
patching file ..//vmware-server-distrib/bin/vmware-config.pl
Starting VMware Server original install script...
A previous installation of VMware Server has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a previous version of VMware Server installed.  Continuing this
install will upgrade to the latest version by first uninstalling the previous
version.  Do you wish to continue? (yes/no) [yes]

Uninstalling the tar installation of VMware Server.

Checking for active VMs:
There are no Active VMs.
Stopping services for VMware Server

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine monitor                                             done

The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'apport' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: script vmware-autostart: service VMware already provided!
insserv: script vmware-core: service VMware already provided!
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'atd' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udev-finish' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'cron' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'dmesg' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'ufw' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth-splash' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'console-setup' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth-stop' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hostname' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hwclock' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth-log' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'network-interface' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: script vmware-mgmt: service VMware already provided!
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'irqbalance' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'network-interface-security' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and inetd if stopped
insserv:  loop involving service inetd 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 inetd and rsyslog if stopped
insserv: exiting now without changing boot order!
 * Stopping internet superserver xinetd                                            [ OK ]
 * Starting internet superserver xinetd                                            [ OK ]
The removal of VMware Server 2.0.2 build-203138 for Linux completed
successfully.

Installing VMware Server.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/share/man]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Server 2.0.2 build-203138 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   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) yes

Thank you.

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.32-24-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config1/vmmon-only' に入ります
make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' に入ります
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/./common/hostif.h:32,
                 from /tmp/vmware-config1/vmmon-only/linux/hostif.c:73:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/mmzone.h:7,
                 from include/linux/gfp.h:4,
                 from include/linux/mm.h:8,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_page.h:23,
                 from /tmp/vmware-config1/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config1/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/vmx86.o
In file included from /tmp/vmware-config1/vmmon-only/common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/common/vmx86.c:40:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:56,
                 from /tmp/vmware-config1/vmmon-only/common/vmx86.c:32:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.c:35:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:56,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_sched.h:23,
                 from /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.c:31:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
  LD [M]  /tmp/vmware-config1/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config1/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config1/vmmon-only/vmmon.ko
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' から出ます
cp -f vmmon.ko ./../vmmon.o
make: ディレクトリ `/tmp/vmware-config1/vmmon-only' から出ます
The vmmon module loads perfectly into the running kernel.

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

Extracting the sources of the vmci module.

Building the vmci module.

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config1/vmci-only' に入ります
make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' に入ります
  CC [M]  /tmp/vmware-config1/vmci-only/linux/driver.o
  CC [M]  /tmp/vmware-config1/vmci-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config1/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciContext.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciDs.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciGroup.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciProcess.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/vmware-config1/vmci-only/common/vmciResource.o
  LD [M]  /tmp/vmware-config1/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config1/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-config1/vmci-only/vmci.ko
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' から出ます
cp -f vmci.ko ./../vmci.o
make: ディレクトリ `/tmp/vmware-config1/vmci-only' から出ます
The vmci module loads perfectly into the running kernel.

VMWare config patch VMCI!
`/tmp/vmware-config1/vmci-only/Module.symvers' -> `/tmp/vmware-config1/../Module.symvers'
None of the pre-built vsock modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vsock module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vsock module.

VMWare config patch VSOCK!
`/tmp/vmware-config1/../Module.symvers' -> `/tmp/vmware-config1/vsock-only/Module.symvers'
Building the vsock module.

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config1/vsock-only' に入ります
make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' に入ります
  CC [M]  /tmp/vmware-config1/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/vmware-config1/vsock-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config1/vsock-only/linux/util.o
  CC [M]  /tmp/vmware-config1/vsock-only/linux/vsockAddr.o
  LD [M]  /tmp/vmware-config1/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config1/vsock-only/vsock.mod.o
  LD [M]  /tmp/vmware-config1/vsock-only/vsock.ko
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' から出ます
cp -f vsock.ko ./../vsock.o
make: ディレクトリ `/tmp/vmware-config1/vsock-only' から出ます
The vsock module loads perfectly into the running kernel.

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

Configuring a bridged network for vmnet0.

Please specify a name for this network.
[Bridged]

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.

Please specify a name for this network. [NAT]

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)...

The subnet 172.16.206.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.206.0.

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.

Please specify a name for this network.
[HostOnly]

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)...

The subnet 192.168.138.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

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

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

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

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config1/vmnet-only' に入ります
make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' に入ります
  CC [M]  /tmp/vmware-config1/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config1/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config1/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config1/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config1/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config1/vmnet-only/filter.o
  CC [M]  /tmp/vmware-config1/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config1/vmnet-only/smac_compat.o
  CC [M]  /tmp/vmware-config1/vmnet-only/smac.o
  CC [M]  /tmp/vmware-config1/vmnet-only/vnetEvent.o
  CC [M]  /tmp/vmware-config1/vmnet-only/vnetUserListener.o
  LD [M]  /tmp/vmware-config1/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config1/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config1/vmnet-only/vmnet.ko
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' から出ます
cp -f vmnet.ko ./../vmnet.o
make: ディレクトリ `/tmp/vmware-config1/vmnet-only' から出ます
The vmnet module loads perfectly into the running kernel.

Please specify a port for remote connections to use [902]

Please specify a port for standard http connections to use [8222]

Please specify a port for secure http (https) connections to use [8333]

The current administrative user for VMware Server  is ''.  Would you like to
specify a different administrator? [no] yes

Please specify the user whom you wish to be the VMware Server administrator
 ono

Using ono as the VMware Server administrator.

The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'apport' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: script vmware-autostart: service VMware already provided!
insserv: script vmware-core: service VMware already provided!
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'atd' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udev-finish' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'cron' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'dmesg' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'ufw' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth-splash' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'console-setup' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth-stop' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hostname' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hwclock' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth-log' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'network-interface' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: script vmware-mgmt: service VMware already provided!
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'irqbalance' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'network-interface-security' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and inetd if stopped
insserv:  loop involving service inetd 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 inetd and rsyslog if stopped
insserv: exiting now without changing boot order!
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

The path "/var/lib/vmware/Virtual Machines" does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [yes]

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:

You cannot power on any virtual machines until you enter a valid serial number.
To enter the serial number, run this configuration program again.

Creating a new VMware VIX API installer database using the tar4 format.

Installing VMware VIX API.

In which directory do you want to install the VMware VIX API binary files?
[/usr/bin]

In which directory do you want to install the VMware VIX API library files?
[/usr/lib/vmware-vix/lib]

The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the VMware VIX API document pages?
[/usr/share/doc/vmware-vix]

The path "/usr/share/doc/vmware-vix" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware VIX API 1.6.2 build-203138 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl".

Enjoy,

--the VMware team

Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family:                           done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                   done
   Host-only networking on /dev/vmnet1 (background)                    done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet8 (background)                    done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   VMware Server Authentication Daemon (background)                    done
   Shared Memory Available                                             done
Starting VMware management services:
   VMware Server Host Agent (background)                               done
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                                    done

The configuration of VMware Server 2.0.2 build-203138 for Linux for this
running kernel completed successfully.

Housekeeping...
Thank you for using the script!
Patch provided by:
        Ramon de Carvalho Valle
        http://risesecurity.org
Script author:
        Radu Cotescu
        http://radu.cotescu.com
$

milk_btn_pagetop.png

 

エラー発生時のインストール操作

$ ls
VMware-server-2.0.2-203138.i386.tar.gz  vmware-server-distrib
$ cd vmware-server-distrib/
$ ls
FILES  bin  doc  etc  installer  lib  man  sbin  vmware-install.pl  vmware-vix
$ sudo ./vmware-install.pl
[sudo] password for ono:
Creating a new VMware Server installer database using the tar4 format.

Installing VMware Server.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/share/man]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Server 2.0.2 build-203138 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   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) yes

Thank you.

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.32-24-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config0/vmmon-only' に入ります
make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' に入ります
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:31:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:38,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:99:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:
/tmp/vmware-config0/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config0/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:103,
                 from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:37,
                 from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:33,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/vm_basic_asm.h:46,
                 from /tmp/vmware-config0/vmmon-only/./include/rateconv.h:45,
                 from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:40,
                 from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:33,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:62:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:177:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:346:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:453:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:103:
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:119:
/tmp/vmware-config0/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU ’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] エラー 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-24-generic' から出ます
make: *** [vmmon.ko] エラー 2
make: ディレクトリ `/tmp/vmware-config0/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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.

$

milk_btn_pagetop.png

2010.10.11