Elasticsearch fails on start


(André) #1

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"), 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!


(system) #2

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