java.io.FileNotFoundException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2764

  • via Google Groups by Pasquale Iodice, 1 year ago
    /opt/elasticsearch/logs/elasticsearch_index_search_slowlog.log (Permission denied)
  • via Google Groups by Pasquale Iodice, 11 months ago
    /opt/elasticsearch/logs/elasticsearch_index_search_slowlog.log (Permission denied)
  • via Google Groups by Ralee Cook, 1 year ago
    /opt/elasticsearch/logs/elasticsearch_index_search_slowlog.log (Permission denied)
  • Stack trace

    • java.io.FileNotFoundException: /opt/elasticsearch/logs/elasticsearch_index_search_slowlog.log (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:142) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:440) at org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:105) at org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94) at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 5 months ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 11 months ago
    825 times, 1 year ago
    155 more bugmates