Unable to start elastic search in linux server

Unable to start Elasticsearch in linux server, kindly help
Exception in thread "main" java.nio.file.AccessDeniedException: /opt/MBRL/Elastic/elasticsearch-6.5.0/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:60)

It seems that elasticsearch can not reach jvm.options due to a permission problem. "AccessDeniedException"

Try ls -l to check the permissions of the file.
Try running it with sudo.

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