java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.shell.cfg (Permission denied)

Sonatype JIRA | Joe Tom | 8 months ago
  1. 0

    Starting nexus for the first time via docker generates the below warn. No adverse behavior is noted so far but keeping for record and to avoid log spam. {code} 2016-04-05 19:14:32,950+0000 WARN [pool-4-thread-1] org.apache.karaf.features.internal.service.FeaturesServiceImpl - Can't update cfg file java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.feature.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method) [na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152) [org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:778) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985) [org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] 2016-04-05 19:14:33,057+0000 WARN [pool-4-thread-1] org.apache.karaf.features.internal.service.FeaturesServiceImpl - Can't update cfg file java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.bundle.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method) [na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152) [org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:778) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985) [org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] 2016-04-05 19:14:33,091+0000 WARN [pool-4-thread-1] org.apache.karaf.features.internal.service.FeaturesServiceImpl - Can't update cfg file java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.system.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method) [na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152) [org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:778) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985) [org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] 2016-04-05 19:14:33,106+0000 WARN [pool-4-thread-1] org.apache.karaf.features.internal.service.FeaturesServiceImpl - Can't update cfg file java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.shell.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method) [na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152) [org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:773) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985) [org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] 2016-04-05 19:14:33,120+0000 WARN [pool-4-thread-1] org.apache.karaf.features.internal.service.FeaturesServiceImpl - Can't update cfg file java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.jaas.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method) [na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152) [org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:778) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985) [org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] 2016-04-05 19:14:33,167+0000 WARN [pool-4-thread-1] org.apache.karaf.features.internal.service.FeaturesServiceImpl - Can't update cfg file java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.config.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method) [na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152) [org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:778) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089) [org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985) [org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] {code} This file is new to 3.0.0. Did not check NX2 at this time.

    Sonatype JIRA | 8 months ago | Joe Tom
    java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.shell.cfg (Permission denied)
  2. 0

    File Permissions issues?

    GitHub | 2 months ago | rcarmich
    java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.feature.cfg (Permission denied)
  3. 0

    java.io.FileNotFoundException: [...]/org.apache.karaf.command.acl.feature.cfg

    GitHub | 4 weeks ago | Rotwang
    java.io.FileNotFoundException: /opt/sonatype/nexus/etc/karaf/org.apache.karaf.command.acl.shell.cfg (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't update cfg file org.apache.karaf.command.acl.bundle.cfg

    GitHub | 2 months ago | bqluan
    java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.bundle.cfg (Permission denied)
  6. 0

    jetty error

    Google Groups | 6 months ago | Peiter Brown
    java.io.FileNotFoundException: /tmp/jetty-0.0.0.0-8080-webservice1.war-_webservice1-any-7777980681771862519.dir/webapp (Is a directory)

  1. eti22 3 times, last 2 weeks ago
  2. tyson925 49 times, last 1 week ago
  3. MoYapro 1 times, last 1 month ago
  4. musketyr 3 times, last 1 month ago
  5. iridic 12 times, last 1 month ago
23 more registered users
72 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/sonatype/nexus/etc/org.apache.karaf.command.acl.shell.cfg (Permission denied)

    at java.io.FileOutputStream.open0()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open0(Native Method)[na:1.8.0_77]
    2. java.io.FileOutputStream.open(FileOutputStream.java:270)[na:1.8.0_77]
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:213)[na:1.8.0_77]
    4. java.io.FileOutputStream.<init>(FileOutputStream.java:162)[na:1.8.0_77]
    4 frames
  3. Apache Felix Bundle Repository
    Properties.save
    1. org.apache.felix.utils.properties.Properties.save(Properties.java:152)[org.apache.karaf.features.core:4.0.4]
    2. org.apache.felix.utils.properties.Properties.save(Properties.java:148)[org.apache.karaf.features.core:4.0.4]
    2 frames
  4. org.apache.karaf
    FeaturesServiceImpl$1.call
    1. org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292)[org.apache.karaf.features.core:4.0.4]
    2. org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107)[org.apache.karaf.features.core:4.0.4]
    3. org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166)[org.apache.karaf.features.core:4.0.4]
    4. org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:773)[org.apache.karaf.features.core:4.0.4]
    5. org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[org.apache.karaf.features.core:4.0.4]
    6. org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[org.apache.karaf.features.core:4.0.4]
    6 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77]
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]
    4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
    4 frames