Solved Error starting bukkit server

Discussion in 'Bukkit Help' started by Reece1223, Dec 15, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Reece1223

    I get an error starting my server, I am the computer administrator and have full permissions and I am getting this error spammed in the console, please help


    C:\Users\Username\Desktop\Minecraft\Server>java -Xmx1024M -jar craftbukkit.j
    ar -o true
    Loading libraries, please wait...
    2013-12-15 15:26:53,031 ERROR Cannot access RandomAccessFile {}) java.io.FileNot
    FoundException: logs\latest.log (Access is denied)
    2013-12-15 15:26:53,033 ERROR Unable to invoke method createAppender in class or
    g.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender for element
    RollingRandomAccessFile java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.logging.log4j.core.config.BaseConfiguration.createPluginOb
    ject(BaseConfiguration.java:841)
    at org.apache.logging.log4j.core.config.BaseConfiguration.createConfigur
    ation(BaseConfiguration.java:595)
    at org.apache.logging.log4j.core.config.BaseConfiguration.createConfigur
    ation(BaseConfiguration.java:587)
    at org.apache.logging.log4j.core.config.BaseConfiguration.doConfigure(Ba
    seConfiguration.java:244)
    at org.apache.logging.log4j.core.config.BaseConfiguration.start(BaseConf
    iguration.java:142)
    at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
    ntext.java:339)
    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext
    .java:378)
    at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
    149)
    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log
    4jContextFactory.java:85)
    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log
    4jContextFactory.java:34)
    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:387)
    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:322)
    at net.minecraft.server.v1_7_R1.MinecraftServer.<clinit>(MinecraftServer
    .java:46)
    at org.bukkit.craftbukkit.Main.main(Main.java:153)
    Caused by: java.lang.IllegalStateException: Unable to create a manager
    at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs
    tractManager.java:73)
    at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager
    (OutputStreamManager.java:65)
    at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil
    eManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:6
    2)
    at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende
    r.createAppender(RollingRandomAccessFileAppender.java:196)
    ... 18 more

    2013-12-15 15:26:53,085 ERROR Null object returned for RollingRandomAccessFile i
    n Appenders
     
  2. Offline

    jblanda

    Try a different build, i can't think of anything else.
     
  3. Offline

    Reece1223

    Nope, I tried about 5 1.7 most recent bilds and the recconended build for 1.6.4 and they all show the same error spamming my console.
     
  4. Offline

    TnT Retired Staff

    Username does not have access to the location you are running your server in:

    Code:
    2013-12-15 15:26:53,031 ERROR Cannot access RandomAccessFile {}) java.io.FileNot
    FoundException: logs\latest.log (Access is denied)
     
  5. Offline

    Reece1223

    How can I give my username access?
     
  6. Offline

    Reece1223

    Please help!
    bump
     
  7. Offline

    jblanda

    Better idea: Copy your server to your Documents
     
  8. Offline

    xZaralias

    Well i have the same problem but i get a random file named 'Logs'. I have the same problem when i want to run an '.exe' normal minecraft server. I hope you can help us.
     
    Reece1223 likes this.
  9. Offline

    Reece1223

    Thank you so much, it worked!
     
Thread Status:
Not open for further replies.

Share This Page