Minecraft Server wird durch Apache2 geblockt

  • Hi Leute ich habe seit 2 Monaten einen Raspberry Pi 4,

    und hab dadrauf einen Minecraft-Server am laufen seit kurzem hab ich auch apache2 blos seit dem geht mein Server nicht mehr :wallbash:


    Kann es sein dass sich die zwei nicht vertragen?


    Hab apache deinstalirt aber es geht immer noch nicht.


    Es kommt immer:


    java -Xmx1024M -Xms1024M -jar server.jar nogui


    2020-10-26 13:30:43,454 main ERROR Cannot access RandomAccessFile java.io.FileNo tFoundException: logs/latest.log (Keine Berechtigung) java.io.FileNotFoundExcept ion: logs/latest.log (Keine Berechtigung)

    at java.base/java.io.RandomAccessFile.open0(Native Method)

    at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:343)

    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)

    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)

    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)

    at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccess FileManager.java:180)

    at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccess FileManager.java:156)

    at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs tractManager.java:112)

    at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager (OutputStreamManager.java:114)

    at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:8 7)

    at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:115)

    at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:52)

    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build (PluginBuilder.java:122)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug inObject(AbstractConfiguration.java:952)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:892)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:884)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur e(AbstractConfiguration.java:508)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize (AbstractConfiguration.java:232)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst ractConfiguration.java:244)

    at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo ntext.java:545)

    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:617)

    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:634)

    at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java: 229)

    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:152)

    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:45)

    at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)

    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)

    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)

    at net.minecraft.server.Main.<clinit>(SourceFile:58)


    2020-10-26 13:30:43,470 main ERROR Unable to inject fields into builder class fo r plugin type class org.apache.logging.log4j.core.appender.RollingRandomAccessFi leAppender, element RollingRandomAccessFile. java.lang.IllegalStateException: Ma nagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingRandomAccess FileManager$RollingRandomAccessFileManagerFactory@1a49800] unable to create mana ger for [logs/latest.log] with data [org.apache.logging.log4j.core.appender.roll ing.RollingRandomAccessFileManager$FactoryData@1238fc2]

    at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs tractManager.java:114)

    at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager (OutputStreamManager.java:114)

    at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:8 7)

    at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:115)

    at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:52)

    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build (PluginBuilder.java:122)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug inObject(AbstractConfiguration.java:952)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:892)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:884)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur e(AbstractConfiguration.java:508)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize (AbstractConfiguration.java:232)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst ractConfiguration.java:244)

    at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo ntext.java:545)

    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:617)

    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:634)

    at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java: 229)

    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:152)

    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:45)

    at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)

    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)

    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)

    at net.minecraft.server.Main.<clinit>(SourceFile:58)


    2020-10-26 13:30:43,475 main ERROR Unable to invoke factory method in class clas s org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender for ele ment RollingRandomAccessFile. java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingRandomAccessFileA ppender

    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findF actoryMethod(PluginBuilder.java:224)

    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build (PluginBuilder.java:130)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug inObject(AbstractConfiguration.java:952)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:892)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:884)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur e(AbstractConfiguration.java:508)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize (AbstractConfiguration.java:232)

    at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst ractConfiguration.java:244)

    at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo ntext.java:545)

    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:617)

    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:634)

    at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java: 229)

    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:152)

    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:45)

    at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)

    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)

    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)

    at net.minecraft.server.Main.<clinit>(SourceFile:58)


    2020-10-26 13:30:43,480 main ERROR Null object returned for RollingRandomAccessF ile in Appenders.

    2020-10-26 13:30:43,503 main ERROR Unable to locate appender "File" for logger c onfig "root"

    [13:31:02] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'

    [13:31:02] [main/FATAL]: Failed to start the minecraft server

    aeu$a: /home/pi/minecraft/./world/session.lock: already locked (possibly by other Minecraft instance?)

    at aeu$a.a(SourceFile:98) ~[server.jar:?]

    at aeu.a(SourceFile:44) ~[server.jar:?]

    at cyd$a.<init>(SourceFile:287) ~[server.jar:?]

    at cyd.c(SourceFile:275) ~[server.jar:?]

    at net.minecraft.server.Main.main(SourceFile:119) [server.jar:?]


    :helpnew::helpnew::helpnew::helpnew:


  • Hallo und Willkommen im Forum


    jetzt stell dir vor du weißt nichts von dem und ließt dann den Beitrag.


    Sieh mal hier: Wie frage ich nach Hilfe?


    Außerdem wär es dann hilfreich zu wissen wie Minecraft und Apache installiert worden sind und die Vergabe der Rechte

  • Da steht schon einiges z.B:


    *edit* reboot könnte auch nicht schaden


    /home/pi/minecraft/./world/session.lock: already locked (possibly by other Minecraf


    vielleicht hilft es auch schon das lock file zu löschen

    ;;;;;;; rm /home/pi/minecraft/./world/session.lock


    vielleicht geht dann auch schon dieser Fehler weg:

    --->logs/latest.log (Keine Berechtigung)