カーネルアップデートしたら、VMware-toolsのサービス起動が失敗していた。
●事象詳細と対処
・状態確認
[root@localhost ~]# systemctl status vmware-tools
● vmware-tools.service - SYSV: Manages the services needed to run VMware software
Loaded: loaded (/etc/rc.d/init.d/vmware-tools)
Active: failed (Result: exit-code) since 日 2016-09-04 06:42:04 JST; 2min 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 1214 ExecStart=/etc/rc.d/init.d/vmware-tools start (code=exited, status=1/FAILURE)
9月 04 06:42:35 localhost.localdomain systemd[1]: Starting SYSV: Manages the services needed to run VMware software...
9月 04 06:42:03 localhost.localdomain vmware-tools[1214]: Checking acpi hot plug[ OK ]
9月 04 06:42:03 localhost.localdomain vmware-tools[1214]: Starting VMware Tools services in the virtual machine:
9月 04 06:42:03 localhost.localdomain vmware-tools[1214]: Switching to guest configuration:[ OK ]
9月 04 06:42:03 localhost.localdomain vmware-tools[1214]: Guest filesystem driver:[失敗]
9月 04 06:42:04 localhost.localdomain vmware-tools[1214]: Mounting HGFS shares:[失敗]
9月 04 06:42:04 localhost.localdomain systemd[1]: vmware-tools.service: control process exited, code=exited status=1
9月 04 06:42:04 localhost.localdomain systemd[1]: Failed to start SYSV: Manages the services needed to run VMware software.
9月 04 06:42:04 localhost.localdomain systemd[1]: Unit vmware-tools.service entered failed state.
9月 04 06:42:04 localhost.localdomain systemd[1]: vmware-tools.service failed.
・対策
参考サイトによると、上記のエラーは
VMware-toolsがカーネルのファイルライブラリに依存関係を持っているが故に発生していた模様。
対策として、vmware-config-tools.plを実行し、再構成すれば良いと書いてある。
[root@localhost ~]# /usr/bin/vmware-config-tools.pl
Initializing...
Making sure services for VMware Tools are stopped.
Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
Stopping vmware-tools (via systemctl): [ OK ]
The module vmci has already been installed on this system by another installer
(略)
・再状態確認
[root@localhost ~]# systemctl status vmware-tools
● vmware-tools.service - SYSV: Manages the services needed to run VMware software
Loaded: loaded (/etc/rc.d/init.d/vmware-tools)
Active: active (exited) since 日 2016-09-04 06:49:16 JST; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 18778 ExecStop=/etc/rc.d/init.d/vmware-tools stop (code=exited, status=0/SUCCESS)
Process: 19033 ExecStart=/etc/rc.d/init.d/vmware-tools start (code=exited, status=0/SUCCESS)
9月 04 06:49:15 localhost.localdomain systemd[1]: Starting SYSV: Manages the services needed to run VMware software...
9月 04 06:49:16 localhost.localdomain vmware-tools[19033]: Checking acpi hot plug[ OK ]
9月 04 06:49:16 localhost.localdomain vmware-tools[19033]: Starting VMware Tools services in the virtual machine:
9月 04 06:49:16 localhost.localdomain vmware-tools[19033]: Switching to guest configuration:[ OK ]
9月 04 06:49:16 localhost.localdomain vmware-tools[19033]: Guest filesystem driver:[ OK ]
9月 04 06:49:16 localhost.localdomain vmware-tools[19033]: Mounting HGFS shares:[失敗]
9月 04 06:49:16 localhost.localdomain systemd[1]: Started SYSV: Manages the services needed to run VMware software.
なお、Mounting HGFS shares:[失敗]が発生しているが、これはホストOSとゲストOSのファイル共有機能を有効にすれば解決するらしい。
今は、同機能を意図的に無効にしているので、無視することとする。
●参考
VMware Tools fail to start after a Linux guest operating system kernel upgrade (2050592)
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2050592
スポンサーサイト
- 2016/09/04(日) 07:28:35|
- Linux/Unix
-
| トラックバック:0
-
| コメント:0