# Exiting: error loading config file: stat filebeat.yml: no such file or directory

**URL:** https://discuss.elastic.co/t/exiting-error-loading-config-file-stat-filebeat-yml-no-such-file-or-directory/205154
**Category:** Beats
**Tags:** filebeat
**Created:** [October 24, 2019, 9:03pm UTC](https://discuss.elastic.co/t/exiting-error-loading-config-file-stat-filebeat-yml-no-such-file-or-directory/205154 "2019-10-24T21:03:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![thurston](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@thurston](https://discuss.elastic.co/u/thurston)
#### Post date: [October 24, 2019, 9:03pm UTC](https://discuss.elastic.co/t/exiting-error-loading-config-file-stat-filebeat-yml-no-such-file-or-directory/205154/1 "2019-10-24T21:03:03Z")

</div>

Hello,

I compiled filebeat from source to run on arm architecture. I successfully have filebeat running, but I have noticed that I can't just run filebeat command. ex. filebeat setup -e

Contrary to normal filebeat installations, system module is disabled. I got an error when I attempted to run:

```auto
filebeat modules enable system

```

output:

```auto
bash: filebeat: command not found

```

After some some digging around I think I figured out that the config path is not set. In attempt to set the paths, I am not making any progress. Just a blinking cursor that sits forever or until I hit ctrl + c

```auto
./filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat

```

Is this normal behavior or am I missing something in setting the paths?

Thanks  
/JT

---

<div class="post-metadata">

### Author: ![kumarabhi](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kumarabhi](https://discuss.elastic.co/u/kumarabhi)
#### Post date: [October 24, 2019, 11:04pm UTC](https://discuss.elastic.co/t/exiting-error-loading-config-file-stat-filebeat-yml-no-such-file-or-directory/205154/2 "2019-10-24T23:04:02Z")

</div>

You can try Filebeat to test config file  
/usr/share/filebeat/bin/filebeat test config -c /etc/filebeat/filebeat.yml

---

<div class="post-metadata">

### Author: ![thurston](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@thurston](https://discuss.elastic.co/u/thurston)
#### Post date: [October 25, 2019, 12:58pm UTC](https://discuss.elastic.co/t/exiting-error-loading-config-file-stat-filebeat-yml-no-such-file-or-directory/205154/3 "2019-10-25T12:58:59Z")

</div>

test config returns "Config ok". I don't think this is a config issue. It is a path issue. I don't want to have to type "/usr/share/filebeat/bin/filebeat test config -c /etc/filebeat/filebeat.yml". i just want to simply type"filebeat test config"

---

<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: [November 22, 2019, 1:04pm UTC](https://discuss.elastic.co/t/exiting-error-loading-config-file-stat-filebeat-yml-no-such-file-or-directory/205154/4 "2019-11-22T13:04:23Z")

</div>

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