First I noticed /etc/vmware-eam/eam.properties was empty, so I poulated it with the correct entries using another working vCSA (changed URLs and CM configuration URL with the correct hostid, but the service still does not start.
I see the following output if I try and start EAM via shell.
I have a VMware ticket open but they are being really slow at getting back to me.
Is it possible to remove the extension and add it again? I suspect that due to the disk running out of space a few weeks ago some files may have become corrupt.
service-control --start vmware-eam
INFO:root:Service: vmware-eam, Action: start
Service: vmware-eam, Action: start
2017-12-20T10:38:45.407Z Running command: ['/sbin/chkconfig', u'vmware-eam']
2017-12-20T10:38:45.442Z Done running command
2017-12-20T10:38:45.442Z Running command: ['/sbin/service', u'vmware-eam', 'status']
2017-12-20T10:38:45.489Z Done running command
2017-12-20T10:38:45.489Z Running command: ['/sbin/chkconfig', '--force', u'vmware-eam', 'on']
2017-12-20T10:38:45.524Z Done running command
2017-12-20T10:38:45.524Z Running command: ['/sbin/service', u'vmware-eam', 'start']
2017-12-20T10:38:49.191Z Done running command
2017-12-20T10:38:49.192Z Invoked command: ['/sbin/service', u'vmware-eam', 'start']
2017-12-20T10:38:49.192Z RC = 1
Stdout = Starting VMware ESX Agent Manager...
Waiting for VMware ESX Agent Manager......
WARNING: VMware ESX Agent Manager may have failed to start.
Last login: Wed Dec 20 10:31:58 UTC 2017 on pts/1
Stderr =
2017-12-20T10:38:49.192Z {
"resolution": null,
"detail": [
{
"args": [
"Command: ['/sbin/service', u'vmware-eam', 'start']\nStderr: "
],
"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'"
}
],
"componentKey": null,
"problemId": null
}
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'"
}
],
"componentKey": null,
"problemId": null
}
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'"
}
],
"componentKey": null,
"problemId": null
}
This is the content of /storage/log/vmware/eam/wrapper.log when I try and start it.
I have looked at the eam-server-beans.xml file and it is identical to a server that is working.
STATUS | wrapper | 2017/12/20 11:26:30 | --> Wrapper Started as Daemon
STATUS | wrapper | 2017/12/20 11:26:30 | Java Service Wrapper Professional Edition 64-bit 3.5.24
STATUS | wrapper | 2017/12/20 11:26:30 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2017/12/20 11:26:30 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2017/12/20 11:26:30 | Licensed to VMware Global, Inc. for VMware vCenter ESX Agent Manager
STATUS | wrapper | 2017/12/20 11:26:30 |
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command line[0] : /usr/sbin/cloudvm-ram-size
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command line[1] : -J
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command line[2] : vmware-eam
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command line[3] : -O
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command line[4] : /etc/vmware/java/vmware-eam_jvm.conf
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command launched (pid: 12435), blocking for up to 3600 seconds...
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command completed with exit code: 0
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'wrapper_start': Command completed with exit code: 0 Continuing.
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command line[0] : /opt/vmware/bin/python
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command line[1] : ../wrapper/bin/update_pnid.py
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command line[2] :
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command line[3] :
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command line[4] :
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command launched (pid: 12442), blocking for up to 15 seconds...
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command completed with exit code: 0
INFO | wrapper | 2017/12/20 11:26:30 | Event Command 'jvm_prelaunch': Command completed with exit code: 0 Continuing.
STATUS | wrapper | 2017/12/20 11:26:30 | Launching a JVM...
INFO | jvm 1 | 2017/12/20 11:26:30 | Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M
INFO | jvm 1 | 2017/12/20 11:26:30 | WrapperManager: Initializing...
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp:
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'vcInventory' defined in class path resource [eam-server-beans.xml]: Could not resolve placeholder 'drs.demandCapacityRatio'
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:268)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:554)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:528)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:363)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at com.vmware.eam.util.Main.main(Main.java:50)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO | jvm 1 | 2017/12/20 11:26:31 | WrapperSimpleApp Error: at java.lang.Thread.run(Unknown Source)
STATUS | wrapper | 2017/12/20 11:26:33 | <-- Wrapper Stopped