Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by a1exus
, 1 year ago
Unable to access 'path.data' (/var/lib/elasticsearch/elasticsearch)
via GitHub by hughsaunders
, 1 year ago
Unable to access 'path.data' (/var/lib/elasticsearch/openstack)
via GitHub by rdica
, 1 year ago
Unable to access 'path.data' (/data/elasticsearch/elasticsearch)
via Stack Overflow by Ed Baker
, 2 years ago
Unable to access 'path.data' (/home/elasticUser/elasticFiles)
via Stack Overflow by Dark-Water
, 1 year ago
Unable to access 'path.data' (E:\TfsData\Search\IndexStore)
java.lang.IllegalStateException: Unable to access 'path.data' (/var/lib/elasticsearch/elasticsearch) at org.elasticsearch.bootstrap.Security.addPath(Security.java:316) at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:259) at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:212) at org.elasticsearch.bootstrap.Security.configure(Security.java:118) at org.elasticsearch.bootstrap.Bootstrap.setupSecurity(Bootstrap.java:212) at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:183) at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)Caused by: java.nio.file.AccessDeniedException: /var/lib/elasticsearch/elasticsearch 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.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674) at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) at java.nio.file.Files.createDirectories(Files.java:767) at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:337) at org.elasticsearch.bootstrap.Security.addPath(Security.java:314) ... 7 more