# Unable to start/install elastic search

**URL:** <https://discuss.elastic.co/t/unable-to-start-install-elastic-search/147750>\
**Category:** Elasticsearch\
**Created:** [September 7, 2018, 4:54pm UTC](https://discuss.elastic.co/t/unable-to-start-install-elastic-search/147750 "2018-09-07T16:54:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kb2295](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kb2295](https://discuss.elastic.co/u/kb2295)\
**Post date:** [September 7, 2018, 4:54pm UTC](https://discuss.elastic.co/t/unable-to-start-install-elastic-search/147750/1 "2018-09-07T16:54:07Z")

</div>

Hello,

I am following these steps to download and install Elastic Search: [Download Elasticsearch | Elastic](https://www.elastic.co/downloads/elasticsearch)

When I type the above command, it's supposed to connect me to loacl host. However, after a few lines, it exits.

> ```
> > C:\Users\kb60500\Desktop\elasticsearch-6.4.0>bin\elasticsearch.bat
> > [2018-09-07T10:02:47,572][INFO][o.e.n.Node] []
> > initializing ... [2018-09-07T10:02:47,777][INFO
> > ][o.e.e.NodeEnvironment] [SoaCxPe] using [1] data paths, mounts
> > [[OSDisk (C:)]], net usable_space [13.2gb], net total_space [99.9gb],
> > types [NTFS] [2018-09-07T10:02:47,778][INFO][o.e.e.NodeEnvironment   
> > ] [SoaCxPe] heap size [998.4mb], compressed ordinary object pointers
> > [unknown] [2018-09-07T10:02:47,790][INFO][o.e.n.Node]
> > [SoaCxPe] node name derived from node ID [SoaCxPetToeUS8p3mR9G4g]; set
> > [node.name] to override [2018-09-07T10:02:47,790][INFO][o.e.n.Node   
> > ] [SoaCxPe] version[6.4.0], pid[13556],
> > build[default/zip/595516e/2018-08-17T23:18:47.308994Z], OS[Windows
> > 10/10.0/x86], JVM[Oracle Corporation/Java HotSpot(TM) Client
> > VM/1.8.0_181/25.181-b13] [2018-09-07T10:02:47,793][INFO][o.e.n.Node  
> > ] [SoaCxPe] 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\kb60500\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -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\kb60500\Desktop\elasticsearch-6.4.0, -Des.path.conf=C:\Users\kb60500\Desktop\elasticsearch-6.4.0\config, -Des.distribution.flavor=default, -Des.distribution.type=zip] [2018-09-07T10:02:52,125][INFO][o.e.p.PluginsService] [SoaCxPe]
> 
> ```

........

> ````
> > [2018-09-07T10:02:52,146][INFO][o.e.p.PluginsService] [SoaCxPe]
> > loaded module [x-pack-security] [2018-09-07T10:02:52,147][INFO
> > ][o.e.p.PluginsService] [SoaCxPe] loaded module [x-pack-sql]
> > [2018-09-07T10:02:52,148][INFO][o.e.p.PluginsService] [SoaCxPe]
> > loaded module [x-pack-upgrade] [2018-09-07T10:02:52,152][INFO
> > ][o.e.p.PluginsService] [SoaCxPe] loaded module [x-pack-watcher]
> > [2018-09-07T10:02:52,153][INFO][o.e.p.PluginsService] [SoaCxPe]
> > no plugins loaded [2018-09-07T10:03:02,579][INFO
> > ][o.e.x.s.a.s.FileRolesStore] [SoaCxPe] parsed [0] roles from file
> > [C:\Users\kb60500\Desktop\elasticsearch-6.4.0\config\roles.yml]
> > [2018-09-07T10:03:03,164][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:140)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
> > ~[elasticsearch-cli-6.4.0.jar:6.4.0]
> > at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86)
> > ~[elasticsearch-6.4.0.jar:6.4.0] 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:103)
> > ~[?:?]
> > at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:94)
> > ~[?:?]
> > at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:374)
> > ~[?:?]
> > at org.elasticsearch.node.Node.lambda$new$8(Node.java:420) ~[elasticsearch-6.4.0.jar:6.4.0]
> > at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:1.8.0_181]
> > at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown
> > Source) ~[?:1.8.0_181]
> > at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_181]
> > at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_181]
> > at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
> > ~[?:1.8.0_181]
> > at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_181]
> > at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:1.8.0_181]
> > at org.elasticsearch.node.Node.<init>(Node.java:423) ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.node.Node.<init>(Node.java:256) ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:213)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:326)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136)
> > ~[elasticsearch-6.4.0.jar:6.4.0]
> > ... 6 more
> > 
> > C:\Users\kb60500\Desktop\elasticsearch-6.4.0>
> ```
> 
> ````

It's not supposed to exit, as far as I know. It should keep running until I press Ctrl+C. Additionally, [http://localhost:9200](http://localhost:9200) doesn't load anything or even connect.

---

<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:** [October 5, 2018, 4:54pm UTC](https://discuss.elastic.co/t/unable-to-start-install-elastic-search/147750/2 "2018-10-05T16:54:16Z")

</div>

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