java.lang.IllegalStateException: Unable to access 'path.data' (/var/lib/elasticsearch/elasticsearch)

GitHub | a1exus | 2 months ago
  1. 0

    Unable to access 'path.data' (/var/lib/elasticsearch/elasticsearch)

    GitHub | 2 months ago | a1exus
    java.lang.IllegalStateException: Unable to access 'path.data' (/var/lib/elasticsearch/elasticsearch)
  2. 0

    Ubuntu 16.04 elasticsearch fails to start when datadir is on iscsi volume

    GitHub | 2 months ago | rdica
    java.lang.IllegalStateException: Unable to access 'path.data' (/data/elasticsearch/elasticsearch)
  3. 0

    Elasticsearch crashes when updated data path

    Stack Overflow | 1 year ago | Sanjay Bhosale
    java.lang.IllegalStateException: Unable to access 'path.data' (/home/hadoop/bigdata/data/elasticsearch)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Elastic Search Not Finding Data Directory

    Stack Overflow | 1 year ago | Ed Baker
    java.lang.IllegalStateException: Unable to access 'path.data' (/home/elasticUser/elasticFiles)
  6. 0

    manage default path.scripts directory

    GitHub | 1 year ago | vkhatri
    java.lang.IllegalStateException: Unable to access 'path.scripts' (/etc/elasticsearch/scripts)

    10 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.nio.file.AccessDeniedException

      /var/lib/elasticsearch/elasticsearch

      at sun.nio.fs.UnixException.translateToIOException()
    2. Java RT
      Files.createDirectories
      1. sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
      2. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      3. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      4. sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
      5. java.nio.file.Files.createDirectory(Files.java:674)
      6. java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
      7. java.nio.file.Files.createDirectories(Files.java:767)
      7 frames
    3. ElasticSearch
      Elasticsearch.main
      1. org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:337)
      2. org.elasticsearch.bootstrap.Security.addPath(Security.java:314)
      3. org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:259)
      4. org.elasticsearch.bootstrap.Security.createPermissions(Security.java:212)
      5. org.elasticsearch.bootstrap.Security.configure(Security.java:118)
      6. org.elasticsearch.bootstrap.Bootstrap.setupSecurity(Bootstrap.java:212)
      7. org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:183)
      8. org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286)
      9. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
      9 frames