vmware-toolsが起動しなくなったら
VMのクライアントにこんな感じでアラートが付いて消えないことがある。
サービスは動いているし、SSHでログインもできる。
iDCの中の人に聞くと、ゲストOSを監視するvmware-toolsが止まっているかららしい。
本当に止まってるか確認してみる。
プロセスは?
1 2 |
[root@resaku-eki-01 resaku]# ps -ef | grep vmtools root 4900 4892 0 10:28 pts/0 00:00:00 grep vmtools |
だめっくす。
動いてますかー?
1 2 |
[root@resaku-eki-01 resaku]# status vmware-tools vmware-tools stop/waiting |
止まってまーす!
動け!
1 2 |
[root@resaku-eki-01 resaku]# start vmware-tools start: Job failed to start |
嫌です!
こういう時は誰しもこれをやるらしい。
1 |
/usr/bin/vmware-config-tools.pl |
というところまではよく紹介されてるけど、その後の流れが割とビビるので書いておく。
いや結論としては何も怖いことはなくてEnter連打するだけで大丈夫だけど。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
[root@resaku-eki-01 resaku]# /usr/bin/vmware-config-tools.pl Initializing... Making sure services for VMware Tools are stopped. Found a compatible pre-built module for vmci. Installing it... Found a compatible pre-built module for vsock. Installing it... The module vmxnet3 has already been installed on this system by another installer or package and will not be modified by this installer. Use the flag --clobber-kernel-modules=vmxnet3 to override. The module pvscsi has already been installed on this system by another installer or package and will not be modified by this installer. Use the flag --clobber-kernel-modules=pvscsi to override. The module vmmemctl has already been installed on this system by another installer or package and will not be modified by this installer. Use the flag --clobber-kernel-modules=vmmemctl to override. The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no] Found a compatible pre-built module for vmxnet. Installing it... The vmblock enables dragging or copying files between host and guest in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no] !!! [EXPERIMENTAL] !!! VMware automatic kernel modules enables automatic building and installation of VMware kernel modules at boot that are not already present. By selecting yes, you will be enabling this experimental feature. You can always disable this feature by re-running vmware-config-tools.pl. Would you like to enable VMware automatic kernel modules? [no] No X install found. Creating a new initrd boot image for the kernel. vmware-tools start/running The configuration of VMware Tools 9.0.5 build-1065307 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 "/usr/bin/vmware-toolbox-cmd" from the command line. 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 |
1 2 |
Do you wish to enable this feature? [no] |
[no]しかない!
こんな感じで選択の余地のない選択肢が2、3回出てきます。
!!! [実験] !!!
いいよもうそんなに強調しないで。
裏で静かに進めておくれ。
という訳でツールは動きだして、クライアント上のアラートも消えました。
1 2 |
[root@resaku-eki-01 resaku]# status vmware-tools vmware-tools start/running |
adpc
adpc
関連記事
関連記事はありませんでした