Service-control failed. Error: Failed to start services in profile ALL. RC=2, stderr=Failed to start analytics services. Error: Service crashed while starting
analytics log:
-----------------2021-05-18T12:19:46.520-07:00 main INFO vmware.ph.phservice.service.Main Starting service2021-05-18T12:19:46.557-07:00 main INFO org.springframework.context.support.ClassPathXmlApplicationContext Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@21a06946: startup date [Tue May 18 12:19:46 PDT 2021]; root of context hierarchy2021-05-18T12:19:46.713-07:00 main FATAL vmware.ph.phservice.service.Main Error starting service:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [ph-common.xml]Offending resource: class path resource [phservice.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from class path resource [ph-common.xml] is invalid; nested exception is org.xml.sax./; lineNumber: 4; columnNumber: 8; Attribute name "c" associated with an element type "beans" must be followed by the ' = ' character. at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70) at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:118) at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:103)*Error complain about entries in ph-common.xml file inside /etc/vmware-analytics folder
ph-common.xml file inside /etc/vmware-analytics folder is corrupted with missing entries
service-control --start vmware-analytics