By using AWS re:Post, you agree to the Terms of Use

AWS Inspector agent install on EC2

0

Error while installing AWS Agent on EC2- error is cannot execute binary file

2 Answers
0

Is there an error message? What is the OS running on EC2?

answered 24 days ago
0

It looks like you're installing the Amazon Inspector Classic agent - please be aware there is a newer version of Amazon Inspector that can be used in many situations.

First - it seems you may be downloading the executable as root (using sudo), and for some reason the downloaded file is not executable. This will result in invalid permissions on the executable, and lead to the error you're seeing.

You may need to run sudo chmod +x <<FILENAME>> in order to make the file executable.

Please refer to this support article for detailed instructions on installing the Amazon Inspector Classic agent: https://aws.amazon.com/premiumsupport/knowledge-center/set-up-amazon-inspector/

If you were intending to use Amazon Inspector (the newer service), please review the Getting Started guide here: https://docs.aws.amazon.com/inspector/latest/user/getting_started_tutorial.html

answered 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions