# Problem launching Elasticsearch

**URL:** <https://discuss.elastic.co/t/problem-launching-elasticsearch/127737>\
**Category:** Elasticsearch\
**Created:** [April 12, 2018, 6:00am UTC](https://discuss.elastic.co/t/problem-launching-elasticsearch/127737 "2018-04-12T06:00:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soumya\_sahoo](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@soumya\_sahoo](https://discuss.elastic.co/u/soumya_sahoo)\
**Post date:** [April 12, 2018, 6:00am UTC](https://discuss.elastic.co/t/problem-launching-elasticsearch/127737/1 "2018-04-12T06:00:46Z")

</div>

I get the following error log while launching elasticsearch.

C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\bin\>elasticsearch  
[2018-04-12T11:08:52,520][INFO][o.e.n.Node] [] initializing ...  
[2018-04-12T11:08:52,666][INFO][o.e.e.NodeEnvironment] [kv\_gFv3] using [1] data paths, mounts [[(C:)]], net usable\_space [103.4gb], net total\_space [150.4gb], types [NTFS]  
[2018-04-12T11:08:52,666][INFO][o.e.e.NodeEnvironment] [kv\_gFv3] heap size [998.4mb], compressed ordinary object pointers [unknown]  
[2018-04-12T11:08:53,299][INFO][o.e.n.Node] node name [kv\_gFv3] derived from node ID [kv\_gFv3eT2CbXfakslfkVw]; set [node.name] to override  
[2018-04-12T11:08:53,299][INFO][o.e.n.Node] version[6.2.3], pid[18036], build[c59ff00/2018-03-13T10:06:29.741383Z], OS[Windows 10/10.0/x86], JVM[Oracle Corporation/Java HotSpot(TM) Client VM/1.8.0\_151/25.151-b12]  
[2018-04-12T11:08:53,299][INFO][o.e.n.Node] JVM arguments [-Xms1g, -Xmx1g, -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=C:\Users\ssahoo\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Delasticsearch, -Des.path.home=C:\Users\ssahoo\Downloads\elasticsearch-6.2.3, -Des.path.conf=C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\config]  
[2018-04-12T11:08:57,764][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded module [aggs-matrix-stats]  
[2018-04-12T11:08:57,764][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded module [analysis-common]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded module [tribe]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-core]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-deprecation]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-graph]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-logstash]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-ml]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-monitoring]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-security]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-upgrade]  
[2018-04-12T11:08:57,780][INFO][o.e.p.PluginsService] [kv\_gFv3] loaded plugin [x-pack-watcher]  
[2018-04-12T11:09:02,279][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]  
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.3.jar:6.2.3]  
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.3.jar:6.2.3]  
Caused by: org.elasticsearch.ElasticsearchException: X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml  
at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:113) ~[?:?]  
at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:104) ~[?:?]  
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:410) ~[?:?]  
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:373) ~[?:?]  
at org.elasticsearch.node.Node.lambda$new$7(Node.java:397) ~[elasticsearch-6.2.3.jar:6.2.3]  
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:1.8.0\_151]  
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0\_151]  
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0\_151]  
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0\_151]  
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0\_151]  
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0\_151]  
at org.elasticsearch.node.Node.(Node.java:400) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.node.Node.(Node.java:246) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:213) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elasticsearch-6.2.3.jar:6.2.3]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.2.3.jar:6.2.3]  
... 6 more

I have installed Xpack  
C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\bin\>elasticsearch-plugin list --verbose  
Plugins directory: C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\plugins  
x-pack  
x-pack-core  
- Plugin information:  
Name: x-pack-core  
Description: Elasticsearch Expanded Pack Plugin - Core  
Version: 6.2.3  
Native Controller: false  
Requires Keystore: false

Further, I was able to successfully launch elasticsearch and kibana until yesterday.

Kindly help me fix this issue. I understand it has to do with the security bundle of Xpack. Is it a compulsion to use the security bundle that comes with xpack.

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [April 12, 2018, 6:03am UTC](https://discuss.elastic.co/t/problem-launching-elasticsearch/127737/2 "2018-04-12T06:03:53Z")

</div>

This is what the error message says:

> [@soumya\_sahoo](#):
>
> X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml

So if you set `xpack.ml.enabled: false` in `elasticsearch.yml`, you should be good to go.

---

<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 10, 2018, 6:04am UTC](https://discuss.elastic.co/t/problem-launching-elasticsearch/127737/3 "2018-05-10T06:04:11Z")

</div>

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