Could not register Logger!

Discussion in 'BungeeCord Help' started by Mo_nur_Mo, May 26, 2018.

  1. I'm trying to start my BungeeCord Proxy with this start.sh:
    Code (Text):
    screen -S BungeeCord java -Xmx1G -Xms1G -jar BungeeCord.jar
    , the problem is when starting it with my custom user (not root):
    Code (Text):
    Could not register logger!
    java.nio.file.AccessDeniedException: proxy.log.0.lck
            at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
            at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
            at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
            at sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
            at java.nio.channels.FileChannel.open(FileChannel.java:287)
            at java.nio.channels.FileChannel.open(FileChannel.java:335)
            at java.util.logging.FileHandler.openFiles(FileHandler.java:478)
            at java.util.logging.FileHandler.<init>(FileHandler.java:420)
            at net.md_5.bungee.log.BungeeLogger.<init>(BungeeLogger.java:30)
            at net.md_5.bungee.BungeeCord.<init>(BungeeCord.java:219)
            at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:53)
            at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
     
    Thanks for helping!
     
  2. Make sure the server is stopped and delete the proxy.log.0.lck file. Or stop the server and change the permissions so that whichever user is running the server has read and write permissions on that file
     
  3. Thanks, I will try that later.