# Elasticsearch fails on start

**URL:** <https://discuss.elastic.co/t/elasticsearch-fails-on-start/157179>\
**Category:** Elasticsearch\
**Created:** [November 17, 2018, 2:56pm UTC](https://discuss.elastic.co/t/elasticsearch-fails-on-start/157179 "2018-11-17T14:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![litti](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@litti](https://discuss.elastic.co/u/litti)\
**Post date:** [November 17, 2018, 2:56pm UTC](https://discuss.elastic.co/t/elasticsearch-fails-on-start/157179/1 "2018-11-17T14:56:21Z")

</div>

Hi,  
after an upgrade and an issue where the .kibana\_2 index had to be removed because kibana didn't start ([Error "Kibana server is not ready yet"](https://discuss.elastic.co/t/error-kibana-server-is-not-ready-yet/156834)), now elasticsearch fails to start with the following error:

```
[2018-11-17T15:26:33,628][INFO][o.e.e.NodeEnvironment] [mX--zzP] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [135gb], net total_space [407.8gb], types [rootfs]
[2018-11-17T15:26:33,630][INFO][o.e.e.NodeEnvironment] [mX--zzP] heap size [15.9gb], compressed ordinary object pointers [true]
[2018-11-17T15:26:35,787][INFO][o.e.n.Node] [mX--zzP] node name derived from node ID [mX--zzPxS7OvX8IGQegwKg]; set [node.name] to override
[2018-11-17T15:26:35,787][INFO][o.e.n.Node] [mX--zzP] version[6.5.0], pid[8996], build[default/deb/816e6f6/2018-11-09T18:58:36.352602Z], OS[Linux/3.16.0-4-amd64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_171/25.171-b11]
[2018-11-17T15:26:35,788][INFO][o.e.n.Node] [mX--zzP] JVM arguments [-Xms16g, -Xmx16g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch.u3mJuSa4, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:/var/log/elasticsearch/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=deb]
[2018-11-17T15:26:37,052][INFO][o.e.p.PluginsService] [mX--zzP] loaded module [aggs-matrix-stats]
[2018-11-17T15:26:37,052][INFO][o.e.p.PluginsService] [mX--zzP] loaded module [analysis-common]
- lot of plugins here -
[2018-11-17T15:26:40,537][ERROR][o.e.g.GatewayMetaState] [mX--zzP] failed to read local state, exiting...
java.lang.IllegalStateException: index and alias names need to be unique, but the following duplicates were found [.kibana (alias of [.kibana_2/fRHGj5gKSvu58RIP_otLDQ])]
        at org.elasticsearch.cluster.metadata.MetaData$Builder.build(MetaData.java:1111) ~[elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.gateway.MetaStateService.loadFullState(MetaStateService.java:72) ~[elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:86) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.node.Node.<init>(Node.java:499) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.node.Node.<init>(Node.java:265) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.5.0.jar:6.5.0]
        at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.5.0.jar:6.5.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86) [elasticsearch-6.5.0.jar:6.5.0]

```

What's going wrong here? Can you please advise and tell me what to do to resolve this error? Thanks in advance!

---

<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:** [December 15, 2018, 3:08pm UTC](https://discuss.elastic.co/t/elasticsearch-fails-on-start/157179/2 "2018-12-15T15:08:39Z")

</div>

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