Unable to launch elasticsearch

$ /opt/elasticsearch-6.2.3/bin/elasticsearch

Exception in thread "main" java.nio.file.AccessDeniedException: /opt/elasticsearch-6.2.3/config/jvm.options
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:58)

Have a look at the installation guide.
It tells you step by step what you need to do depending on your OS.

Is something does not work then explain all the steps you did and what is blocking you from doing the next step.

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