# Syntax error on Raspbian

**URL:** <https://discuss.elastic.co/t/syntax-error-on-raspbian/225508>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 28, 2020, 9:02pm UTC](https://discuss.elastic.co/t/syntax-error-on-raspbian/225508 "2020-03-28T21:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cereal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cereal/32/65245_2.png) [@Cereal](https://discuss.elastic.co/u/Cereal)\
**Post date:** [March 28, 2020, 9:02pm UTC](https://discuss.elastic.co/t/syntax-error-on-raspbian/225508/1 "2020-03-28T21:02:50Z")

</div>

I'm trying to install Metricbeat on Raspbian to track my Pi-hole. I followed the install instructions for linux on elastics website ([https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-configuration.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-configuration.html)). All I changed in the conf is the elastic and kibana ip address in the metricbeat.yaml files. When I try to start Metricbeat I get

```
root@raspberrypi:/opt/metricbeat-7.6.1-linux-x86_64# sudo ./metricbeat -e
./metricbeat: 1: ./metricbeat: Syntax error: "(" unexpected

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [March 30, 2020, 8:18am UTC](https://discuss.elastic.co/t/syntax-error-on-raspbian/225508/2 "2020-03-30T08:18:31Z")

</div>

Hi @Cereal!

Could you provide the complete output please?  
Also with what version of Metricbeat you are trying?

---

<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:** [April 27, 2020, 8:18am UTC](https://discuss.elastic.co/t/syntax-error-on-raspbian/225508/3 "2020-04-27T08:18:44Z")

</div>

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