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

GitHub | rdica | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

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

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

    GitHub comment 693#268486401

    GitHub | 3 months ago | hughsaunders
    java.lang.IllegalStateException: Unable to access 'path.data' (/var/lib/elasticsearch/openstack)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)
  6. 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)

    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

      /data/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