Plugin Help Essentials: Strange Error

Discussion in 'Plugin Help/Development/Requests' started by katalinea, Jul 8, 2018.

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

    katalinea

    Recently I've started getting this strange error message. I'm not too sure what it means, but it's spamming my console and I'm assuming I'm getting it for a reason. If anyone knows what it's reporting about or how I can fix it, please let me know!

    Code:
    [21:35:36] [pool-15-thread-1/ERROR]: [Essentials] /var/games/minecraft/servers/mg2/plugins/Essentials/userdata/a4feb0eb-fbb8-41c4-a813-3b90de463b32.yml (Permission denied)
    java.io.FileNotFoundException: /var/games/minecraft/servers/mg2/plugins/Essentials/userdata/a4feb0eb-fbb8-41c4-a813-3b90de463b32.yml (Permission denied)
    at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_171]
    at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_171]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_171]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:162) ~[?:1.8.0_171]
    at com.earth2me.essentials.EssentialsConf$WriteRunner.run(EssentialsConf.java:415) [Essentials-2.x-SNAPSHOT.jar:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    [21:35:36] [pool-15-thread-1/ERROR]: [Essentials] /var/games/minecraft/servers/mg2/plugins/Essentials/userdata/a4feb0eb-fbb8-41c4-a813-3b90de463b32.yml (Permission denied)
    java.io.FileNotFoundException: /var/games/minecraft/servers/mg2/plugins/Essentials/userdata/a4feb0eb-fbb8-41c4-a813-3b90de463b32.yml (Permission denied)
    at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_171]
    at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_171]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_171]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:162) ~[?:1.8.0_171]
    at com.earth2me.essentials.EssentialsConf$WriteRunner.run(EssentialsConf.java:415) [Essentials-2.x-SNAPSHOT.jar:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    [21:35:36] [pool-15-thread-1/ERROR]: [Essentials] /var/games/minecraft/servers/mg2/plugins/Essentials/userdata/a4feb0eb-fbb8-41c4-a813-3b90de463b32.yml (Permission denied)
    java.io.FileNotFoundException: /var/games/minecraft/servers/mg2/plugins/Essentials/userdata/a4feb0eb-fbb8-41c4-a813-3b90de463b32.yml (Permission denied)
    at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_171]
    at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_171]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_171]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:162) ~[?:1.8.0_171]
    at com.earth2me.essentials.EssentialsConf$WriteRunner.run(EssentialsConf.java:415) [Essentials-2.x-SNAPSHOT.jar:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Edit:
    I've just checked my files, and it appears that the files that are having issues have the wrong permissions. They should have the -rw-rw-r perms, except they don't. How can I fix this?
     
    Last edited: Jul 8, 2018
  2. Offline

    xbpuk

    Hi there, @katalinea.

    Possible Problems:
    • Server is out of storage space.
    • Files don't have permission to be accessed.
    Possible Solutions:
    • 1) Get upgraded storage.
    • 2) If you have access to the SSH or SFTP portion of the server, use the chmod/chown commands to change file permissions.
      • If using Multicraft. These need to be set to the "minecraft" user.
      • Sometimes changing files from a root user can change the specific user.
    Let us know if you need further support.

    Best Regards,

    ES Team.
     
Thread Status:
Not open for further replies.

Share This Page