Cannot restart Server after crash

    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    This is all I have. I start the server and I get this:


    [SERVER][READTAG] WARNING: org.schema.game.server.controller.GameServerController@3016f5a0 READING tag: CATALOG; .cat took long: 76ms
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeHi(Unknown Source)
    at java.util.TimSort.mergeAt(Unknown Source)
    at java.util.TimSort.mergeForceCollapse(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at nO.d(SourceFile:271)
    at nO.(SourceFile:69)
    at mS.(SourceFile:58)
    at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:790)
    at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:406)
    at kL.run(SourceFile:876)
    at java.lang.Thread.run(Unknown Source)



    I was not playing at the time, so no idea what happened.



    normaly we can just restart, but this is causing it to shutdown before completing startup.



    Full output:

    [VERSION] VERSION: 0.09441
    [VERSION] BUILD: 20131030_000351
    #################### StarMade #######################
    # version 0.09441 - build 20131030_000351 #
    #####################################################
    [LIBLOADER] OS ARCHITECTURE amd64
    [LIBLOADER] LOADED NATIVE LIBRARIES
    java.io.FileNotFoundException: ./settings.cfg (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileReader.(Unknown Source)
    at zY.a(SourceFile:317)
    at org.schema.game.common.Starter.main(SourceFile:693)
    Could not read settings file: using defaults
    [MAIN] LOADED ENGINE SETTINGS
    [INITIALIZE] REMOTE CLASSES REGISTERED
    [INITIALIZE] RESOURCE MANAGER INITIALIZED
    ERROR: no content in Resource: /media/will/starmade00944/StarMade/file:/media/will/starmade00944/StarMade/StarMade.jar!/org/schema/game/network/commands
    ################# Loading from JAR #####################
    ########################################################
    [INITIALIZE] REMOTE COMMANDS REGISTERED
    [INITIALIZE] SECURITY MANAGER SET
    [INITIALIZE] COMMAND ID's ASSIGNED
    [CONFIG] RECIPES PARSED: 35
    [INITIALIZE] BLOCK CONFIGURATION READ
    [MAIN] INITIALIZATION COMPLETED
    [MAIN] CHECKING IF MIGRATION NECESSARY
    [BLUEPRINT][MIGRATION] NO CONVERSION NEEDED: no old bb file exists: /media/will/starmade00944/StarMade/./blueprints/catalog.txt
    [SERVER] ###### READING ALL BLUEPRINTS!
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 34;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 35;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 76;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 77;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 77;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 79;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 80;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 81;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 81;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 81;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 82;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 210;
    [TAG] WARNING: Struct read time of D took: 210
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 211;
    [TAG] WARNING: Struct read time of wepContr took: 211
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 211;
    [TAG] WARNING: Struct read time of shipMan0 took: 211
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 212;
    [TAG] warning: reading tag: container took: 212
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 45;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 45;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 46;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 46;
    [BLUEPRINT] Exception: invalid blueprint directory: File Not Found: ./blueprints/blueprints/header.smbph (No such file or directory)
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 112;
    [TAG] WARNING: Struct read time of D took: 112
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 113;
    [TAG] WARNING: Struct read time of wepContr took: 113
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 114;
    [TAG] WARNING: Struct read time of shipMan0 took: 114
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 114;
    [TAG] warning: reading tag: container took: 115
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 46;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 47;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 47;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 47;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 194;
    [TAG] WARNING: Struct read time of D took: 195
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 195;
    [TAG] WARNING: Struct read time of wepContr took: 195
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 196;
    [TAG] WARNING: Struct read time of shipMan0 took: 196
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 196;
    [TAG] warning: reading tag: container took: 196
    [SERVER] ###### READING ALL 1255 BLUEPRINTS FINISHED! TOOK 2858ms
    [MAIN] MIGRATION PROCESS DONE
    [MAIN] STARTING WITH ARGUMENTS: [-server]
    [SERVER] initializing
    [SQL] Fetching connection (may take some if game crashed on the run before)
    [SQL] connection successfull
    [SERVER] port 4242 is open
    [SERVER] USING TCP...
    [SERVER] loaded faction from disk: Faction [id=10047, name=Natemac Industries Inc, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10045, name=The Galantry Federation, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10043, name=Zennith Delta, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10041, name=Callisto, description=Moon of Jupiter
    100041 size: 1]
    [SERVER] loaded faction from disk: Faction [id=10039, name=ginger, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10037, name=jelly fighters, description=no one can join because this is my build faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10035, name=The explorers, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10033, name=Nouvelle terre, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10031, name=GER_Imperium, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10029, name=Jeffafafafafafafafafafa, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10027, name=Third Fleet Task Force, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10025, name=Spectres, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10082, name=Parking Lot Gang, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10023, name=Troll Police, description=got a troll? hire the Troll police size: 3]
    [SERVER] loaded faction from disk: Faction [id=10080, name=kylesfaction, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10019, name=CodeMasterCorp, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10084, name=TheDarkDragons, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=-2, name=Trading guild, description=The intergalactic trading guild size: 0]
    [SERVER] loaded faction from disk: Faction [id=-1, name=Pirates, description=Ravaging space pirates size: 0]
    [SERVER] loaded faction from disk: Faction [id=10013, name=Toms Raiders, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10075, name=Somsa , description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10015, name=Space_Nubs, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10077, name=Sioux Fleetworks, description=a faction size: 2]
    [SERVER] loaded faction from disk: Faction [id=10009, name=BlackAndGreen, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10011, name=Lukes Ships, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10078, name=Rhymidion Galactic, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10005, name=LodeStar Shipworks, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10007, name=EFSF Londo Belle, description=a faction size: 3]
    [SERVER] loaded faction from disk: Faction [id=10069, name=Arcane, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10001, name= TEC , description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10003, name=MushroomFleet, description=a faction size: 2]
    [SERVER] loaded faction from disk: Faction [id=10059, name=Asgard, description=a faction size: 2]
    [SERVER] loaded faction from disk: Faction [id=10061, name=United Alliance, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10063, name=F T W N, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10049, name=Muffin_Fleet, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10051, name=Gecko Fleet, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10053, name=Asman Alliance, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10055, name=Sector Red 7, description=a faction size: 1]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10077, b=10007, rel=FRIEND]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10039, b=10053, rel=NEUTRAL]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10015, b=10003, rel=FRIEND]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10013, b=10025, rel=FRIEND]
    [SERVER][CATALOG] READ RAW BLUEPRINTS: 1255
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 75;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 75;
    [SERVER][READTAG] WARNING: org.schema.game.server.controller.GameServerController@3016f5a0 READING tag: CATALOG; .cat took long: 76ms
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeHi(Unknown Source)
    at java.util.TimSort.mergeAt(Unknown Source)
    at java.util.TimSort.mergeForceCollapse(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at nO.d(SourceFile:271)
    at nO.(SourceFile:69)
    at mS.(SourceFile:58)
    at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:790)
    at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:406)
    at kL.run(SourceFile:876)
    at java.lang.Thread.run(Unknown Source)
    WARNING: USING EMERGENCY SHUTDOWN HOOK
    WARNING: USING EMERGENCY SHUTDOWN HOOK: onShutDown
    [SERVER] SERVER SHUTDOWN. Dumping server State!
    [SERVER] WAITING FOR THREAD POOL TO TERMINATE; Active: 0
    [SERVER] SERVER THREAD POOL TERMINATED
    [SERVER] WAITING FOR WRITING QUEUE TO FINISH; Active: 0
    [SERVER] SERVER THREAD QUEUE TERMINATED
    [SHUTDOWN] waiting for 0 queued writing jobs to finish
    [SHUTDOWN] all queued writing jobs finished
    [SHUTDOWN] database closed successfully
    [SERVER] SERVER SHUTDOWN. ServerState saved!
    WARNING: USING EMERGENCY SHUTDOWN HOOK: closing log
    WARNING: USING EMERGENCY SHUTDOWN HOOK DONE
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    reduced memory in startup script from 3072 to 2048 (max)

    update:

    [SERVER][READTAG] WARNING: org.schema.game.server.controller.GameServerController@48dc7d5f READING tag: CATALOG; .cat took long: 77ms
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeHi(Unknown Source)
    at java.util.TimSort.mergeAt(Unknown Source)
    at java.util.TimSort.mergeForceCollapse(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at nO.d(SourceFile:271)
    at nO.(SourceFile:69)
    at mS.(SourceFile:58)
    at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:790)
    at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:406)
    at kL.run(SourceFile:876)
    at java.lang.Thread.run(Unknown Source)

    WARNING: USING EMERGENCY SHUTDOWN HOOK
    WARNING: USING EMERGENCY SHUTDOWN HOOK: onShutDown
    [SERVER] SERVER SHUTDOWN. Dumping server State!
    [SERVER] WAITING FOR THREAD POOL TO TERMINATE; Active: 0
    [SERVER] SERVER THREAD POOL TERMINATED
    [SERVER] WAITING FOR WRITING QUEUE TO FINISH; Active: 0
    [SERVER] SERVER THREAD QUEUE TERMINATED
    [SHUTDOWN] waiting for 0 queued writing jobs to finish
    [SHUTDOWN] all queued writing jobs finished
    [SHUTDOWN] database closed successfully
    [SERVER] SERVER SHUTDOWN. ServerState saved!
    WARNING: USING EMERGENCY SHUTDOWN HOOK: closing log
    WARNING: USING EMERGENCY SHUTDOWN HOOK DONE
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    original

    #!/bin/bash
    java -Xms2048m -Xmx3072m -jar StarMade.jar -server &





    adjusted

    #!/bin/bash
    java -Xms1536m -Xmx2048m -jar StarMade.jar -server &
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    reduced initial to 1279


    [SERVER][READTAG] WARNING: org.schema.game.server.controller.GameServerController@c266fa0 READING tag: CATALOG; .cat took long: 87ms
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeHi(Unknown Source)
    at java.util.TimSort.mergeAt(Unknown Source)
    at java.util.TimSort.mergeForceCollapse(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at nO.d(SourceFile:271)
    at nO.(SourceFile:69)
    at mS.(SourceFile:58)
    at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:790)
    at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:406)
    at kL.run(SourceFile:876)
    at java.lang.Thread.run(Unknown Source)
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    Reduced initial to 1024


    [SERVER][READTAG] WARNING: org.schema.game.server.controller.GameServerController@34c31a61 READING tag: CATALOG; .cat took long: 81ms
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeHi(Unknown Source)
    at java.util.TimSort.mergeAt(Unknown Source)
    at java.util.TimSort.mergeForceCollapse(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at nO.d(SourceFile:271)
    at nO.(SourceFile:69)
    at mS.(SourceFile:58)
    at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:790)
    at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:406)
    at kL.run(SourceFile:876)
    at java.lang.Thread.run(Unknown Source)
    WARNING: USING EMERGENCY SHUTDOWN HOOK
    WARNING: USING EMERGENCY SHUTDOWN HOOK: onShutDown
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    initial 512mb max 1024mb

    [VERSION] VERSION: 0.09441
    [VERSION] BUILD: 20131030_000351
    #################### StarMade #######################
    # version 0.09441 - build 20131030_000351 #
    #####################################################
    [LIBLOADER] OS ARCHITECTURE amd64
    [LIBLOADER] LOADED NATIVE LIBRARIES
    java.io.FileNotFoundException: ./settings.cfg (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileReader.(Unknown Source)
    at zY.a(SourceFile:317)
    at org.schema.game.common.Starter.main(SourceFile:693)
    Could not read settings file: using defaults
    [MAIN] LOADED ENGINE SETTINGS
    [INITIALIZE] REMOTE CLASSES REGISTERED
    [INITIALIZE] RESOURCE MANAGER INITIALIZED
    ERROR: no content in Resource: /media/will/starmade00944/StarMade/file:/media/will/starmade00944/StarMade/StarMade.jar!/org/schema/game/network/commands
    ################# Loading from JAR #####################
    ########################################################
    [INITIALIZE] REMOTE COMMANDS REGISTERED
    [INITIALIZE] SECURITY MANAGER SET
    [INITIALIZE] COMMAND ID\'s ASSIGNED
    [CONFIG] RECIPES PARSED: 35
    [INITIALIZE] BLOCK CONFIGURATION READ
    [MAIN] INITIALIZATION COMPLETED
    [MAIN] CHECKING IF MIGRATION NECESSARY
    [BLUEPRINT][MIGRATION] NO CONVERSION NEEDED: no old bb file exists: /media/will/starmade00944/StarMade/./blueprints/catalog.txt
    [SERVER] ###### READING ALL BLUEPRINTS!
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 33;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 34;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 170;
    [TAG] WARNING: Struct read time of D took: 170
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 171;
    [TAG] WARNING: Struct read time of wepContr took: 171
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 173;
    [TAG] WARNING: Struct read time of shipMan0 took: 173
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 174;
    [TAG] warning: reading tag: container took: 175
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 41;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 41;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 41;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 43;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 43;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 43;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 43;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 52;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 53;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 53;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 53;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 100;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 100;
    [TAG] WARNING: Struct read time of wepContr took: 101
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 101;
    [TAG] WARNING: Struct read time of shipMan0 took: 101
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 102;
    [TAG] warning: reading tag: container took: 102
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 151;
    [TAG] WARNING: Struct read time of D took: 151
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 152;
    [TAG] WARNING: Struct read time of wepContr took: 152
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 152;
    [TAG] WARNING: Struct read time of shipMan0 took: 152
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 153;
    [TAG] warning: reading tag: container took: 153
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 45;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 45;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 46;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 46;
    [BLUEPRINT] Exception: invalid blueprint directory: File Not Found: ./blueprints/blueprints/header.smbph (No such file or directory)
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 64;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 67;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 68;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 74;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 74;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 75;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 75;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 86;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 86;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 87;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 87;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 33;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 34;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 34;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 34;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 173;
    [TAG] WARNING: Struct read time of D took: 173
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 174;
    [TAG] WARNING: Struct read time of wepContr took: 174
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 174;
    [TAG] WARNING: Struct read time of shipMan0 took: 174
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 175;
    [TAG] warning: reading tag: container took: 175
    [SERVER] ###### READING ALL 1255 BLUEPRINTS FINISHED! TOOK 3500ms
    [MAIN] MIGRATION PROCESS DONE
    [MAIN] STARTING WITH ARGUMENTS: [-server]
    [SERVER] initializing
    [SQL] Fetching connection (may take some if game crashed on the run before)
    [SQL] connection successfull
    [SERVER] port 4242 is open
    [SERVER] USING TCP...
    [SERVER] loaded faction from disk: Faction [id=10047, name=Natemac Industries Inc, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10045, name=The Galantry Federation, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10043, name=Zennith Delta, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10041, name=Callisto, description=Moon of Jupiter
    100041 size: 1]
    [SERVER] loaded faction from disk: Faction [id=10039, name=ginger, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10037, name=jelly fighters, description=no one can join because this is my build faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10035, name=The explorers, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10033, name=Nouvelle terre, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10031, name=GER_Imperium, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10029, name=Jeffafafafafafafafafafa, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10027, name=Third Fleet Task Force, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10025, name=Spectres, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10082, name=Parking Lot Gang, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10023, name=Troll Police, description=got a troll? hire the Troll police size: 3]
    [SERVER] loaded faction from disk: Faction [id=10080, name=kylesfaction, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10019, name=CodeMasterCorp, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10084, name=TheDarkDragons, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=-2, name=Trading guild, description=The intergalactic trading guild size: 0]
    [SERVER] loaded faction from disk: Faction [id=-1, name=Pirates, description=Ravaging space pirates size: 0]
    [SERVER] loaded faction from disk: Faction [id=10013, name=Toms Raiders, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10075, name=Somsa , description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10015, name=Space_Nubs, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10077, name=Sioux Fleetworks, description=a faction size: 2]
    [SERVER] loaded faction from disk: Faction [id=10009, name=BlackAndGreen, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10011, name=Lukes Ships, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10078, name=Rhymidion Galactic, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10005, name=LodeStar Shipworks, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10007, name=EFSF Londo Belle, description=a faction size: 3]
    [SERVER] loaded faction from disk: Faction [id=10069, name=Arcane, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10001, name= TEC , description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10003, name=MushroomFleet, description=a faction size: 2]
    [SERVER] loaded faction from disk: Faction [id=10059, name=Asgard, description=a faction size: 2]
    [SERVER] loaded faction from disk: Faction [id=10061, name=United Alliance, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10063, name=F T W N, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10049, name=Muffin_Fleet, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10051, name=Gecko Fleet, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10053, name=Asman Alliance, description=a faction size: 1]
    [SERVER] loaded faction from disk: Faction [id=10055, name=Sector Red 7, description=a faction size: 1]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10077, b=10007, rel=FRIEND]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10039, b=10053, rel=NEUTRAL]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10015, b=10003, rel=FRIEND]
    [SERVER][FACION][TAG] loaded relation offer RelOffer[a=10013, b=10025, rel=FRIEND]
    [SERVER][CATALOG] READ RAW BLUEPRINTS: 1255
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 83;
    [TAG] WARNING STRUCT DESERIALIZATION took too long: 83;
    [SERVER][READTAG] WARNING: org.schema.game.server.controller.GameServerController@4fd538c8 READING tag: CATALOG; .cat took long: 85ms
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeHi(Unknown Source)
    at java.util.TimSort.mergeAt(Unknown Source)
    at java.util.TimSort.mergeForceCollapse(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.TimSort.sort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at nO.d(SourceFile:271)
    at nO.(SourceFile:69)
    at mS.(SourceFile:58)
    at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:790)
    at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:406)
    at kL.run(SourceFile:876)
    at java.lang.Thread.run(Unknown Source)
    WARNING: USING EMERGENCY SHUTDOWN HOOK
    WARNING: USING EMERGENCY SHUTDOWN HOOK: onShutDown
    [SERVER] SERVER SHUTDOWN. Dumping server State!
    [SERVER] WAITING FOR THREAD POOL TO TERMINATE; Active: 0
    [SERVER] SERVER THREAD POOL TERMINATED
    [SERVER] WAITING FOR WRITING QUEUE TO FINISH; Active: 0
    [SERVER] SERVER THREAD QUEUE TERMINATED
    [SHUTDOWN] waiting for 0 queued writing jobs to finish
    [SHUTDOWN] all queued writing jobs finished
    [SHUTDOWN] database closed successfully
    [SERVER] SERVER SHUTDOWN. ServerState saved!
    WARNING: USING EMERGENCY SHUTDOWN HOOK: closing log
    WARNING: USING EMERGENCY SHUTDOWN HOOK DONE
     
    Joined
    Dec 30, 2012
    Messages
    790
    Reaction score
    1
    • Legacy Citizen 4
    One of your blueprints is corrupted, it either got corrupted for a memory error ( I never seen that though) or a player uploaded a corrupted blueprint which is able to kill your server on startup, which I seen on NASS before.

    Recommendation is a backup of the current catalog and wiping out the catalog to be able to start the server. Send the backup to schema, if you can :P
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    sudo ./StarMade-dedicated-server-linux.sh

    [VERSION] VERSION: 0.09441
    [VERSION] BUILD: 20131030_000351
    #################### StarMade #######################
    # version 0.09441 - build 20131030_000351 #
    #####################################################
    [LIBLOADER] OS ARCHITECTURE amd64
    [LIBLOADER] LOADED NATIVE LIBRARIES
    java.io.FileNotFoundException: ./settings.cfg (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileReader.(Unknown Source)
    at zY.a(SourceFile:317)
    at org.schema.game.common.Starter.main(SourceFile:693)
    Could not read settings file: using defaults
    [MAIN] LOADED ENGINE SETTINGS
    [INITIALIZE] REMOTE CLASSES REGISTERED
    [INITIALIZE] RESOURCE MANAGER INITIALIZED
    ERROR: no content in Resource: /media/will/starmade2/StarMade/file:/media/will/starmade2/StarMade/StarMade.jar!/org/schema/game/network/commands
    ################# Loading from JAR #####################
    ########################################################
    [INITIALIZE] REMOTE COMMANDS REGISTERED
    [INITIALIZE] SECURITY MANAGER SET
    [INITIALIZE] COMMAND ID\'s ASSIGNED
    [CONFIG] RECIPES PARSED: 35
    [INITIALIZE] BLOCK CONFIGURATION READ
    [MAIN] INITIALIZATION COMPLETED
    [MAIN] CHECKING IF MIGRATION NECESSARY
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default to /media/will/starmade2/StarMade/./blueprints
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI to /media/will/starmade2/StarMade/./blueprints/Isanth-VI
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/meta.smbpm to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/meta.smbpm
    [IO][COPY] FILE FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/meta.smbpm to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/meta.smbpm
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/header.smbph to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/header.smbph
    [IO][COPY] FILE FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/header.smbph to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/header.smbph
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/DATA to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/DATA
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/DATA/Isanth-VI.0.0.0.smd2 to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/DATA/Isanth-VI.0.0.0.smd2
    [IO][COPY] FILE FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/DATA/Isanth-VI.0.0.0.smd2 to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/DATA/Isanth-VI.0.0.0.smd2
    DIR FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/logic.smbpl to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/logic.smbpl
    [IO][COPY] FILE FROM /media/will/starmade2/StarMade/./blueprints-default/Isanth-VI/logic.smbpl to /media/will/starmade2/StarMade/./blueprints/Isanth-VI/logic.smbpl
    [BLUEPRINT][MIGRATION] NO CONVERSION NEEDED: no old bb file exists: /media/will/starmade2/StarMade/./blueprints/catalog.txt
    [SERVER] ###### READING ALL BLUEPRINTS!
    [SERVER] ###### READING ALL 1 BLUEPRINTS FINISHED! TOOK 16ms
    [MAIN] MIGRATION PROCESS DONE
    [MAIN] STARTING WITH ARGUMENTS: [-server]
    [SERVER] initializing
    java.io.FileNotFoundException: ./server.cfg (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileReader.(Unknown Source)
    at xO.a(SourceFile:197)
    at xG.(SourceFile:375)
    at kL.run(SourceFile:854)
    at java.lang.Thread.run(Unknown Source)
    Could not read settings file: using defaults
    [SQL] Fetching connection (may take some if game crashed on the run before)
    [SQL] connection successfull
    [SERVER] port 4242 is open
    [SERVER] USING TCP...
    [FILE NOT FOUND] File for FACTIONS does not exist: /media/will/starmade2/StarMade/./server-database/FACTIONS.fac
    [SERVER] NO FACTIONS FOUND ON DISK: FACTIONS; file: /media/will/starmade2/StarMade/./server-database/FACTIONS.fac; pathString: ./server-database/FACTIONS.fac
    [SERVER][CATALOG] READ RAW BLUEPRINTS: 1
    [FILE NOT FOUND] File for CATALOG does not exist: /media/will/starmade2/StarMade/./server-database/CATALOG.cat
    [SERVER] NO DB CATALOG FOUND ON DISK: CATALOG; file: /media/will/starmade2/StarMade/./server-database/CATALOG.cat; pathString: ./server-database/CATALOG.cat
    [FILE NOT FOUND] File for SIMULATION_STATE does not exist: /media/will/starmade2/StarMade/./server-database/SIMULATION_STATE.sim
    [SIMULATION] no simulation state found on disk. creating new...
    [SERVER][UNIVERSE] LOADING SECTOR... (2, 2, 2)
    [DATABASE][SYSTEMS] NO SYSTEM ENTRY FOUND FOR -1 FOR (0, 0, 0)
    [DATABASE][SYSTEMS] NO SYSTEM ENTRY FOUND FOR -1 FOR (-1, -1, -1)
    [DATABASE][SYSTEMS] NO SYSTEM ENTRY FOUND FOR -1 FOR (-1, 0, -1)
    [SERVER][UNIVERSE] WARNING: LOADING SECTOR TOOK SOME TIME... (2, 2, 2): STATS: inst 72ms, loadDB 3ms, add 0ms, entity 3ms
    [ServerListener] Server initialization OK... now waiting for connections
    [SERVERCONTROLLER][INIT] SERVER STARTED UPDATING
    [SERVER][UPDATE] WARNING: handleQueuedSynchronizedObjects update took 28 on Server(0)
    [SERVER] updating prices for: lP@42583a89 took 36
    [NT] Big FullUpdate: 6053 bytes: Shop(4)
    /shutdown 1
    [ADMIN COMMAND] SHUTDOWN from org.schema.schine.network.server.AdminLocalClient@103fa2aa params: [1]
    [SERVER] SCHEDULED SHUTDOWN NOW EXECUTING. EXITING SERVER!
    [SERVER] now executing regular shutdown
    [SERVER] SERVER SHUTDOWN. Dumping server State!
    [SERVER] WRITING FACTIONS AND CATALOG!!! Count: 2
    [SERVER] Terminate: Writing Entity: Sector[3](2, 2, 2): [Asteroid(5)sec[3], Asteroid(6)sec[3], Shop(4)]
    [SERVER] WAITING FOR THREAD POOL TO TERMINATE; Active: 0
    [SERVER] SERVER THREAD POOL TERMINATED
    [SERVER] WAITING FOR WRITING QUEUE TO FINISH; Active: 1
    [SERVER] Terminate: DONE Writing Entity: Sector[3](2, 2, 2): Asteroid(5)sec[3]
    [SERVER] Terminate: DONE Writing Entity: Sector[3](2, 2, 2): Asteroid(6)sec[3]
    [SERVER] WARNING: WRITING ENTITY TAG: Shop(4) FINISHED: 23ms -> tagcreate: 5; tagwrite: 15; rename: 0; delete: 0; DB: 3
    [SERVER] Terminate: DONE Writing Entity: Sector[3](2, 2, 2): Shop(4)
    [SERVER] SERVER THREAD QUEUE TERMINATED
    [SHUTDOWN] waiting for 0 queued writing jobs to finish
    [SHUTDOWN] all queued writing jobs finished
    [SHUTDOWN] database closed successfully
    [SERVER] SERVER SHUTDOWN. ServerState saved!



    what stuck out was the line about the server.cfg



    [SERVER] initializing
    java.io.FileNotFoundException: ./server.cfg (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileReader.(Unknown Source)
    at xO.a(SourceFile:197)
    at xG.(SourceFile:375)
    at kL.run(SourceFile:854)
    at java.lang.Thread.run(Unknown Source)
    Could not read settings file: using defaults




    could this be a problem?
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    I installed a fresh copy of Starmade.

    Then I copied the: whitelist.txt, blacklist.txt, admins.txt, /sector-export, /protected.txt, /server-database



    we have to create our factions again and admins will give ownership back to players, for stations and ships.

    Everything is still here though. In a way the blueprints needed cleaning up.

    Thanks to Warsong for helping out early on!
     

    MossyStone48

    Cmdr Deathmark
    Joined
    May 29, 2013
    Messages
    1,255
    Reaction score
    432
    I was guessing at a memory issue. I was close but no cigar. |3
    Glad to be of some help.
     
    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    follow on here, to see what happens next



    this time with logs for DL and a screenshot showing permissions of /StarMade

    http://star-made.org/content/fresh-install-broken-2-hours