# Elasticsearch 7.0.1 throws error in ML in bootstrap ( Windows 2012 Server)

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 17, 2019, 10:30pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667 "2019-05-17T22:30:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![YahooRK](https://avatars.discourse-cdn.com/v4/letter/y/e36b37/32.png) [@YahooRK](https://discuss.elastic.co/u/YahooRK)\
**Post date:** [May 17, 2019, 10:30pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667/1 "2019-05-17T22:30:02Z")

</div>

I have installed ES 7.0.1 on Windows 2012 Server. And i get following error in the logs when trying to start the ES Service. If i disable the "ml pack" via configuration it works, but i want to use ml pack.

* * *

[2019-05-17T17:15:27,975][INFO][o.e.p.PluginsService] [telemetry1] loaded module [x-pack-watcher]  
[2019-05-17T17:15:27,975][INFO][o.e.p.PluginsService] [telemetry1] no plugins loaded  
[2019-05-17T17:16:27,099][ERROR][o.e.b.Bootstrap] [telemetry1] Exception  
org.elasticsearch.ElasticsearchException: Failed to create native process factories for Machine Learning  
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:433) ~[?:?]  
at org.elasticsearch.node.Node.lambda$new$9(Node.java:438) ~[elasticsearch-7.0.1.jar:7.0.1]  
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]  
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) ~[?:?]  
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]  
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]  
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]  
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]  
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]  
at org.elasticsearch.node.Node.(Node.java:441) ~[elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.node.Node.(Node.java:251) ~[elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:211) ~[elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:211) ~[elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:325) [elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-7.0.1.jar:7.0.1]  
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) [elasticsearch-7.0.1.jar:7.0.1]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.0.1.jar:7.0.1]  
Caused by: java.io.FileNotFoundException: \.\pipe\controller\_log\_3064 (The system cannot find the file specified)

* * *

Any solutions?

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [May 20, 2019, 5:00pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667/2 "2019-05-20T17:00:11Z")

</div>

Hello - the easiest way to debug this is to find and execute `controller.exe` from a Command prompt:

- first with `--version` as a command-line argument (`c:\path\to\controller.exe --version`)
- then again without the `--version` argument

Report what the output is and post back. Thanks!

---

<div class="post-metadata">

**Author:** ![YahooRK](https://avatars.discourse-cdn.com/v4/letter/y/e36b37/32.png) [@YahooRK](https://discuss.elastic.co/u/YahooRK)\
**Post date:** [May 20, 2019, 11:32pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667/3 "2019-05-20T23:32:50Z")

</div>

Thanks Rich..

It gave me error "api-ms-win-crt-runtime-l1-1-0-dll" is missing, so now i am installing the Windows Updates and the 2015 redistributable.

Any other changes i should make ?

Regards,  
rupa

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [May 21, 2019, 1:28pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667/4 "2019-05-21T13:28:24Z")

</div>

Hi Rupa,

The component you need is the Universal C Runtime.

You've probably got it now as a sub-component of the Visual Studio 2015 redistributable, but just in case anyone else is reading this post because they've got the same problem the bare minimum to download is [https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows](https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows)

No action is required when running on Windows 10 or Windows Server 2016, as these ship with the Universal C Runtime built in.

For older versions of Windows the Universal C Runtime has been available through Windows Update for several years, so we assumed everyone would have it. But since it's an optional update I guess that's not true. We will add a note to the docs to say it's required.

Regards,

David

---

<div class="post-metadata">

**Author:** ![YahooRK](https://avatars.discourse-cdn.com/v4/letter/y/e36b37/32.png) [@YahooRK](https://discuss.elastic.co/u/YahooRK)\
**Post date:** [May 21, 2019, 9:16pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667/5 "2019-05-21T21:16:45Z")

</div>

Thanks David.

Yea the VS 2015 redistributable resolved the issue. I just had some issues installing the redistrubutable but it was related to not having the current Windows update, so i had to go through a lot of update installation for anybody who is facing similar issues.

Regards,  
Rupa

---

<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:** [June 18, 2019, 9:16pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667/6 "2019-06-18T21:16:47Z")

</div>

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