Just now I am resinstalling ELk with this
If I would like to start Elasticsearch, I receives the follwing error:
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: java.nio.file.AccessDeniedException: /etc/elasticsearch/elasticsearch.keystore
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:213)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at java.base/java.nio.channels.FileChannel.open(FileChannel.java:301)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at java.base/java.nio.channels.FileChannel.open(FileChannel.java:353)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:78)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:156)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.common.settings.KeyStoreWrapper.load(KeyStoreWrapper.java:253)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.server.cli.KeyStoreLoader.load(KeyStoreLoader.java:27)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.server.cli.ServerCli.execute(ServerCli.java:87)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:55)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:101)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.cli.Command.main(Command.java:54)
Aug 07 12:34:26 ESXELX1300 systemd-entrypoint[6090]: at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:65)
Aug 07 12:34:26 ESXELX1300 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=74/IOERR
“Root” is owner on elasticsearch.keystore
Java is installed:
[root@ESXELX1300 lib]# java -version
Picked up JAVA_TOOL_OPTIONS: -Djavax.net.ssl.trustStore=/etc/javacas/cacerts
java version "21.0.8" 2025-07-15 LTS
Java(TM) SE Runtime Environment (build 21.0.8+12-LTS-250)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.8+12-LTS-250, mixed mode, sharing)
JAVA_HOME is set:
Do you have any idea, whet the problem can be?
EI