# Native controller process has stopped

**URL:** <https://discuss.elastic.co/t/native-controller-process-has-stopped/284505>\
**Category:** Elasticsearch\
**Created:** [September 17, 2021, 4:44pm UTC](https://discuss.elastic.co/t/native-controller-process-has-stopped/284505 "2021-09-17T16:44:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashwin\_Patil1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashwin_patil1/32/90642_2.png) [@Ashwin\_Patil1](https://discuss.elastic.co/u/Ashwin_Patil1)\
**Post date:** [September 17, 2021, 4:44pm UTC](https://discuss.elastic.co/t/native-controller-process-has-stopped/284505/1 "2021-09-17T16:44:06Z")

</div>

I am not able to start the elasticsearch service, I am getting the following errors. I could find many discussions with the same error but didn't find solution in any of them.

Below are the logs, can anyone please provide a solution for this?

```auto
localhost:~ # systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2021-09-17 17:19:54 IST; 11s ago
     Docs: https://www.elastic.co
  Process: 2374 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
 Main PID: 2374 (code=exited, status=1/FAILURE)

Sep 17 17:19:54 localhost systemd-entrypoint[2374]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75)
Sep 17 17:19:54 localhost systemd-entrypoint[2374]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)
Sep 17 17:19:54 localhost systemd-entrypoint[2374]: at org.elasticsearch.cli.Command.main(Command.java:79)
Sep 17 17:19:54 localhost systemd-entrypoint[2374]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
Sep 17 17:19:54 localhost systemd-entrypoint[2374]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81)
Sep 17 17:19:54 localhost systemd-entrypoint[2374]: For complete error details, refer to the log at /var/log/elasticsearch/Elastic_Search.log
Sep 17 17:19:54 localhost systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Sep 17 17:19:54 localhost systemd[1]: Failed to start Elasticsearch.
Sep 17 17:19:54 localhost systemd[1]: elasticsearch.service: Unit entered failed state.
Sep 17 17:19:54 localhost systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

localhost:~ # sudo tail -f /var/log/elasticsearch/Elastic_Search.log
        at org.elasticsearch.xpack.security.Security.lambda$getHttpTransports$25(Security.java:1145) ~[?:?]
        at org.elasticsearch.node.Node.newHttpTransport(Node.java:1255) ~[elasticsearch-7.14.1.jar:7.14.1]
        at org.elasticsearch.node.Node.<init>(Node.java:652) ~[elasticsearch-7.14.1.jar:7.14.1]
        at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-7.14.1.jar:7.14.1]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:219) ~[elasticsearch-7.14.1.jar:7.14.1]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:219) ~[elasticsearch-7.14.1.jar:7.14.1]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:399) ~[elasticsearch-7.14.1.jar:7.14.1]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-7.14.1.jar:7.14.1]
        ... 6 more
[2021-09-17T17:19:54,118][INFO][o.e.x.m.p.NativeController] [node-1] Native controller process has stopped - no new native processes can be started
^C

```

---

<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:** [September 17, 2021, 6:09pm UTC](https://discuss.elastic.co/t/native-controller-process-has-stopped/284505/2 "2021-09-17T18:09:03Z")

</div>

I don’t think `Native controller process has stopped - no new native processes can be started` is the problem. That’s an info message that is getting logged because the Elasticsearch JVM is dying for some other reason.

In the last 10 lines of the log you tailed I can see the end of a stack trace. Probably that relates to the reason the JVM is dying. Look at the beginning of that stack trace and the messages immediately before it. They will probably hint at the problem that needs to be fixed.

---

<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 15, 2021, 6:09pm UTC](https://discuss.elastic.co/t/native-controller-process-has-stopped/284505/3 "2021-10-15T18:09:43Z")

</div>

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