Symptoms:
- Upgrading the vCenter Server Appliance fails on Stage 2 Pre-upgrade checks with the error:
Error: Internal error occurs during vSphere ESX Agent Manager pre-upgrade checks.
- In the /var/log/vmware/upgrade/CollectRequirements_com.vmware.eam_xx.log file, you see similar to:
Waiting for VMware ESX Agent Manager.......
WARNING: VMware ESX Agent Manager may have failed to start.
..
"id": "install.ciscommon.command.errinvoke",
"localized": "An error occurred while invoking external command : 'Command: ['/sbin/service', u'vmware-eam', 'start']\nStderr: '",
"translatable": "An error occurred while invoking external command : '%(0)s'"
...
ERROR:root:Unable to start service vmware-eam, Exception: {
"resolution": null,
"detail": [
{
"args": [
"vmware-eam"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-eam'",
"translatable": "An error occurred while starting service '%(0)s'"
..
Traceback (most recent call last):
File "/tmp/vmware-root/tmpvmware252/payload/componentPhaseLauncher.py", line 438, in main
executionResult = systemExtension(exeContext)
File "/tmp/vmware-root/tmpvmware252/libs/sdk/extensions.py", line 94, in __call__
result = self.extension(*args)
File "/tmp/vmware-root/tmpvmware252/libs/sdk/extensions.py", line 110, in _func
return func(*args)
File "/tmp/vmware-root/tmpvmware252/payload/component-scripts/eam/__init__.py", line 104, in preCheck
sourceVcPlatform
File "/tmp/vmware-root/tmpvmware252/payload/component-scripts/eam/__init__.py", line 141, in _findUpgradeMistmatches
mismatch = check(version, platform)
File "/tmp/vmware-root/tmpvmware252/payload/component-scripts/eam/__init__.py", line 179, in _eamServiceStartedCheck
if _startEamService(version, platform):
File "/tmp/vmware-root/tmpvmware252/payload/component-scripts/eam/__init__.py", line 313, in _startEamService
serviceManager.start(serviceName)
File "/tmp/vmware-root/tmpvmware252/libs/sdk/service_manager.py", line 966, in wrapper
return getattr(controller, attr)(*args, **kwargs)
File "/tmp/vmware-root/tmpvmware252/libs/sdk/service_manager.py", line 874, in start
super(VMwareServiceController, self).start(serviceName)
File "/tmp/vmware-root/tmpvmware252/libs/sdk/service_manager.py", line 732, in start
raise IllegalServiceOperation(errorText)
IllegalServiceOperation: Service cannot be started. Error: INFO:root:Service: vmware-eam, Action: start
[YYYY-MM-DDTHH:MM:SS] Invoked command: ['/sbin/service', u'vmware-eam', 'start']
[YYYY-MM-DDTHH:MM:SS] RC = 1
Stdout = Starting VMware ESX Agent Manager...
Waiting for VMware ESX Agent Manager.......
WARNING: VMware ESX Agent Manager may have failed to start.
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.