java.security.AccessControlException: access denied ("java.io.FilePermission" "/elasticsearch/searchguard.key" "read")

GitHub | ewolinetz | 5 months ago
  1. 0

    Elasticsearch fails to start up with SG 2.3.3

    GitHub | 5 months ago | ewolinetz
    java.security.AccessControlException: access denied ("java.io.FilePermission" "/elasticsearch/searchguard.key" "read")
  2. 0

    elasticsearch fails to start tribe node

    GitHub | 11 months ago | zcola
    java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/elk/running/elasticsearch/config/hunspell" "read")
  3. 0

    GitHub comment 16253#175933369

    GitHub | 10 months ago | gbjuno
    java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/tribe-client/hunspell" "read")
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Installing carrot2 plugin inside an elasticsearch docker container results in AccessControlException

    GitHub | 11 months ago | jwayne2978
    java.security.AccessControlException: access denied ("java.io.FilePermission" "src/main/config" "read")
  6. 0

    Tribe node clients using wrong config path

    GitHub | 10 months ago | clintongormley
    java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/clinton/workspace/servers/elasticsearch-2.2.0/config/hunspell" "read")

    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.security.AccessControlException

      access denied ("java.io.FilePermission" "/elasticsearch/searchguard.key" "read")

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      Files.isDirectory
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
      2. java.security.AccessController.checkPermission(AccessController.java:884)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      4. java.lang.SecurityManager.checkRead(SecurityManager.java:888)
      5. sun.nio.fs.UnixPath.checkRead(UnixPath.java:795)
      6. sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:49)
      7. sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
      8. sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
      9. java.nio.file.Files.readAttributes(Files.java:1737)
      10. java.nio.file.Files.isDirectory(Files.java:2192)
      10 frames
    3. com.floragunn.searchguard
      SearchGuardSSLPlugin.nodeModules
      1. com.floragunn.searchguard.ssl.SearchGuardKeyStore.checkStorePath(SearchGuardKeyStore.java:526)
      2. com.floragunn.searchguard.ssl.SearchGuardKeyStore.initSSLConfig(SearchGuardKeyStore.java:192)
      3. com.floragunn.searchguard.ssl.SearchGuardKeyStore.<init>(SearchGuardKeyStore.java:139)
      4. com.floragunn.searchguard.ssl.SearchGuardSSLModule.<init>(SearchGuardSSLModule.java:29)
      5. com.floragunn.searchguard.ssl.SearchGuardSSLPlugin.nodeModules(SearchGuardSSLPlugin.java:127)
      5 frames
    4. ElasticSearch
      Elasticsearch.main
      1. org.elasticsearch.plugins.PluginsService.nodeModules(PluginsService.java:263)
      2. org.elasticsearch.node.Node.<init>(Node.java:179)
      3. org.elasticsearch.node.Node.<init>(Node.java:140)
      4. org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
      5. org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
      6. org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
      7. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
      7 frames