# Can't get ES up and running on GCE

**URL:** <https://discuss.elastic.co/t/cant-get-es-up-and-running-on-gce/78231>\
**Category:** Elasticsearch\
**Created:** [March 11, 2017, 11:21am UTC](https://discuss.elastic.co/t/cant-get-es-up-and-running-on-gce/78231 "2017-03-11T11:21:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pooja\_Narayan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pooja_narayan/32/16264_2.png) [@Pooja\_Narayan](https://discuss.elastic.co/u/Pooja_Narayan)\
**Post date:** [March 11, 2017, 11:21am UTC](https://discuss.elastic.co/t/cant-get-es-up-and-running-on-gce/78231/1 "2017-03-11T11:21:19Z")

</div>

ES version 5.2.2 and Discovery GCE 5.2.2

I have a GCE that has an internal and external IP. I installed ES 5.2.2 from source and then installed the Discovery GCE. I changed the network.host to '_gce_' and added the project id, zone, etc of the GCE into elasticsearch.yml.

When I tried starting the instance using './bin/elasticsearch', I get the following error.  
Bootstrap tests are failing. Also, it has a message as '  
Failed to find a usable hardware address from the network interfaces; using random bytes: d7:0c:ef:bf:d0:7b:a6:95'

Any help would be much appreciated.

Also, other generic questions, is it not possible to publish ES at external IP of the GCE? Sorry if this sounds too stupid I'm not a savvy in this area.

[2017-03-11T11:14:56,524][INFO][o.e.n.Node] [] initializing ...  
[2017-03-11T11:14:56,596][INFO][o.e.e.NodeEnvironment] [dQjMwOl] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable\_space [9.5gb], net total\_space [15.6gb], spins? [possibly], types [ext4]  
[2017-03-11T11:14:56,596][INFO][o.e.e.NodeEnvironment] [dQjMwOl] heap size [1.9gb], compressed ordinary object pointers [true]  
[2017-03-11T11:14:56,603][INFO][o.e.n.Node] node name [dQjMwOl] derived from node ID [dQjMwOlrSYy5IxZaBai7WQ]; set [[node.name](http://node.name)] to override  
[2017-03-11T11:14:56,605][INFO][o.e.n.Node] version[5.2.2], pid[3989], build[f9d9b74/2017-02-24T17:26:45.835Z], OS[Linux/4.4.21-90-default/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0\_112/25.112-b15]  
[2017-03-11T11:14:57,315][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [aggs-matrix-stats]  
[2017-03-11T11:14:57,316][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [ingest-common]  
[2017-03-11T11:14:57,316][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [lang-expression]  
[2017-03-11T11:14:57,317][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [lang-groovy]  
[2017-03-11T11:14:57,317][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [lang-mustache]  
[2017-03-11T11:14:57,317][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [lang-painless]  
[2017-03-11T11:14:57,317][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [percolator]  
[2017-03-11T11:14:57,318][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [reindex]  
[2017-03-11T11:14:57,318][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [transport-netty3]  
[2017-03-11T11:14:57,318][INFO][o.e.p.PluginsService] [dQjMwOl] loaded module [transport-netty4]  
[2017-03-11T11:14:57,322][INFO][o.e.p.PluginsService] [dQjMwOl] loaded plugin [discovery-gce]  
[2017-03-11T11:14:59,506][INFO][o.e.n.Node] initialized  
[2017-03-11T11:14:59,506][INFO][o.e.n.Node] [dQjMwOl] starting ...  
[2017-03-11T11:14:59,782][WARN][i.n.u.i.MacAddressUtil] Failed to find a usable hardware address from the network interfaces; using random bytes: d7:0c:ef:bf:d0:7b:a6:95  
[2017-03-11T11:14:59,935][INFO][o.e.t.TransportService] [dQjMwOl] publish\_address {10.140.0.2:9300}, bound\_addresses {10.140.0.2:9300}  
[2017-03-11T11:14:59,943][INFO][o.e.b.BootstrapChecks] [dQjMwOl] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks  
ERROR: bootstrap checks failed  
max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]  
max virtual memory areas vm.max\_map\_count [65530] is too low, increase to at least [262144]  
[2017-03-11T11:14:59,961][INFO][o.e.n.Node] [dQjMwOl] stopping ...  
[2017-03-11T11:14:59,975][INFO][o.e.n.Node] [dQjMwOl] stopped  
[2017-03-11T11:14:59,976][INFO][o.e.n.Node] [dQjMwOl] closing ...  
[2017-03-11T11:14:59,987][INFO][o.e.n.Node] [dQjMwOl] closed

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 11, 2017, 2:22pm UTC](https://discuss.elastic.co/t/cant-get-es-up-and-running-on-gce/78231/2 "2017-03-11T14:22:04Z")

</div>

> [@Pooja\_Narayan](#):
>
> [2017-03-11T11:14:59,943][INFO][o.e.b.BootstrapChecks] [dQjMwOl] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checksERROR: bootstrap checks failedmax file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]max virtual memory areas vm.max\_map\_count [65530] is too low, increase to at least [262144]

It looks like you are failing some bootstrap checks. You can read more about them [in the documentation](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/bootstrap-checks.html) and [in this blog post](https://www.elastic.co/blog/bootstrap_checks_annoying_instead_of_devastating).

---

<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:** [April 8, 2017, 2:22pm UTC](https://discuss.elastic.co/t/cant-get-es-up-and-running-on-gce/78231/3 "2017-04-08T14:22:08Z")

</div>

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