java.io.FileNotFoundException: /opt/elasticsearch/logs/elasticsearch.log (Permission denied)

Google Groups | Pasquale Iodice | 2 years 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

    Installing latest build

    Google Groups | 2 years ago | Ralee Cook
    java.io.FileNotFoundException: /opt/elasticsearch/logs/elasticsearch.log (Permission denied)
  2. 0

    HELP!! docker/run-dev.sh problem!!!

    Google Groups | 2 years ago | Pasquale Iodice
    java.io.FileNotFoundException: /opt/elasticsearch/logs/elasticsearch.log (Permission denied)
  3. 0

    ElasticSearch pod failing to start and preventing start script from finishing

    GitHub | 2 years ago | rawlingsj
    java.io.FileNotFoundException: /data/log/elasticsearch.log (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Starting Lumify Config ERROR

    Google Groups | 2 years ago | Pasquale Iodice
    java.io.FileNotFoundException: /opt/elasticsearch/logs/elasticsearch.log (Permission denied)
  6. 0

    GitHub comment 27#133744934

    GitHub | 2 years ago | rdpanek
    java.io.FileNotFoundException: /data/elasticsearch.log (Permission denied)

  1. rsprangemeijer 1 times, last 2 weeks ago
  2. Casper 1 times, last 4 weeks ago
  3. QrCeric 216 times, last 3 weeks ago
  4. Axelo 1 times, last 1 month ago
  5. tyson925 2 times, last 1 month ago
34 more registered users
61 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.io.FileNotFoundException

    /opt/elasticsearch/logs/elasticsearch.log (Permission denied)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:142)
    3 frames
  3. Apache Log4j
    PropertyConfigurator.configure
    1. org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
    2. org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
    3. org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
    4. org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
    5. org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
    6. org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
    7. org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
    8. org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
    9. org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
    10. org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
    11. org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:440)
    11 frames
  4. ElasticSearch
    Elasticsearch.main
    1. org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:105)
    2. org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94)
    3. org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
    4. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
    4 frames