# Filebeat service hangs on first start amazon ec2

**URL:** <https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 5, 2016, 5:02pm UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436 "2016-04-05T17:02:01Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [April 14, 2016, 9:45am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/21 "2016-04-14T09:45:25Z")

</div>

I uploaded snapshot versions using the patched go-daemon [here](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=one-time-test/). Please give these a try.

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [April 14, 2016, 9:48am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/22 "2016-04-14T09:48:02Z")

</div>

Hmm, while testing I realized that stopping doesn't work and starting can result in duplicates. So maybe don't try them yet, I'll look into what's wrong.

---

<div class="post-metadata">

**Author:** ![bmiramont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bmiramont/32/8906_2.png) [@bmiramont](https://discuss.elastic.co/u/bmiramont)\
**Post date:** [April 14, 2016, 9:50am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/23 "2016-04-14T09:50:14Z")

</div>

ok thx, I'll wait

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [April 14, 2016, 10:31am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/24 "2016-04-14T10:31:31Z")

</div>

Ok, I re-uploaded the files. Seems to work fine in my tests now, can you check if it solves your issue?

---

<div class="post-metadata">

**Author:** ![bmiramont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bmiramont/32/8906_2.png) [@bmiramont](https://discuss.elastic.co/u/bmiramont)\
**Post date:** [April 14, 2016, 10:48am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/25 "2016-04-14T10:48:18Z")

</div>

ok, I'll try a fresh deployment. thank you

---

<div class="post-metadata">

**Author:** ![bmiramont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bmiramont/32/8906_2.png) [@bmiramont](https://discuss.elastic.co/u/bmiramont)\
**Post date:** [April 14, 2016, 11:31am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/26 "2016-04-14T11:31:46Z")

</div>

ok it works perfectly. thank you very much.

What is your deployement plan ? For how long will the URL that you provided to me be available ?  
will you publish a patched version of filebeat and topbeat soon ?

thank you again, saved my day(week)

Brice

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [April 14, 2016, 11:50am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/27 "2016-04-14T11:50:38Z")

</div>

Cool, good news. I will open a PR to go-daemon, hopefully it will be accepted soon. If it's not quickly accepted but looks good in our tests (seems so), we can still use a forked version until the path is accepted.

So unless we discover problems with it, it should be in our next patch release (1.2.2) which will be released probably around end of April.

I'd say you can use the packages I provided until we release 1.2.2. It's actually just 1.2.1 with the go-daemon binary swapped. I'll leave the files around until we release 1.2.2.

---

<div class="post-metadata">

**Author:** ![bmiramont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bmiramont/32/8906_2.png) [@bmiramont](https://discuss.elastic.co/u/bmiramont)\
**Post date:** [April 14, 2016, 11:53am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/28 "2016-04-14T11:53:30Z")

</div>

ok that's great. I'll use the url provided until 1.2.2 is released then.

have a nice day.

Brice

---

<div class="post-metadata">

**Author:** ![Francis\_Lau](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@Francis\_Lau](https://discuss.elastic.co/u/Francis_Lau)\
**Post date:** [April 25, 2016, 4:34pm UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/29 "2016-04-25T16:34:38Z")

</div>

Tudor

We are running into the same issue too. The link below no longer lists the files:  
[https://beats-nightlies.s3.amazonaws.com/index.html?prefix=one-time-test/](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=one-time-test/)

Is the patch in the nightly builds below? If not, how can get the patched builds for Top, File and Packet Beats?  
[https://beats-nightlies.s3.amazonaws.com/index.html?prefix=topbeat/](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=topbeat/)

Francis Lau

---

<div class="post-metadata">

**Author:** ![bmiramont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bmiramont/32/8906_2.png) [@bmiramont](https://discuss.elastic.co/u/bmiramont)\
**Post date:** [April 26, 2016, 7:02am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/30 "2016-04-26T07:02:52Z")

</div>

hi, the files disappeared so my deployements went all down.  
But I have the files, you can get them here :

[https://s3.eu-central-1.amazonaws.com/public-swd/filebeat-1.2.2-SNAPSHOT-x86\_64.rpm](https://s3.eu-central-1.amazonaws.com/public-swd/filebeat-1.2.2-SNAPSHOT-x86_64.rpm)  
[https://s3.eu-central-1.amazonaws.com/public-swd/topbeat-1.2.2-SNAPSHOT-x86\_64.rpm](https://s3.eu-central-1.amazonaws.com/public-swd/topbeat-1.2.2-SNAPSHOT-x86_64.rpm)

I use them in my .ebextensions script so I will leave them here until the .1.2.2 is released and qualified.

regards,

Brice

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [April 26, 2016, 10:10am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/31 "2016-04-26T10:10:51Z")

</div>

Sorry about that, an unreleated cleanup in the nightlies S3 buckets removed them. All chances are that 1.2.2 is coming out today!

---

<div class="post-metadata">

**Author:** ![jeffkirk1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeffkirk1/32/8080_2.png) [@jeffkirk1](https://discuss.elastic.co/u/jeffkirk1)\
**Post date:** [May 23, 2016, 8:42pm UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/32 "2016-05-23T20:42:47Z")

</div>

Brice,

Is this an officially supported location for the Filebeats apps? I was just trying to find an official statement on where I can get the RPMs for installation on Elastic Beanstalk in the regular docs. Is this documented anywhere? I'm actually looking for the DEB packages as well.

Best,

Jeff Kirk

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 23, 2016, 10:39pm UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/33 "2016-05-23T22:39:59Z")

</div>

Repos for 1.X: [https://www.elastic.co/guide/en/beats/libbeat/current/setup-repositories.html](https://www.elastic.co/guide/en/beats/libbeat/current/setup-repositories.html)

There will be a separate repo for 5.X after the GA release.

---

<div class="post-metadata">

**Author:** ![bmiramont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bmiramont/32/8906_2.png) [@bmiramont](https://discuss.elastic.co/u/bmiramont)\
**Post date:** [May 24, 2016, 7:50am UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/34 "2016-05-24T07:50:56Z")

</div>

Hi, no it's not an official location. It's the one I use for bootstrapping my EBS apps. Binaries are from a legit elastic dev though (thx again tudor 🕶)  
filebeat 1.2.3 is out now, I'll do some testing to see if the patch is in the release and I'll change my bottstrap but I'll leave the files in my s3 bucket just in case.

---

<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:** [July 5, 2017, 9:51pm UTC](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436/35 "2017-07-05T21:51:35Z")

</div>

Closed on July 5, 2017, 9:51pm UTC



[Previous page](https://discuss.elastic.co/t/filebeat-service-hangs-on-first-start-amazon-ec2/46436.md?page=1)
