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

Sonatype JIRA | Joe Tom | 11 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

    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 | 11 months ago | Joe Tom
    java.io.FileNotFoundException: /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.bundle.cfg (Permission denied)
  2. 0

    File Permissions issues?

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

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

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

    Automated exception search integrated into your IDE

  5. 0

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

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

    [Play 2.3.x] - FileNotFoundException/No application found at invoker init

    Google Groups | 2 years ago | Johan Dahlberg
    play.PlayExceptions$UnexpectedException: Unexpected exception[FileNotFoundExcept ion: /home/vagrant/AccessWeb/target/web/classes/main/META-INF/resources/webjars/ mobitecaccessweb/1.20.2-SNAPSHOT/javascripts/checkboxtree-0.5.2/library/jquery-u i-1.8.12.custom/css/smoothness/images/ui-icons_454545_256x240.png (Operation not permitted)]
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.bundle.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:778)[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