# Metricbeat does not start

**URL:** <https://discuss.elastic.co/t/metricbeat-does-not-start/84745>\
**Category:** Beats\
**Created:** [May 5, 2017, 2:43pm UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745 "2017-05-05T14:43:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 5, 2017, 2:43pm UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/1 "2017-05-05T14:43:29Z")

</div>

Hi,

long time no see, but now I have an issue again on production. (does not occur on other stages).

First I noticed, that metricbeat (5.2.1) was not gathering process data any longer. Running on Windows 2012 R1 x64 as service.

Then I wanted to restart the metricbeat service, but it does not start.  
even running it locally to get the usage does not work. (metricbeat --help). Command line stays stuck with no output.

Adding -d "\*" does not change anything. No output

Also tired with 5.4.0, same issue.

Last time the issue occured it vanished after rebooting the windows machine - but thats problematic on production 😉

Thanks,  
Andreas

---

<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 5, 2017, 4:49pm UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/2 "2017-05-05T16:49:45Z")

</div>

If you can't get `metricbeat.exe -h` to output the help then I would check the integrity of the binary. Let's solve that issue first before picking up the issue about process metrics stopping.

A sha1 of the zip package is published on the web page for you to check the integrity of the download. [https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-5.4.0-windows-x86\_64.zip.sha1](https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-5.4.0-windows-x86_64.zip.sha1)

```auto
PS C:\Users\vagrant\Downloads> Get-FileHash -Algorithm sha1 .\metricbeat-5.4.0-windows-x86_64.zip

Algorithm Hash Path
--------- ---- ----
SHA1 D864A4A3C554731022D096AD97C60C0F3EA887D9 C:\Users\vagrant\Downloads\me...

```

You can compare a hash of your metricbeat.exe with the one I have below.

```auto
PS C:\Users\vagrant\Downloads> 7z.exe x .\metricbeat-5.4.0-windows-x86_64.zip
PS C:\Users\vagrant\Downloads> Get-FileHash -Algorithm sha1 .\metricbeat-5.4.0-windows-x86_64\metricbeat.exe

Algorithm Hash Path
--------- ---- ----
SHA1 14553BC49FE92C3F300365D4087E85D8633E084A C:\Users\vagrant\Downloads\me...

```

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 9, 2017, 11:19am UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/3 "2017-05-09T11:19:51Z")

</div>

Integrity must be ok, because the same file works on other systems.  
And I have same issues with the metricbeat which worked before. But I can check the hash.

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 9, 2017, 11:23am UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/4 "2017-05-09T11:23:39Z")

</div>

> [@andrewkroh](#):
>
> 14553BC49FE92C3F300365D4087E85D8633E084A

its identical

---

<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 9, 2017, 1:16pm UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/5 "2017-05-09T13:16:58Z")

</div>

So what happens when you run:

```auto
PS C:\Program Files\Metricbeat> .\metricbeat.exe -h

```

Does it hang? Or exit immediately (if so, what's the exit code)?

If it outputs the usage info, then what does this give?

```auto
PS C:\Program Files\Metricbeat> .\metricbeat -e -d "*" -c metricbeat.yml -configtest

```

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 9, 2017, 1:19pm UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/6 "2017-05-09T13:19:07Z")

</div>

both commands are hanging until i aboart with CTRL+C

---

<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 26, 2017, 2:44pm UTC](https://discuss.elastic.co/t/metricbeat-does-not-start/84745/7 "2017-05-26T14:44:45Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
