Elasticsearch not starting, with no errors in the logs


(Michael Chora) #1

Whats confusing is that it was working yesterday, I rebooted the machine, and today im getting this:

root@ip-172-31-8-215:/home/admin# sudo service elasticsearch status
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-06-16 08:15:43 UTC; 2s ago
     Docs: http://www.elastic.co
  Process: 1036 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault
  Process: 1033 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
 Main PID: 1036 (code=exited, status=1/FAILURE)

Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]:         at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123)
Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]:         at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]:         at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]:         at org.elasticsearch.cli.Command.main(Command.java:90)
Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91)
Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84)
Jun 16 08:15:43 ip-172-31-8-215 elasticsearch[1036]: Refer to the log for complete error details.
Jun 16 08:15:43 ip-172-31-8-215 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 08:15:43 ip-172-31-8-215 systemd[1]: elasticsearch.service: Unit entered failed state.
Jun 16 08:15:43 ip-172-31-8-215 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

Im running:
OS: Debian 9
ES: Elasticsearch 5.6.10
JDK: openjdk-8-jre-headless version 8u171-b11-1~deb9u1

this is my yml file:

# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
cluster.name: akeneo-server
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: akeneo-server-node
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
network.host: 0.0.0.0
#
# Set a custom port for HTTP:
#
http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when new node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.zen.ping.unicast.hosts: ["host1", "host2"]
#
# Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
#
#discovery.zen.minimum_master_nodes: 3
#
# For more information, consult the zen discovery module documentation.
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true

(Mark Walkom) #2

What's in /var/log/elasticsearch?


(Michael Chora) #3

Theres nothing in there.


(Mark Walkom) #4

There should be something, you can see it's outputting part of a log for systemctl so maybe check with that too?


(Michael Chora) #5

yeah its unusual that theres nothing in that folder.

Ill check systemctl log and post it up


(Michael Chora) #6
root@ip-172-31-8-215:/home/admin# journalctl -u elasticsearch -b
-- Logs begin at Sat 2018-06-16 08:46:19 UTC, end at Sat 2018-06-16 08:55:13 UTC. --
Jun 16 08:46:23 ip-172-31-8-215 systemd[1]: Starting Elasticsearch...
Jun 16 08:46:23 ip-172-31-8-215 systemd[1]: Started Elasticsearch.
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]: 2018-06-16 08:46:25,273 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.manageme
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:184
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:175)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:143)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:122)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:307)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.cli.Command.main(Command.java:90)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]: Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: java.nio.file.AccessDeniedException: /etc/elasticsearc
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]: Likely root cause: java.nio.file.AccessDeniedException: /etc/elasticsearch
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:427)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at java.nio.file.Files.newDirectoryStream(Files.java:457)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:300)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at java.nio.file.Files.walkFileTree(Files.java:2662)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:150)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:122)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:307)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.cli.Command.main(Command.java:90)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91)
Jun 16 08:46:25 ip-172-31-8-215 elasticsearch[515]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84)

(Michael Chora) #7

it looks like a permission error on /etc/elasticsearch


(Michael Chora) #8

which user should have permission? root or the admin user?


(Michael Chora) #9

I tried both 'admin' and 'root' as owner of that folder, but the error remains the same


(Mark Walkom) #10

I think it should be elasticsearch?


(Michael Chora) #11

OK, that seemed to make a difference.. im now getting a log file created, but it has a whole lot of weird errors that i dont understand.


(Mark Walkom) #12

Feel free to paste them so we can assist.


(Michael Chora) #13
[2018-06-16T09:55:28,076][WARN ][o.e.b.JNANatives         ] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
[2018-06-16T09:55:28,078][WARN ][o.e.b.JNANatives         ] This can result in part of the JVM being swapped out.
[2018-06-16T09:55:28,078][WARN ][o.e.b.JNANatives         ] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2018-06-16T09:55:28,078][WARN ][o.e.b.JNANatives         ] These can be adjusted by modifying /etc/security/limits.conf, for example:
        # allow user 'elasticsearch' mlockall
        elasticsearch soft memlock unlimited
        elasticsearch hard memlock unlimited
[2018-06-16T09:55:28,078][WARN ][o.e.b.JNANatives         ] If you are logged in interactively, you will have to re-login for the new limits to take effect.
[2018-06-16T09:55:28,198][INFO ][o.e.n.Node               ] [akeneo-server-node] initializing ...
[2018-06-16T09:55:28,322][INFO ][o.e.e.NodeEnvironment    ] [akeneo-server-node] using [1] data paths, mounts [[/ (/dev/xvda1)]], net usable_space [19gb], net total_space [24.5gb],$
[2018-06-16T09:55:28,322][INFO ][o.e.e.NodeEnvironment    ] [akeneo-server-node] heap size [2.9gb], compressed ordinary object pointers [true]
[2018-06-16T09:55:28,347][INFO ][o.e.n.Node               ] [akeneo-server-node] node name [akeneo-server-node], node ID [BrTw3v3PSHykRsc-ALZ8Sw]
[2018-06-16T09:55:28,347][INFO ][o.e.n.Node               ] [akeneo-server-node] version[5.6.10], pid[1502], build[b727a60/2018-06-06T15:48:34.860Z], OS[Linux/4.9.0-6-amd64/amd64],$
[2018-06-16T09:55:28,347][INFO ][o.e.n.Node               ] [akeneo-server-node] JVM arguments [-Xms2g, -Xmx3g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:$
[2018-06-16T09:55:29,365][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [aggs-matrix-stats]
[2018-06-16T09:55:29,365][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [ingest-common]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-expression]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-groovy]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-mustache]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-painless]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [parent-join]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [percolator]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [reindex]
[2018-06-16T09:55:29,366][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [transport-netty3]
[2018-06-16T09:55:29,367][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [transport-netty4]
[2018-06-16T09:55:29,367][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] no plugins loaded
[2018-06-16T09:55:31,536][INFO ][o.e.d.DiscoveryModule    ] [akeneo-server-node] using discovery type [zen]
[2018-06-16T09:55:32,250][INFO ][o.e.n.Node               ] [akeneo-server-node] initialized
[2018-06-16T09:55:32,250][INFO ][o.e.n.Node               ] [akeneo-server-node] starting ...
[2018-06-16T09:55:32,420][INFO ][o.e.t.TransportService   ] [akeneo-server-node] publish_address {172.31.8.215:9300}, bound_addresses {[::]:9300}
[2018-06-16T09:55:32,436][INFO ][o.e.b.BootstrapChecks    ] [akeneo-server-node] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-06-16T09:55:32,438][ERROR][o.e.b.Bootstrap          ] [akeneo-server-node] node validation exception
[2] bootstrap checks failed
[1]: initial heap size [2147483648] not equal to maximum heap size [3221225472]; this can cause resize pauses and prevents mlockall from locking the entire heap
[2]: memory locking requested for elasticsearch process but memory is not locked
[2018-06-16T09:55:32,443][INFO ][o.e.n.Node               ] [akeneo-server-node] stopping ...
[2018-06-16T09:55:32,480][INFO ][o.e.n.Node               ] [akeneo-server-node] stopped
[2018-06-16T09:55:32,481][INFO ][o.e.n.Node               ] [akeneo-server-node] closing ...
[2018-06-16T09:55:32,490][INFO ][o.e.n.Node               ] [akeneo-server-node] closed

(Mark Walkom) #14

Take a look at https://www.elastic.co/guide/en/elasticsearch/reference/6.3/bootstrap-checks.html


(Michael Chora) #15

so it appears to be a memory issue.

The server its running on is a t2.large, which has 16gb of ram. So im not sure why it wouldnt be able to allocate 2gb of ram.


(Michael Chora) #16

okay.. so I addressed the original issue of different sizes for the memory allocation. and now im getting new errors... Im not wining!

[2018-06-16T10:16:07,085][WARN ][o.e.b.JNANatives         ] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
[2018-06-16T10:16:07,086][WARN ][o.e.b.JNANatives         ] This can result in part of the JVM being swapped out.
[2018-06-16T10:16:07,087][WARN ][o.e.b.JNANatives         ] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2018-06-16T10:16:07,087][WARN ][o.e.b.JNANatives         ] These can be adjusted by modifying /etc/security/limits.conf, for example:
        # allow user 'elasticsearch' mlockall
        elasticsearch soft memlock unlimited
        elasticsearch hard memlock unlimited
[2018-06-16T10:16:07,087][WARN ][o.e.b.JNANatives         ] If you are logged in interactively, you will have to re-login for the new limits to take effect.
[2018-06-16T10:16:07,193][INFO ][o.e.n.Node               ] [akeneo-server-node] initializing ...
[2018-06-16T10:16:07,310][INFO ][o.e.e.NodeEnvironment    ] [akeneo-server-node] using [1] data paths, mounts [[/ (/dev/xvda1)]], net usable_space [19gb], net total_space [24.5gb],$
[2018-06-16T10:16:07,311][INFO ][o.e.e.NodeEnvironment    ] [akeneo-server-node] heap size [1.9gb], compressed ordinary object pointers [true]
[2018-06-16T10:16:07,349][INFO ][o.e.n.Node               ] [akeneo-server-node] node name [akeneo-server-node], node ID [BrTw3v3PSHykRsc-ALZ8Sw]
[2018-06-16T10:16:07,349][INFO ][o.e.n.Node               ] [akeneo-server-node] version[5.6.10], pid[496], build[b727a60/2018-06-06T15:48:34.860Z], OS[Linux/4.9.0-6-amd64/amd64], $
[2018-06-16T10:16:07,350][INFO ][o.e.n.Node               ] [akeneo-server-node] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:$
[2018-06-16T10:16:08,274][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [aggs-matrix-stats]
[2018-06-16T10:16:08,275][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [ingest-common]
[2018-06-16T10:16:08,275][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-expression]
[2018-06-16T10:16:08,275][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-groovy]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-mustache]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [lang-painless]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [parent-join]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [percolator]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [reindex]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [transport-netty3]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] loaded module [transport-netty4]
[2018-06-16T10:16:08,276][INFO ][o.e.p.PluginsService     ] [akeneo-server-node] no plugins loaded
[2018-06-16T10:16:10,581][INFO ][o.e.d.DiscoveryModule    ] [akeneo-server-node] using discovery type [zen]
[2018-06-16T10:16:11,185][INFO ][o.e.n.Node               ] [akeneo-server-node] initialized
[2018-06-16T10:16:11,185][INFO ][o.e.n.Node               ] [akeneo-server-node] starting ...
[2018-06-16T10:16:11,359][INFO ][o.e.t.TransportService   ] [akeneo-server-node] publish_address {172.31.8.215:9300}, bound_addresses {[::]:9300}
[2018-06-16T10:16:11,370][INFO ][o.e.b.BootstrapChecks    ] [akeneo-server-node] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-06-16T10:16:11,378][ERROR][o.e.b.Bootstrap          ] [akeneo-server-node] node validation exception
[1] bootstrap checks failed
[1]: memory locking requested for elasticsearch process but memory is not locked
[2018-06-16T10:16:11,380][INFO ][o.e.n.Node               ] [akeneo-server-node] stopping ...
[2018-06-16T10:16:11,421][INFO ][o.e.n.Node               ] [akeneo-server-node] stopped
[2018-06-16T10:16:11,421][INFO ][o.e.n.Node               ] [akeneo-server-node] closing ...
[2018-06-16T10:16:11,436][INFO ][o.e.n.Node               ] [akeneo-server-node] closed

(Mark Walkom) #17

Check that link above, you need to complete all the bootstrap checks for things to start.


(Michael Chora) #18

OK, so I worked out how to get elasticsearch to load.. but im unsure why?

I commented out this line in /etc/elasticsearch/elasticsearch.yml

#bootstrap.memory_lock: true

However, im unsure why that would matter?


(system) #19

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