unable to run elastic agent on ec2

Hi, i'm unable to run the elastic agent on ec2, this is the content of /home/bamboo/bamboo-elastic-agent.out


Syncing Elastic Bamboo Agent files...
2016-08-29 13:47:29,694 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-c1/5.12.4-D20160704T134120/aa02e30788f7683b8f5431d112a3a6dec65b44065b68d45b46c102a9452b0435/ to /opt/bamboo-elastic-agent
2016-08-29 13:47:33,963 INFO [main] [S3Synchroniser] Syncing s3://bamboo-agent-release-eu-c1/5.12.4-D20160704T134120/aa02e30788f7683b8f5431d112a3a6dec65b44065b68d45b46c102a9452b0435/ to /opt/bamboo-elastic-agent
2016-08-29 13:47:33,964 INFO [main] [AmazonClients] Detecting bucket location for [bamboo-agent-release-eu-c1]
2016-08-29 13:47:35,224 WARN [main] [AmazonClients] Unable to get bucket location for [bamboo-agent-release-eu-c1], using default. Error: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: E65F0E5DDB161097), S3 Extended Request ID: sCPjXw3WYC4z2g1JPvI3YICbBMq7hof0sazlaUkXfzokPOhVNzJFDGfseofzOio5pZXMHpZ4F7M=
2016-08-29 13:47:35,224 INFO [main] [S3Synchroniser] Fetching the list of remote objects...
2016-08-29 13:47:35,241 ERROR [main] [ElasticAgentInstaller] Unable to access S3 bucket, dumping the route table:
2016-08-29 13:47:35,241 INFO [main] [ElasticAgentInstaller] Starting [route, -n]
Exception in thread "main" java.io.IOException: Cannot run program "route": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.runCommand(ElasticAgentInstaller.java:133)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.dumpRouteTable(ElasticAgentInstaller.java:123)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.install(ElasticAgentInstaller.java:83)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:197)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 4 more


any ideas how to solve it?


1 answer

This widget could not be displayed.

I've refreshed the permissions, can you check now?

now worked fine. how can we make sure this won't happen again? what was the problem?


Amazon added a new IP range and we didn't have it whitelisted. That happens very rarely, it's unlikely to happen to you again.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

80 views 2 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you