免責事項: これは英文の記事「vCenter services fail to start after a failed domain repoint operation with the error : Failed to start hvc, vpxd, vapi-endpoint, vpxd-svcs services. Error: Operation timed out」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
vCenter Server のドメイン再ポイント操作を実施した後、hvc、vpxd、vapi-endpoint、vpxd-svcs を含む複数のサービスが起動できません。
service-control --start --all で全サービスを開始しようとすると、次のエラーが発生します:
Performing start operation on profile: ALL...Successfully started service vmware-vmonService-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start hvc, vpxd, vapi-endpoint, vpxd-svcs services. Error: Operation timed out
/var/log/vmware/vmon.log に、vpxd-svcs サービス開始前に起動失敗したことを示す以下のエラー メッセージが記録されています。
YYYY-MM-DDThh:mm:ssZ Er(02) host-#### <vpxd-svcs> Service pre-start command failed with exit code 1.VMware vCenter Server 7.0
VMware vCenter Server 8.0
この問題は、ドメイン再ポイント操作の失敗により、サービス登録が完了していないことが原因です。
SSH で vCenter Server Appliance (VCSA) にログインしてください。
次のコマンドを実行し、すべてのソリューション ユーザーが登録されていることを確認してください:/usr/lib/vmware-vmafd/bin/dir-cli service list
ソリューション ユーザーが不足している場合は、lsdoctor ユーティリティを使用して再作成してください:python lsdoctor.py -u
次のコマンドを実行し、すべてのサービス登録が完了していることを確認してください:/usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk --no-check-cert | grep -i "Service Type:" | sort | uniq -c
サービス登録が不足している場合は、すべて再構築してください:python lsdoctor.py -r
vCenter のすべてのサービスを再起動して、変更を適用してください:service-control --stop --all && service-control --start --all