# Filebeat: unrecognized service

**URL:** <https://discuss.elastic.co/t/filebeat-unrecognized-service/175992>\
**Category:** Beats\
**Created:** [April 9, 2019, 9:15am UTC](https://discuss.elastic.co/t/filebeat-unrecognized-service/175992 "2019-04-09T09:15:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandip\_Giri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandip_giri/32/43760_2.png) [@Sandip\_Giri](https://discuss.elastic.co/u/Sandip_Giri)\
**Post date:** [April 9, 2019, 9:15am UTC](https://discuss.elastic.co/t/filebeat-unrecognized-service/175992/1 "2019-04-09T09:15:33Z")

</div>

Hi,

I have installed filebeat from source using below steps :

apt-get install -y golang make git && mkdir HOME/go \ && mkdir -p {GOPATH}/src/github.com/elastic   
&& cd ${GOPATH}/src/github.com/elastic   
&& git clone [https://github.com/elastic/beats.git](https://github.com/elastic/beats.git)   
&& cd beats/filebeat   
&& git checkout v6.6.2   
&& make

However I'm getting error "filebeat: unrecognized service" for command , "service filebeat start".  
Looks like I'm missing something here , Do I need to run any other command before starting the service ?

Any inputs will be appreciated. Thanks !

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 9, 2019, 9:44am UTC](https://discuss.elastic.co/t/filebeat-unrecognized-service/175992/2 "2019-04-09T09:44:44Z")

</div>

Building from source doesn't include the init files, you need to create that yourself.

Why not just use a deb/rpm?

---

<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:** [May 7, 2019, 11:44am UTC](https://discuss.elastic.co/t/filebeat-unrecognized-service/175992/3 "2019-05-07T11:44:45Z")

</div>

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