# Unable to connect to ELK server through a Client server with Filebeat configured

**URL:** <https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 20, 2016, 8:57am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955 "2016-07-20T08:57:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalpak\_Kawadkar](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@Kalpak\_Kawadkar](https://discuss.elastic.co/u/Kalpak_Kawadkar)\
**Post date:** [July 20, 2016, 8:57am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955/1 "2016-07-20T08:57:13Z")

</div>

I followed the site [[https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-16-04](https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-16-04) ]

but I am unable to test filebeat installtion --\> output shows 0 total hits

Then I followed [[Configure Filebeat for All Logs](https://discuss.elastic.co/t/configure-filebeat-for-all-logs/39514) ]

and tried

/etc/init.d/filebeat -v -d "\*"

but it is showing,``  
pi@raspberrypi:~ $ /etc/init.d/filebeat start -v -d "\*"  
[....] Starting filebeat (via systemctl): filebeat.serviceFailed to start filebeat.service: Access denied  
failed!

Then I did this,

pi@raspberrypi:~ $ filebeat -c filebeat.yml -e -v  
bash: /usr/bin/filebeat: cannot execute binary file: Exec format error

How can I start filebeat & send data to ELK server?

Any help would be great ,  
Thanks!

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 20, 2016, 11:45am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955/2 "2016-07-20T11:45:51Z")

</div>

> pi@raspberrypi:~ $ /etc/init.d/filebeat start -v -d "\*"  
> [....] Starting filebeat (via systemctl): filebeat.serviceFailed to start filebeat.service: Access denied  
> failed!

Perhaps you need to run the command as root?

> pi@raspberrypi:~ $ filebeat -c filebeat.yml -e -v  
> bash: /usr/bin/filebeat: cannot execute binary file: Exec format error

Did you download a Filebeat binary that's compiled for ARM and thus might be able to work on a Raspberry Pi?

---

<div class="post-metadata">

**Author:** ![Kalpak\_Kawadkar](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@Kalpak\_Kawadkar](https://discuss.elastic.co/u/Kalpak_Kawadkar)\
**Post date:** [July 21, 2016, 7:24am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955/3 "2016-07-21T07:24:55Z")

</div>

@magnusbaeck , from where would I get a Filebeat binary that's compiled for ARM,could you post the respective link.

Though I followed this link[[Static build](https://discuss.elastic.co/t/static-build/34354) ], but still I am unable to get Filebeat with ARM architecture....

I had configured DEB 64-bit filebeat earlier.

Thanks for help!!

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [July 21, 2016, 11:09pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955/4 "2016-07-21T23:09:39Z")

</div>

Elastic doesn't offer any official packages for Linux/ARM. Filebeat can be built for ARM without a problem. Our [Jenkins](http://build-eu-00.elastic.co/view/Beats/job/Filebeat/) server publishes a filebeat binary built for ARM, but it's just the binary and not any of the supporting config/scripts.

You can download the file from [here](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=jenkins/filebeat/). The directory marked as "634-593db38bf771abf33cae3824d64de8cd74bb4da4" (that's the build id and the git commit) is from the commit associated with the 5.0.0-alpha4 tag in Github. S3 purges the files after ~3 weeks so that dir won't be around for long.

---

<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:** [August 10, 2016, 8:57am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elk-server-through-a-client-server-with-filebeat-configured/55955/5 "2016-08-10T08:57:17Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
