-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent not starting on Elastic Beanstalk instance #238
Comments
@TJDev
|
@dkhokhlov |
I assume the service is enabled:
May be start condition is not working. Unit file says to start after network.target:
is it started?
to see whole journal log since last boot:
|
There is no entry for logdna-agent.
Network is started |
What happens if you try to enable the service and test it again?
|
|
my bad, "old" agent, Sys-V based service. the log goes to:
|
@TJDev resolved? |
@dkhokhlov Sorry for the late response. Unfortunately the issue is still open. The agent does not start after deployment. |
What is in the log? /var/log/logdna-agent.log |
Deployment on 12:23, manual restart on 12:42 |
there was agent shutdown - SIGTERM, graceful stop request before you started it again. |
I expect the
|
cfn-hub is about AWS config changes... lets temporary try to disable agent stop in init script to isolate - comment this whole section out in
expected:
|
With whole section you mean the complete if-else-branch, line 76 to 105? |
lets keep top if and echo and remove this: logdna-agent/tools/files/linux/init-script Lines 78 to 102 in f0d219d
|
I will switch to logdna-agent-v2 as I have also out of memory exceptions for time to time and the systemd unit file should restart the agent in that case. |
I'm running an app on AWS Elastic Beanstalk running Amazon Linux 2 with Docker platform. I have changed deployment to immutable, so that with every app update a new EC2 instance is spawned as I currently have only one instance running and do want minimal downtime. Unfortunately the LogDNA Agent does not start up and after every deployment I have to start it manually (
sudo systemctl start logdna-agent
).I had used the script v1 and also tried to use services key or platform hooks but nothing worked.
Is there anything I can do or debug why the service is not starting?
The text was updated successfully, but these errors were encountered: