java.io.FileNotFoundException: ./fits.log (Permission denied)

Sakai JIRA | Don Richards | 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

    This does not interrupt the process and is trivial. {code:none} $ drush -v -u 1 --uri=http://localhost islandora_book_batch_preprocess --type=zip --target=/vagrant/book-batch.zip $ drush -v --user=admin --uri=http://localhost islandora_batch_ingest Initialized Drupal 7.44 root directory at /var/www/drupal [notice] Initialized Drupal site localhost at sites/default [notice] log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: ./fits.log (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:133) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) 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.configureRootCategory(PropertyConfigurator.java:648) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:162) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:128) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:117) at edu.harvard.hul.ois.fits.Fits.main(Fits.java:261) Sep 21, 2016 6:08:00 PM edu.harvard.hul.ois.jhove.JhoveBase init SEVERE: Testing SEVERE level log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: ./fits.log (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:133) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) 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.configureRootCategory(PropertyConfigurator.java:648) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at edu.harvard.hul.ois.fits.tools.tika.TikaTool.<clinit>(TikaTool.java:368) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at edu.harvard.hul.ois.fits.tools.ToolBelt.init(ToolBelt.java:117) at edu.harvard.hul.ois.fits.tools.ToolBelt.<init>(ToolBelt.java:77) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:210) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:128) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:117) at edu.harvard.hul.ois.fits.Fits.main(Fits.java:261) Command dispatch complete [notice] {code}

    Sakai JIRA | 6 months ago | Don Richards
    java.io.FileNotFoundException: ./fits.log (Permission denied)
  2. 0

    GitHub comment 31#174837038

    GitHub | 1 year ago | swapnil70007
    java.io.FileNotFoundException: jFeatureLib.log (Access is denied)
  3. 0

    SIFT feature extraction

    GitHub | 1 year ago | swapnil70007
    java.io.FileNotFoundException: jFeatureLib.log (Access is denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Configure FITS webservice log

    GitHub | 6 months ago | ruebot
    java.io.FileNotFoundException: /usr/share/tomcat7/logs/fits-service.log (No such file or directory)
  6. 0

    LOG4j issue

    GitHub | 5 months ago | RoyalMattc
    java.io.FileNotFoundException: C:\log4j-application.log (Access is denied)

  1. jpvee 1 times, last 2 months ago
  2. Kawada 7 times, last 5 months ago
  3. sriharshakiran 2 times, last 9 months ago
  4. WoodenDoors 27 times, last 11 months ago
  5. reni 1 times, last 4 days ago
31 more registered users
64 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

    ./fits.log (Permission denied)

    at java.io.FileOutputStream.open0()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open0(Native Method)
    2. java.io.FileOutputStream.open(FileOutputStream.java:270)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    4. java.io.FileOutputStream.<init>(FileOutputStream.java:133)
    4 frames
  3. Apache Log4j
    Logger.getLogger
    1. org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
    2. org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
    3. org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
    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.doConfigure(PropertyConfigurator.java:580)
    12. org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
    13. org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
    14. org.apache.log4j.Logger.getLogger(Logger.java:117)
    14 frames
  4. edu.harvard.hul
    TikaTool.<clinit>
    1. edu.harvard.hul.ois.fits.tools.tika.TikaTool.<clinit>(TikaTool.java:368)
    1 frame
  5. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:348)
    2 frames
  6. edu.harvard.hul
    Fits.main
    1. edu.harvard.hul.ois.fits.tools.ToolBelt.init(ToolBelt.java:117)
    2. edu.harvard.hul.ois.fits.tools.ToolBelt.<init>(ToolBelt.java:77)
    3. edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:210)
    4. edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:128)
    5. edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:117)
    6. edu.harvard.hul.ois.fits.Fits.main(Fits.java:261)
    6 frames