# Filebeat dies on startup with 32-bit Ubuntu

**URL:** <https://discuss.elastic.co/t/filebeat-dies-on-startup-with-32-bit-ubuntu/192585>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 28, 2019, 11:42pm UTC](https://discuss.elastic.co/t/filebeat-dies-on-startup-with-32-bit-ubuntu/192585 "2019-07-28T23:42:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronr/32/51082_2.png) [@aaronr](https://discuss.elastic.co/u/aaronr)\
**Post date:** [July 28, 2019, 11:42pm UTC](https://discuss.elastic.co/t/filebeat-dies-on-startup-with-32-bit-ubuntu/192585/1 "2019-07-28T23:42:46Z")

</div>

Trying to start Filebeat crashes because it can't create the registry directory.

```auto
2019-07-29T00:32:18.905+0100	INFO	registrar/migrate.go:104	No registry home found. Create: /var/lib/filebeat/registry/filebeat
2019-07-29T00:32:18.905+0100	ERROR	beater/filebeat.go:302	Could not init registrar: failed to create registry dir '/var/lib/filebeat/registry/filebeat': mkdir /var: file exists
[...]
Exiting: failed to create registry dir '/var/lib/filebeat/registry/filebeat': mkdir /var: file exists

```

This seems like a bug, as it shouldn't be trying to recreate the `/var` directory. How do I fix this?

---

<div class="post-metadata">

**Author:** ![aaronr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronr/32/51082_2.png) [@aaronr](https://discuss.elastic.co/u/aaronr)\
**Post date:** [July 29, 2019, 1:21pm UTC](https://discuss.elastic.co/t/filebeat-dies-on-startup-with-32-bit-ubuntu/192585/3 "2019-07-29T13:21:22Z")

</div>

I've also been able to reproduce this on an Ubuntu 16.04 system, both this and the previous system were 32-bit.

I tried installing filebeat on a 64-bit Ubuntu 18.04 system and that worked okay. Potential bug with 32-bit filebeat?

---

<div class="post-metadata">

**Author:** ![aaronr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronr/32/51082_2.png) [@aaronr](https://discuss.elastic.co/u/aaronr)\
**Post date:** [July 30, 2019, 12:26pm UTC](https://discuss.elastic.co/t/filebeat-dies-on-startup-with-32-bit-ubuntu/192585/4 "2019-07-30T12:26:29Z")

</div>

I tried downgrading filebeat to 7.1.1 and this fixes the issue -- seems to be a bug in 7.2.0 on 32-bit systems. What's the best way to go about reporting this issue and getting it fixed?

---

<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:** [August 27, 2019, 2:26pm UTC](https://discuss.elastic.co/t/filebeat-dies-on-startup-with-32-bit-ubuntu/192585/5 "2019-08-27T14:26:36Z")

</div>

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