# Facing issue adding fleet server

**URL:** https://discuss.elastic.co/t/facing-issue-adding-fleet-server/340803
**Category:** Kibana
**Tags:** fleet
**Created:** [August 15, 2023, 4:10am UTC](https://discuss.elastic.co/t/facing-issue-adding-fleet-server/340803 "2023-08-15T04:10:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![TirathS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiraths/32/126828_2.png) [@TirathS](https://discuss.elastic.co/u/TirathS)
#### Post date: [August 15, 2023, 4:10am UTC](https://discuss.elastic.co/t/facing-issue-adding-fleet-server/340803/1 "2023-08-15T04:10:56Z")

</div>

Hello All,

I am fairly new to entire elk stack and right now trying to setup a home lab. I am facing a weird issue while adding a fleet server.  
I am using the official guide to install and whenever i am doing:  
sudo ./elastic-agent install   
--fleet server-es=https://\*\*\*\*\*\*\*\*\*\*\*\* and further cmd.

it gives me error:  
bash: ./elastic-agent:cannot execute binary file : Exec format error.

can anyone advise what could be causing it?

I am running both kibana 8._._ and ELK 8._._ on centOS 9.

---

<div class="post-metadata">

### Author: ![Julia\_Bardi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julia_bardi/32/79463_2.png) [@Julia\_Bardi](https://discuss.elastic.co/u/Julia_Bardi)
#### Post date: [August 22, 2023, 10:59am UTC](https://discuss.elastic.co/t/facing-issue-adding-fleet-server/340803/2 "2023-08-22T10:59:21Z")

</div>

Hi Tirath,

It sounds like you are using a binary that is not valid for your OS/Architecture.  
Can you check in the downloads and try the binary for your architecture? [Elastic Agent 8.9.0 | Elastic](https://www.elastic.co/downloads/past-releases/elastic-agent-8-9-0)

`uname -a` will tell you what architecture you have on Linux so you can pick the right binary.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 19, 2023, 11:00am UTC](https://discuss.elastic.co/t/facing-issue-adding-fleet-server/340803/3 "2023-09-19T11:00:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
