# /etc/rc.d/init.d/filebeat for pfSense - freeBSD 13

**URL:** <https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 18, 2020, 10:32am UTC](https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084 "2020-05-18T10:32:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minh\_Ti\_n\_Tr\_n](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/minh_ti_n_tr_n/32/60754_2.png) [@Minh\_Ti\_n\_Tr\_n](https://discuss.elastic.co/u/Minh_Ti_n_Tr_n)\
**Post date:** [May 18, 2020, 10:32am UTC](https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084/1 "2020-05-18T10:32:57Z")

</div>

Hi, I just install filebeat v6.8.7 on my pfSense 2.4.5 box. But when I start with command  
`service filebeat start`  
it throws the error

```auto
start does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable

```

Can anyone provide me the startup file for filebeat on freeBSD?  
Or how to install the lastest version v7.6.0 on freeBSD?  
I tried the instruction: [https://blog.securitybits.io/2019/12/beats-7.5.0-on-pfsense-2.4.4/](https://blog.securitybits.io/2019/12/beats-7.5.0-on-pfsense-2.4.4/)  
but got error:

```auto
# cd filebeat/
# gmake
go build -ldflags "-X github.com/elastic/beats/libbeat/version.buildTime=2020-05-18T08:05:30Z -X github.com/elastic/beats/libbeat/version.commit=6a23e8f8f30f5001ba344e 4e54d8d9cb82cb107c"
# github.com/elastic/beats/vendor/github.com/DataDog/zstd
exec: "clang": executable file not found in $PATH
# github.com/elastic/beats/vendor/github.com/elastic/gosigar
exec: "clang": executable file not found in $PATH
gmake: *** [../libbeat/scripts/Makefile:121: filebeat] Error 2

```

Thanks a lots

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [May 18, 2020, 1:54pm UTC](https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084/2 "2020-05-18T13:54:54Z")

</div>

This looks like a configuration issue on the machine. Did you try to start the binary manually (not as a service)?

---

<div class="post-metadata">

**Author:** ![Minh\_Ti\_n\_Tr\_n](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/minh_ti_n_tr_n/32/60754_2.png) [@Minh\_Ti\_n\_Tr\_n](https://discuss.elastic.co/u/Minh_Ti_n_Tr_n)\
**Post date:** [May 18, 2020, 4:36pm UTC](https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084/3 "2020-05-18T16:36:04Z")

</div>

Hi, I cant find the binary. The directory system is difference to linux  
Do you suggest me the location, please?

---

<div class="post-metadata">

**Author:** ![Minh\_Ti\_n\_Tr\_n](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/minh_ti_n_tr_n/32/60754_2.png) [@Minh\_Ti\_n\_Tr\_n](https://discuss.elastic.co/u/Minh_Ti_n_Tr_n)\
**Post date:** [May 19, 2020, 2:38am UTC](https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084/4 "2020-05-19T02:38:58Z")

</div>

Hi, I tried to find but can't see. Check the module and v6.8.7 doesnt have zeek log module so I delete it.

---

<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:** [June 16, 2020, 2:38am UTC](https://discuss.elastic.co/t/etc-rc-d-init-d-filebeat-for-pfsense-freebsd-13/233084/5 "2020-06-16T02:38:58Z")

</div>

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