Enterprise-search failes to load

Hello,

I am trying to start an enterprise-search at an existing elasticsearch cluster

while starting the enterprise-search i get the below error

> [root@elasticlogs bin]# ./enterprise-search
> Found java executable in PATH
> Java version: 1.8.0_242
> 
> Starting the following Elastic Enterprise Search stack components:
>   - An application server, as well as background worker threads
>   - A pool of connectors
>   - A filebeat instance for indexing logs
> 
> forego       | starting app-server.1 on port 5000
> forego       | starting filebeat.1 on port 5100
> forego       | starting connectors.1 on port 5300
> filebeat.1   | scripting container class loader urls: [file:/tmp/jruby2484594959289077476extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby2484594959289077476extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby2484594959289077476extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby2484594959289077476extract/lib/jruby-rack-worker_0.14.1.jar]
> connectors.1 | scripting container class loader urls: [file:/tmp/jruby1939297861825022508extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby1939297861825022508extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby1939297861825022508extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby1939297861825022508extract/lib/jruby-rack-worker_0.14.1.jar]
> app-server.1 | scripting container class loader urls: [file:/tmp/jruby7107592493328148448extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby7107592493328148448extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby7107592493328148448extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby7107592493328148448extract/lib/jruby-rack-worker_0.14.1.jar]
> filebeat.1   | setting GEM_HOME to /tmp/jruby2484594959289077476extract/gems
> filebeat.1   | ... and BUNDLE_GEMFILE to /tmp/jruby2484594959289077476extract/Gemfile
> filebeat.1   | loading resource: /tmp/jruby2484594959289077476extract/./META-INF/rails.rb
> filebeat.1   | invoking /tmp/jruby2484594959289077476extract/./META-INF/rails.rb with: [runner, FritoTogo.start_filebeat!]
> app-server.1 | setting GEM_HOME to /tmp/jruby7107592493328148448extract/gems
> app-server.1 | ... and BUNDLE_GEMFILE to /tmp/jruby7107592493328148448extract/Gemfile
> connectors.1 | setting GEM_HOME to /tmp/jruby1939297861825022508extract/gems
> connectors.1 | ... and BUNDLE_GEMFILE to /tmp/jruby1939297861825022508extract/Gemfile
> app-server.1 | loading resource: /tmp/jruby7107592493328148448extract/./META-INF/rails.rb
> app-server.1 | invoking /tmp/jruby7107592493328148448extract/./META-INF/rails.rb with: [runner, FritoTogo.start_app_server!]
> connectors.1 | loading resource: /tmp/jruby1939297861825022508extract/./META-INF/rails.rb
> connectors.1 | invoking /tmp/jruby1939297861825022508extract/./META-INF/rails.rb with: [runner, Connectors.start!]
> filebeat.1   | [2020-02-14T09:35:39.889+00:00][19972][2002][filebeat][ERROR]: 
> filebeat.1   | --------------------------------------------------------------------------------
> filebeat.1   | 
> filebeat.1   | Elastic Enterprise Search requires Elasticsearch security features to be enabled.
> filebeat.1   | Please enable Elasticsearch security features as outlined here:
> filebeat.1   |   https://swiftype.com/documentation/enterprise-search/installation
> filebeat.1   | 
> filebeat.1   | --------------------------------------------------------------------------------
> filebeat.1   | 
> filebeat.1   | 
> filebeat.1   | ERROR: org.jruby.exceptions.SystemExit: (SystemExit) exit
> filebeat.1   | org.jruby.exceptions.SystemExit: (SystemExit) exit
> filebeat.1   |  at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:751)
> filebeat.1   |  at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:714)
> filebeat.1   |  at RUBY.fatal_error(/tmp/jruby2484594959289077476extract/shared_togo/lib/shared_togo.class:738)
> filebeat.1   |  at RUBY.check_elasticsearch_features!(/tmp/jruby2484594959289077476extract/frito_togo/lib/frito_togo.class:87)
> filebeat.1   |  at RUBY.configure!(/tmp/jruby2484594959289077476extract/shared_togo/lib/shared_togo.class:168)
> filebeat.1   |  at RUBY.configure!(/tmp/jruby2484594959289077476extract/shared_togo/lib/shared_togo.class:32)
> filebeat.1   |  at RUBY.<main>(/tmp/jruby2484594959289077476extract/config/application.class:24)
> filebeat.1   |  at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1013)
> filebeat.1   |  at RUBY.<main>(/tmp/jruby2484594959289077476extract/config/application.rb:1)
> filebeat.1   |  at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
> filebeat.1   |  at RUBY.<main>(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/runner.rb:51)
> filebeat.1   |  at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
> filebeat.1   |  at RUBY.require_command!(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:123)
> filebeat.1   |  at RUBY.runner(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:90)
> filebeat.1   |  at RUBY.run_command!(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39)
> filebeat.1   |  at RUBY.<main>(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands.rb:17)
> filebeat.1   |  at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
> filebeat.1   |  at RUBY.<main>(/tmp/jruby2484594959289077476extract/./META-INF/rails.rb:7)
> forego       | sending SIGTERM to app-server.1
> forego       | sending SIGTERM to connectors.1
> app-server.1 | ERROR: java.lang.reflect.InvocationTargetException
> app-server.1 | java.lang.NoClassDefFoundError: org/jruby/runtime/load/JarredScript
> app-server.1 |  at org.jruby.runtime.load.LoadService.isJarfileLibrary(LoadService.java:653)
> app-server.1 |  at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:907)
> app-server.1 |  at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:535)
> app-server.1 |  at org.jruby.runtime.load.LoadService.require(LoadService.java:402)
> app-server.1 |  at org.jruby.RubyKernel.requireCommon(RubyKernel.java:985)
> app-server.1 |  at org.jruby.RubyKernel.require(RubyKernel.java:978)
> app-server.1 |  at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen)
> app-server.1 |  at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:417)
> app-server.1 |  at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:95)
> app-server.1 |  at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:375)
> app-server.1 |  at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:174)
> app-server.1 |  at tmp.jruby7107592493328148448extract.$_dot_.META_minus_INF.rails.invokeOther8:require(/tmp/jruby7107592493328148448extract/./META-INF/rails.rb:7)
> app-server.1 |  at tmp.jruby7107592493328148448extract.$_dot_.META_minus_INF.rails.RUBY$script(/tmp/jruby7107592493328148448extract/./META-INF/rails.rb:7)
> app-server.1 |  at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
> app-server.1 |  at org.jruby.ir.Compiler$1.load(Compiler.java:89)
> app-server.1 |  at org.jruby.Ruby.runScript(Ruby.java:857)
> app-server.1 |  at org.jruby.Ruby.runNormally(Ruby.java:780)
> app-server.1 |  at org.jruby.Ruby.runNormally(Ruby.java:798)
> app-server.1 |  at org.jruby.Ruby.runFromMain(Ruby.java:610)
> app-server.1 |  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> app-server.1 |  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> app-server.1 |  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> app-server.1 |  at java.lang.reflect.Method.invoke(Method.java:498)
> app-server.1 |  at JarMain.invokeMethod(JarMain.java:263)
> app-server.1 |  at WarMain.launchJRuby(WarMain.java:263)
> app-server.1 |  at JarMain.start(JarMain.java:158)
> app-server.1 |  at WarMain.start(WarMain.java:357)
> app-server.1 |  at JarMain.doStart(JarMain.java:233)
> app-server.1 |  at WarMain.main(WarMain.java:367)
> connectors.1 | ERROR: java.lang.reflect.InvocationTargetException
> connectors.1 | java.lang.NoClassDefFoundError: org/jruby/runtime/load/JarredScript
> connectors.1 |  at org.jruby.runtime.load.LoadService.isJarfileLibrary(LoadService.java:653)
> connectors.1 |  at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:907)
> connectors.1 |  at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:535)
> connectors.1 |  at org.jruby.runtime.load.LoadService.require(LoadService.java:402)
> connectors.1 |  at org.jruby.RubyKernel.requireCommon(RubyKernel.java:985)
> connectors.1 |  at org.jruby.RubyKernel.require(RubyKernel.java:978)
> connectors.1 |  at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen)
> connectors.1 |  at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:417)
> connectors.1 |  at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:95)
> connectors.1 |  at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:375)
> connectors.1 |  at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:174)
> connectors.1 |  at tmp.jruby1939297861825022508extract.$_dot_.META_minus_INF.rails.invokeOther8:require(/tmp/jruby1939297861825022508extract/./META-INF/rails.rb:7)
> connectors.1 |  at tmp.jruby1939297861825022508extract.$_dot_.META_minus_INF.rails.RUBY$script(/tmp/jruby1939297861825022508extract/./META-INF/rails.rb:7)
> connectors.1 |  at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
> connectors.1 |  at org.jruby.ir.Compiler$1.load(Compiler.java:89)
> connectors.1 |  at org.jruby.Ruby.runScript(Ruby.java:857)
> connectors.1 |  at org.jruby.Ruby.runNormally(Ruby.java:780)
> connectors.1 |  at org.jruby.Ruby.runNormally(Ruby.java:798)
> connectors.1 |  at org.jruby.Ruby.runFromMain(Ruby.java:610)
> connectors.1 |  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> connectors.1 |  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> connectors.1 |  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> connectors.1 |  at java.lang.reflect.Method.invoke(Method.java:498)
> connectors.1 |  at JarMain.invokeMethod(JarMain.java:263)
> connectors.1 |  at WarMain.launchJRuby(WarMain.java:263)
> connectors.1 |  at JarMain.start(JarMain.java:158)
> connectors.1 |  at WarMain.start(WarMain.java:357)
> connectors.1 |  at JarMain.doStart(JarMain.java:233)
> connectors.1 |  at WarMain.main(WarMain.java:367)

the config file is the below

[root@elasticlogs config]# vi  enterprise-search.yml 
## ================= Elastic Enterprise Search Configuration ==================
#
# NOTE: Elastic Enterprise Search comes with reasonable defaults.
#       Before adjusting the configuration, make sure you understand what you
#       are trying to accomplish and the consequences.
#
# NOTE: For passwords, the use of environment variables is encouraged
#       to keep values from being written to disk, e.g.
#       elasticsearch.password: ${ELASTICSEARCH_PASSWORD:changeme}
#
# ------------------------------- Elasticsearch -------------------------------
#
# Enterprise Search needs one-time permission to alter Elasticsearch settings.
# Ensure the Elasticsearch settings are correct, then set the following to
# true.
# Or, adjust Elasticsearch's config/elasticsearch.yml instead.
## ================= Elastic Enterprise Search Configuration ==================
#
# NOTE: Elastic Enterprise Search comes with reasonable defaults.
#       Before adjusting the configuration, make sure you understand what you
#       are trying to accomplish and the consequences.
#
# NOTE: For passwords, the use of environment variables is encouraged
#       to keep values from being written to disk, e.g.
#       elasticsearch.password: ${ELASTICSEARCH_PASSWORD:changeme}
#
# ------------------------------- Elasticsearch -------------------------------
#
# Enterprise Search needs one-time permission to alter Elasticsearch settings.
# Ensure the Elasticsearch settings are correct, then set the following to
# true.
# Or, adjust Elasticsearch's config/elasticsearch.yml instead.
# See README.md for more details.
#
allow_es_settings_modification: true
#
# Elasticsearch full cluster URL:
#
elasticsearch.host: http://127.0.0.1:9200
#
# Elasticsearch credentials:
#
elasticsearch.username: elastic
elasticsearch.password: elastic
#
# Elasticsearch custom HTTP headers to add to each request:
#
#elasticsearch.headers:
#  X-My-Header: Contents of the header
#
# Elasticsearch SSL settings:
#
#elasticsearch.ssl.enabled: false
#elasticsearch.ssl.certificate:
#elasticsearch.ssl.certificate_authority:
#elasticsearch.ssl.key:
#elasticsearch.ssl.key_passphrase:
#elasticsearch.ssl.verify: true
#
# ------------------------------- Hosting & Network ---------------------------
#
allow_es_settings_modification: true
#
# Elasticsearch full cluster URL:
#
elasticsearch.host: http://127.0.0.1:9200
#
# Elasticsearch credentials:
#
elasticsearch.username: elastic
elasticsearch.password: elastic
#
# Elasticsearch custom HTTP headers to add to each request:
#
#elasticsearch.headers:
#  X-My-Header: Contents of the header
#
# Elasticsearch SSL settings:
#
#elasticsearch.ssl.enabled: false
#elasticsearch.ssl.certificate:
#elasticsearch.ssl.certificate_authority:
#elasticsearch.ssl.key:
#elasticsearch.ssl.key_passphrase:
#elasticsearch.ssl.verify: true
#
# ------------------------------- Hosting & Network ---------------------------
#
# Define the exposed URL at which users will reach Enterprise Search.
# Defaults to localhost:3002 for testing purposes.
# Most cases will use one of:
#
# * An IP: http://255.255.255.255
# * A FQDN: http://example.com
# * Shortname defined via /etc/hosts: http://ent-search.search
#
ent_search.external_url: http://172.27.52.33:3002
#
# Web application listen_host and listen_port.
# Your application will run on this host and port.
#
# * ent_search.listen_host: Must be a valid IPv4 or IPv6 address.
# * ent_search.listen_port: Must be a valid port number (1-65535).
#
ent_search.listen_host: 172.27.52.33
ent_search.listen_port: 3002
#
# ------------------------------ Authentication -------------------------------
#
# The origin of authenticated Enterprise Search users.
# Options are standard, elasticsearch-native, and elasticsearch-saml.
#
# Docs: https://swiftype.com/documentation/enterprise-search/guides/user-management
#
# * standard: Users are created within the Enterprise Search dashboard.
# * elasticsearch-native: Users are managed via the Elasticsearch native realm.
# * elasticsearch-saml: Users are managed via the Elasticsearch SAML realm.
#
ent_search.auth.source: standard
#
# (SAML only) Name of the realm within the Elasticsearch realm chain.
#
#ent_search.auth.name:
#
# ---------------------------------- Workers ----------------------------------
#
# Configure the number of worker threads.
#
#worker.threads: 4
#
# ----------------------------------- APIs ------------------------------------
#
# Set to true hide product version information from API responses.
#
#hide_version_info: false
#
# ---------------------------------- Mailer -----------------------------------
#
# Connect Enterprise Search to a mailer.
# Docs: https://swiftype.com/documentation/enterprise-search/guides/smtp-mailer
#
#email.account.enabled: false
#email.account.smtp.auth: plain
#email.account.smtp.starttls.enable: false
#email.account.smtp.host: 127.0.0.1
#email.account.smtp.port: 25
#email.account.smtp.user:
#email.account.smtp.password:
#email.account.email_defaults.from:
#
# ---------------------------------- Logging ----------------------------------
#
# Choose your log export path.
#
#log_directory: log
#
# Log level can be: debug, info, warn, error, fatal, or unknown.
#
#log_level: info
#
# Log format can be: default, json
#
#log_format: default
#
# Choose your Filebeat logs export path.
#
#filebeat_log_directory: log
#
# Enable logging app logs to stdout (enabled by default).
#
#enable_stdout_app_logging: true
#
# ---------------------------------- TLS/SSL ----------------------------------
#
# Configure TLS/SSL encryption.
#
#ent_search.ssl.enabled: false
#ent_search.ssl.keystore.path:
#ent_search.ssl.keystore.password:
#ent_search.ssl.keystore.key_password:
#ent_search.ssl.redirect_http_from_port:
#
# ---------------------------------- Secrets ----------------------------------
# Set to decrypt session information through restarts. Key can be supplied
# by you, or you can use the generated key provided during binary startup.
#
#secret_management.encryption_keys: []
#
# ---------------------------------- Session ----------------------------------
#
# Set key to persist user sessions through process restarts.
#
#secret_session_key:
#

Any advice would be great.

Thank you

As noted in the error message, it looks like you need to enable security on elasticsearch.

  1. Edit config/elasticsearch.yml and add:

xpack.security.enabled: true

I moved the installation at the node I have the kibana and now the elasticsearch is not loading.

[root@elastic0 bin]# systemctl start elasticsearch 
Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details.


[root@elastic0 bin]# systemctl status elasticsearch -l
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2020-02-17 09:42:35 EET; 13s ago
     Docs: http://www.elastic.co
  Process: 20640 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
 Main PID: 20640 (code=exited, status=1/FAILURE)

Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.cli.Command.main(Command.java:90)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: Refer to the log for complete error details.
Feb 17 09:42:35 elastic0 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Feb 17 09:42:35 elastic0 systemd[1]: Failed to start Elasticsearch.
Feb 17 09:42:35 elastic0 systemd[1]: Unit elasticsearch.service entered failed state.
Feb 17 09:42:35 elastic0 systemd[1]: elasticsearch.service failed.



[root@elastic0 bin]# journalctl -xe
Feb 17 09:41:24 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:41:23Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:41:35 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:41:35Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:41:47 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:41:47Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:42:00 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:41:59Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:42:12 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:42:11Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:42:24 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:42:23Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:42:27 elastic0 polkitd[961]: Registered Authentication Agent for unix-process:20634:23428114 (system bus name :1.994 [/usr/bin/pkttyagent --notify-fd 5 Feb 17 09:42:27 elastic0 systemd[1]: Starting Elasticsearch...
-- Subject: Unit elasticsearch.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit elasticsearch.service has begun starting up.
Feb 17 09:42:28 elastic0 elasticsearch[20640]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removeFeb 17 09:42:35 elastic0 elasticsearch[20640]: Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: java.nio.file.AccessDeniedException: /etFeb 17 09:42:35 elastic0 elasticsearch[20640]: Likely root cause: java.nio.file.AccessDeniedException: /etc/elasticsearch/enterprise-search-7.5.0.backup/filebeat/Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:432)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/java.nio.file.Files.newDirectoryStream(Files.java:475)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:300)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:373)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at java.base/java.nio.file.Files.walkFileTree(Files.java:2839)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:218)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:127)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:330)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.cli.Command.main(Command.java:90)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Feb 17 09:42:35 elastic0 elasticsearch[20640]: Refer to the log for complete error details.
Feb 17 09:42:35 elastic0 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Feb 17 09:42:35 elastic0 systemd[1]: Failed to start Elasticsearch.
-- Subject: Unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit elasticsearch.service has failed.
-- 
-- The result is failed.
Feb 17 09:42:35 elastic0 systemd[1]: Unit elasticsearch.service entered failed state.
Feb 17 09:42:35 elastic0 systemd[1]: elasticsearch.service failed.
Feb 17 09:42:35 elastic0 polkitd[961]: Unregistered Authentication Agent for unix-process:20634:23428114 (system bus name :1.994, object path /org/freedesktop/PolFeb 17 09:42:36 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:42:35Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:42:47 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:42:47Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:43:00 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:42:59Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:43:12 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:43:11Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:43:23 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:43:23Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"Feb 17 09:43:35 elastic0 kibana[6917]: {"type":"response","@timestamp":"2020-02-17T07:43:35Z","tags":[],"pid":6917,"method":"post","statusCode":200,"req":{"url":"lines 3750-3802/3802 (END)

I followed this https://www.elastic.co/guide/en/workplace-search/current/workplace-search-install.html I have 7.5.2 environment

Thank you

Hello,

Issue solved.

Thank you

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