# Modules.go Filebeat 5.6 - CentOS

**URL:** https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721
**Category:** Beats
**Tags:** filebeat
**Created:** [November 30, 2017, 9:35am UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721 "2017-11-30T09:35:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![lara](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@lara](https://discuss.elastic.co/u/lara)
#### Post date: [November 30, 2017, 9:35am UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721/1 "2017-11-30T09:35:48Z")

</div>

Error in loading the modules.  
Filebeat 5.6 + CentOS

----error context-----

2017/11/30 09:21:42.132800 beat.go:297: INFO Home path: [/usr/share/filebeat/bin] Config path: [/etc/filebeat] Data path: [/usr/share/filebeat/bin/data] Logs path: [/usr/share/filebeat/bin/logs]  
2017/11/30 09:21:42.132838 beat.go:192: INFO Setup Beat: filebeat; Version: 5.6.3  
2017/11/30 09:21:42.132957 metrics.go:23: INFO Metrics logging every 30s  
2017/11/30 09:21:42.133333 logstash.go:90: INFO Max Retries set to: 3  
2017/11/30 09:21:42.133412 outputs.go:108: INFO Activated logstash as output plugin.  
2017/11/30 09:21:42.133516 publish.go:300: INFO Publisher name: [elastic01.intra.realstuff.ch](http://elastic01.intra.realstuff.ch)  
2017/11/30 09:21:42.133725 async.go:63: INFO Flush Interval set to: 1s  
2017/11/30 09:21:42.133739 async.go:64: INFO Max Bulk Size set to: 2048  
2017/11/30 09:21:42.133861 **modules.go:95: ERR Not loading modules. Module directory not found: /usr/share/filebeat/bin/module**

-------end of error------

**modules.go** is looking in the wrong directory, as the modules are located elsewhere.  
How to solve it in a correct way?

thanks in advance  
Lara

---

<div class="post-metadata">

### Author: ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)
#### Post date: [November 30, 2017, 11:01am UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721/2 "2017-11-30T11:01:23Z")

</div>

Hi @lara,

I'm wondering, how did you install Filebeat, and how are you running it? Looks like home path is wrong there, it should be `/usr/share/filebeat/`

Best regards

---

<div class="post-metadata">

### Author: ![lara](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@lara](https://discuss.elastic.co/u/lara)
#### Post date: [November 30, 2017, 3:47pm UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721/3 "2017-11-30T15:47:07Z")

</div>

Hi Carlos,

standard "yum" installation for what I think.  
I know that home path should be /usr/share/filebeat/ and the "modules" are right there.

thanks in advance for any hint  
Lara

---

<div class="post-metadata">

### Author: ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)
#### Post date: [November 30, 2017, 11:53pm UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721/4 "2017-11-30T23:53:23Z")

</div>

uhm, how do you launch filebeat? RPM packaging includes a wrapper script that we put in the PATH (`/usr/bin/filebeat`), it configures the proper paths for everything. So everything should work by default if you just run `filebeat` in a terminal.

---

<div class="post-metadata">

### Author: ![lara](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@lara](https://discuss.elastic.co/u/lara)
#### Post date: [December 1, 2017, 9:21am UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721/5 "2017-12-01T09:21:35Z")

</div>

As I am in testing phase I launch and stop manually in the following way:

/usr/share/filebeat/bin/filebeat -c filebeat.yml -path.config /etc/filebeat -e

thanks  
Lara

---

<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: [December 29, 2017, 9:21am UTC](https://discuss.elastic.co/t/modules-go-filebeat-5-6-centos/109721/6 "2017-12-29T09:21:45Z")

</div>

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