# Elasticsearch 7.1.1 Failed to create native process factories for Machine Learning

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [June 3, 2019, 3:17pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006 "2019-06-03T15:17:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cadu\_Alves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cadu_alves/32/47357_2.png) [@Cadu\_Alves](https://discuss.elastic.co/u/Cadu_Alves)\
**Post date:** [June 3, 2019, 3:17pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/1 "2019-06-03T15:17:13Z")

</div>

Hi, I am trying to run the service from elastichsearch, when I start the service it runs for a few seconds and then it returns error, seeing the execution logs of elasticsearch I noticed the following error.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d62cc690802b974a0ce3e3cd5f2c29370433daf.png)

And

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1c4d39b93853867fe3be85e34ea3ded228d47030.png)

I tried to look for some solutions within the forum itself but unfortunately I did not find anything reactive with the solution of the problem

Ps: version java install is:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dce3052719648f9894135501ff9c91027572d6e8.png)

Thank you for your attention.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 3, 2019, 10:09pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/2 "2019-06-03T22:09:23Z")

</div>

Please don't post pictures of text, they are difficult to read, cannot be searched against and some people may not be even able to see them.

---

<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:** [June 3, 2019, 11:45pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/3 "2019-06-03T23:45:19Z")

</div>

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

- first with `--version` as a command-line argument ( i.e. `/path/to/modules/x-pack-ml/platform/linux-x86_64/bin/controller --version` )
- then again without the `--version` argument

Report what the output is and post back. Thanks!

---

<div class="post-metadata">

**Author:** ![QqGeet](https://avatars.discourse-cdn.com/v4/letter/q/4da419/32.png) [@QqGeet](https://discuss.elastic.co/u/QqGeet)\
**Post date:** [June 4, 2019, 5:23am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/4 "2019-06-04T05:23:34Z")

</div>

Hi, richcollier.I have the same error of Elasticsearch 7.1.1 on Ubuntu 16.04. This is my controller's output:  
elastic@elkOne:~/elasticsearch-7.1.1/modules/x-pack-ml/platform/linux-x86\_64/bin$ ./controller --version  
si\_signo 4, si\_code: 2, si\_errno: 0, address: 0x7fa53ce10fe2, library: /home/elastic/elasticsearch-7.1.1/modules/x-pack-ml/platform/linux-x86\_64/bin/../lib/libMlCore.so, base: 0x7fa53cd81000, normalized address: 0x8ffe2  
Illegal instruction (core dumped)

elastic@elkOne:~/elasticsearch-7.1.1/modules/x-pack-ml/platform/linux-x86\_64/bin$ ./controller  
si\_signo 4, si\_code: 2, si\_errno: 0, address: 0x7fc442295fe2, library: /home/elastic/elasticsearch-7.1.1/modules/x-pack-ml/platform/linux-x86\_64/bin/../lib/libMlCore.so, base: 0x7fc442206000, normalized address: 0x8ffe2  
Illegal instruction (core dumped)

Any solutions?  
Thank you

---

<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:** [June 4, 2019, 10:34am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/5 "2019-06-04T10:34:41Z")

</div>

@QqGeet your problem is the same as [Failed to start Machine Learning on Elasticsearch 7.0.0](https://discuss.elastic.co/t/failed-to-start-machine-learning-on-elasticsearch-7-0-0/178216/8) - we require SSE4.2 instructions to use Elastic machine learning and the machine you're running on doesn't have these. You'll have to run on a more recent machine if you want to use machine learning.

@Cadu_Alves if you could post the output from running `controller` directly we can try to diagnose your problem too.

In both cases, if you are not intending to use machine learning, put `xpack.ml.enabled: false` in your `elasticsearch.yml` and then Elasticsearch will start and you can use the other features. We're intending to improve the error message to say this - see [https://github.com/elastic/elasticsearch/issues/42341](https://github.com/elastic/elasticsearch/issues/42341).

---

<div class="post-metadata">

**Author:** ![QqGeet](https://avatars.discourse-cdn.com/v4/letter/q/4da419/32.png) [@QqGeet](https://discuss.elastic.co/u/QqGeet)\
**Post date:** [June 5, 2019, 12:37am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/6 "2019-06-05T00:37:10Z")

</div>

Thank you, droberts195. I will change a new machine to install Elasticsearch.

---

<div class="post-metadata">

**Author:** ![Cadu\_Alves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cadu_alves/32/47357_2.png) [@Cadu\_Alves](https://discuss.elastic.co/u/Cadu_Alves)\
**Post date:** [June 5, 2019, 6:06pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/7 "2019-06-05T18:06:59Z")

</div>

> [@droberts195](#):
>
> `xpack.ml.enabled: false`

Ty! I will try your solution

---

<div class="post-metadata">

**Author:** ![Cadu\_Alves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cadu_alves/32/47357_2.png) [@Cadu\_Alves](https://discuss.elastic.co/u/Cadu_Alves)\
**Post date:** [June 5, 2019, 6:08pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/8 "2019-06-05T18:08:07Z")

</div>

Sorry, i'm a new guy here

---

<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:** [July 3, 2019, 6:11pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-failed-to-create-native-process-factories-for-machine-learning/184006/9 "2019-07-03T18:11:36Z")

</div>

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