Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
I recently began an effort to automate monitoring of an application. I ran into a problem where the machine agent service would start and then stop. The log file said it was unable to read controller-info.xml. My C# application was using an XmlDocument to load and save the XML. I discovered that it was saving as UTF-8 with BOM. The oringal controller-info.xml was saved as UTF-8 w/o BOM. This small change prevents the machine agent service from running. When I fixed the encoding it started working again.
My issue is that any agent service should be capable of handling XML whether it has a BOM or not.
Could you please share the machine agent log to debug the issue further.
We have seen same issue in the past when the xml file is opened with certain XML specific editors.
Also can you download the agent again and edit controller-info.xml with vi editor and let me know how it goes?