Hatena::ブログ(Diary)

OneRingToFind このページをアンテナに追加 RSSフィード

 “気持ちなんて伝わらない、言葉を尽くして説明しなければ、
              コミュニケーションは成り立たない”『四季 秋』 森 博嗣

2009.03.19 IBM、SUNと買収交渉!

VMwareServerがカーネルバージョンアップ後にエラーで起動しない件

VMwareServerはカーネルバージョンアップするとVMwareがエラーで起動できなるなる。というか起動していた状態でも動きが変になる。手元の環境ではインスタンスは動いているが外部からネットワークアクセスできなくなった。

環境は以下。

  • VMwareServer2.0
  • ホストOS、ゲストOSともにCentOS5.2

VMware起動時のエラーメッセージ

$vmwareを実行すると以下のメッセージが返ってくる

VMwareServer is installed, but it has not been (correctly) configured

for the running kernel. To (re-)configure it, invoke the

following command: /usr/bin/vmware-config.pl.

また#/sbin/service vmware startすると以下のメッセージ

Stopping VMware autostart virtual machines:

Virtual machines [失敗]

Stopping VMware management services:

VMware Virtual Infrastructure Web Access

VMware Server Host Agent [失敗]

Stopping VMware services:

VMware Authentication Daemon [ OK ]

VM communication interface socket family: [ OK ]

Virtual machine communication interface [ OK ]

Virtual machine monitor [ OK ]

Bridged networking on /dev/vmnet0 [ OK ]

Host network detection [ OK ]

Virtual ethernet [ OK ]


解決方法:VMwareを使うには/usr/bin/vmware-config.plしなおす。

vmware-config.plはインストール時の初期設定で使ったウィザード。これを再度実行すれば直る。ちなみにほとんどの項目は既存設定を読んでくれるがDo you want to enter a serial number now?の所でnoにしたら直らなかったのでちゃんとシリアルを再入力する必要があるかもしれない。

$/usr/bin/vmware-config.pl

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:

Virtual machines [失敗]

Stopping VMware management services:

VMware Virtual Infrastructure Web Access

VMware Server Host Agent [失敗]

Stopping VMware services:

VMware Authentication Daemon [ OK ]

VM communication interface socket family: [ OK ]

Virtual machine communication interface [ OK ]

Virtual machine monitor [ OK ]

Bridged networking on /dev/vmnet0 [ OK ]

Host network detection [ OK ]

Virtual ethernet [ OK ]

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vmmon module loads perfectly into the

running kernel.

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vmci module loads perfectly into the

running kernel.

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vsock module loads perfectly into the

running kernel.

This program previously created the file /dev/vmnet0, and was about to remove

it. Somebody else apparently did it already.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?

(yes/no) [yes]

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vmnet module loads perfectly into the

running kernel.

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

Using Existing SSL Certificate.

You have a pre-existing config.xml. The new version will be created as

/etc/vmware/hostd/NEW_config.xml. Please check the new file for any new values

that you may need to migrate to your current config.xml.

Do you want to use the current proxy port values? [yes]

The current administrative user for VMware Server is 'root'. Would you like

to specify a different administrator? [no]

Using root as the VMware Server administrator.

You have a pre-existing authorization.xml. The new version will be created as

/etc/vmware/hostd/NEW_authorization.xml. Please check the new file for any new

values that you may need to migrate to your current authorization.xml.

You have a pre-existing vmInventory.xml. The new version will be created as

/etc/vmware/hostd/NEW_vmInventory.xml. Please check the new file for any new

values that you may need to migrate to your current vmInventory.xml.

You have a pre-existing clients.xml. The new version will be created as

/usr/lib/vmware/hostd/docroot/client/NEW_clients.xml. Please check the new

file for any new values that you may need to migrate to your current

clients.xml.

This program previously created the file

/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/work, and was about to

remove it. Somebody else apparently did it already.

In which directory do you want to keep your virtual machine files?

[/var/vm/]

You have a pre-existing datastores.xml. The new version will be created as

/etc/vmware/hostd/NEW_datastores.xml. Please check the new file for any new

values that you may need to migrate to your current datastores.xml.

Do you want to enter a serial number now? (yes/no/help) [no] yes

Please enter your 20-character serial number.

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

スパム対策のためのダミーです。もし見えても何も入力しないでください
ゲスト


画像認証