Skip to content
Advertisement

Amazon EC2 Linux – Azure devops Agent installation throws an error while run config file

./config.sh: line 85: ./bin/Agent.Listener: cannot execute binary file

Advertisement

Answer

Update:

The build agent does not support x64 based ARM (aarch64, arm64). More details please take a look at this similar issue: ARM agent fails to configure


The agent is based on .NET Core 2.1. You can run this agent on several Linux distributions. We support the following subset of .NET Core supported distributions:

x64

  • CentOS 7, 6 (see note 1)
  • Debian 9
  • Fedora 30, 29
  • Linux Mint 18, 17
  • openSUSE 42.3 or later
  • Oracle Linux 7
  • Red Hat Enterprise Linux 8, 7, 6 (see note 1)
  • SUSE Enterprise Linux 12 SP2 or later
  • Ubuntu 18.04, 16.04

ARM32 (see note 2)

  • Debian 9
  • Ubuntu 18.04

Regardless of your platform, you will need to install Git 2.9.0 or higher. We strongly recommend installing the latest version of Git.

Not familiar with Amazon related product, however you need to make sure that environment meet all prerequisites above. Otherwise, the build agent could not be installed succeed. Update:


Besides, you could also give a try with some other environment to narrow down your issue. Also suggest you to use the latest version of the agent.

More details please kindly refer our official tutorial here: Self-hosted Linux agents

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement