# Filebeat command not found

**URL:** <https://discuss.elastic.co/t/filebeat-command-not-found/97686>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 20, 2017, 1:05pm UTC](https://discuss.elastic.co/t/filebeat-command-not-found/97686 "2017-08-20T13:05:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibrahimsharaf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibrahimsharaf/32/17304_2.png) [@ibrahimsharaf](https://discuss.elastic.co/u/ibrahimsharaf)\
**Post date:** [August 20, 2017, 1:05pm UTC](https://discuss.elastic.co/t/filebeat-command-not-found/97686/1 "2017-08-20T13:05:39Z")

</div>

Hi there, I am using Ubuntu with the latest filebeat version, to start filebeat I run `sudo /etc/init.d/filebeat start` and I get `[ok] Starting filebeat (via systemctl): filebeat.service.`

Then I want to run `filebeat -c filebeat.yml -configtest` to validate configurations sanity but I get filebeat: command not found.

How to solve this issue?

---

<div class="post-metadata">

**Author:** ![EddieTurizo](https://avatars.discourse-cdn.com/v4/letter/e/8edcca/32.png) [@EddieTurizo](https://discuss.elastic.co/u/EddieTurizo)\
**Post date:** [August 20, 2017, 3:34pm UTC](https://discuss.elastic.co/t/filebeat-command-not-found/97686/2 "2017-08-20T15:34:15Z")

</div>

@ibrahimsharaf If you installed the DEB package, you'll want to run

`./filebeat.sh -configtest -e`

[https://www.elastic.co/guide/en/beats/filebeat/5.5/filebeat-configuration.html](https://www.elastic.co/guide/en/beats/filebeat/5.5/filebeat-configuration.html)

---

<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 17, 2017, 3:34pm UTC](https://discuss.elastic.co/t/filebeat-command-not-found/97686/3 "2017-09-17T15:34:38Z")

</div>

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