'Unable to Start AWS CloudAgent service
I downloaded CloudAgent service in EC2 instance and installed it using msiexec. When I try to run the service it is not starting. This is what I am seeing from the logs.
2022/04/30 23:05:51 I! I! Detected the instance is EC2 2022/04/30
23:05:51 Reading json config file path:
C:\ProgramData\Amazon\AmazonCloudWatchAgent\\amazon-cloudwatch-agent.json
...
C:\ProgramData\Amazon\AmazonCloudWatchAgent\\amazon-cloudwatch-agent.json
does not exist or cannot read. Skipping it. No json config files
found, please provide config, exit now 2022/04/30 23:05:51 I! Return
exit error: exit code=99 2022/04/30 23:05:51 I! there is no json
configuration when running translator 2022/04/30 23:09:57 I! I!
Detected the instance is EC2 2022/04/30 23:09:57 Reading json config
file path:
C:\ProgramData\Amazon\AmazonCloudWatchAgent\\amazon-cloudwatch-agent.json
...
C:\ProgramData\Amazon\AmazonCloudWatchAgent\\amazon-cloudwatch-agent.json
does not exist or cannot read. Skipping it. No json config files
found, please provide config, exit now 2022/04/30 23:09:57 I! Return
exit error: exit code=99 2022/04/30 23:09:57 I! there is no json
configuration when running translator
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|