Server Crashed by Server-Icon?

Discussion in 'Systems Administration' started by SnowyMC, Apr 1, 2019.

  1. Hey Everyone,
    When i Start my Server with the Icon from the Server he Crashed.
    put i delete the Icon from the Folder the Server is Starting...


    Code (Text):
    ---- Minecraft Crash Report ----
    // I'm sorry, Dave.

    Time: 4/1/19 4:08 PM
    Description: Exception in server tick loop

    java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1086)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at java.awt.Toolkit$3.run(Toolkit.java:1636)
        at java.awt.Toolkit$3.run(Toolkit.java:1634)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
        at sun.awt.AppContext$2.run(AppContext.java:277)
        at sun.awt.AppContext$2.run(AppContext.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.AppContext.initMainAppContext(AppContext.java:266)
        at sun.awt.AppContext.access$400(AppContext.java:135)
        at sun.awt.AppContext$3.run(AppContext.java:321)
        at sun.awt.AppContext$3.run(AppContext.java:304)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.AppContext.getAppContext(AppContext.java:303)
        at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:154)
        at javax.imageio.ImageIO.<clinit>(ImageIO.java:66)
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadServerIcon0(CraftServer.java:1660)
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadIcon(CraftServer.java:749)
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.<init>(CraftServer.java:250)
        at net.minecraft.server.v1_8_R3.PlayerList.<init>(PlayerList.java:71)
        at net.minecraft.server.v1_8_R3.DedicatedPlayerList.<init>(SourceFile:14)
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:176)
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525)
        at java.lang.Thread.run(Thread.java:748)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
        Minecraft Version: 1.8.8
        Operating System: Linux (amd64) version 4.9.0-8-amd64
        Java Version: 1.8.0_201, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 3972750352 bytes (3788 MB) / 4043833344 bytes (3856 MB) up to 5615124480 bytes (5355 MB)
        JVM Flags: 2 total; -Xms4024M -Xmx6024M
        IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
        CraftBukkit Information:
       Running: CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
       Failed to handle CraftCrashReport:
    java.lang.NullPointerException
        at net.minecraft.server.v1_8_R3.MinecraftServer.getOnlineMode(MinecraftServer.java:1285)
        at org.bukkit.craftbukkit.v1_8_R3.CraftCrashReport.call(CraftCrashReport.java:20)
        at net.minecraft.server.v1_8_R3.CrashReportSystemDetails.a(SourceFile:78)
        at net.minecraft.server.v1_8_R3.CrashReport.h(CrashReport.java:127)
        at net.minecraft.server.v1_8_R3.CrashReport.<init>(CrashReport.java:34)
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:577)
        at java.lang.Thread.run(Thread.java:748)

        Profiler Position: N/A (disabled)
        Is Modded: Definitely; Server brand changed to 'Spigot'
        Type: Dedicated Server (map_server.txt)
     
  2. 1.8.8

    try upgrading to the latest stable build: 1.13.2, it's supported.

    cannot open shared object file: No such file or directory
    ^ that's a clue.

    Make sure your server icon for Spigot is 64x64 and in PNG format, and not malformed. (as per the wiki)
     
  3. Thanks for your Reply, but my Plugins are Working only on 1.8.8
    And the Icon is this here it all Correct.
     

    Attached Files:

  4. Are you placing the "server-icon.png" (CaSe SenSiTiVe) in the root folder of your files? i.e. same place as your server.properties, world folders, plugins folder, bukkit.yml, etc.

    EDIT: Just a few things to check if the above isn't true.

    Are you uploading it with a user escalated about the user running the server?

    I.e. server is being ran as the minecraft user but image is uploaded with root.

    Same goes for checking readable file permissions.
     
  5. the Image was Uploaded by Stopped Server.
    i manage all with the root user.
     
  6. Screenshot 2019-04-01 at 16.55.40.png

    image dim are fine, doesn't seem malformed or have anything injected from some pirated jar that inserts malicious code into the header of png files. and works fine on my virtualbox sandbox test setup.

    it must be a server issue?
     
    • Winner Winner x 1
  7. OOF

    Dont' run anything minecraft as root user! .. services like these should all run as a regular user with the correct permissions. You don't wanna get pwned dude..
     
    • Like Like x 1
  8. The whole is a test vServer if everything runs correctly it will be set on the root server with the sperate user no worries.
     
  9. May have something to do with the size of the image file?
     
  10. @capitalizaton the Image was Okay See the Post from @mrfloris
    Ich reinstall my Linux System and now its Working.
     
  11. electronicboy

    IRC Staff

    for future reference to anybody who happens to run across this thread in the future, or anybody curious as to the issue, this is because the libraries used by mojang (which are included with the jre) require libxrender to be installed using your distros package manager
     
    • Agree Agree x 1
  12. Strahan

    Benefactor

    A test ran with different parameters than production is not a test. Running with full privileges will mask any ACL problems you may have when you go production with a regular user account.
     

Share This Page