Problem with starting a server [Free BSD]

    Targaryen

    Deathbringer
    Joined
    Jun 22, 2013
    Messages
    103
    Reaction score
    61
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 4
    FREE BSD
    [VERION] loading version from install dir: ./
    [VERSION] VERSION: 0.198.222
    [VERSION] BUILD: 20160622_172909
    #################### StarMade #######################
    # version 0.198.222 - build 20160622_172909 #
    #####################################################
    [SERIAL] "null"
    [STARTER] template dir exists. overwriting template with current data
    [IO][COPY] FILE FROM /usr/home/zmaslo/daniel/StarMade/./data/config/FactionConfig.xml to /usr/home/zmaslo/daniel/StarMade/./customFactionConfig/FactionConfigTemplate.xml
    [IO][COPY] FILE FROM /usr/home/zmaslo/daniel/StarMade/./data/config/customFactionConfigHOWTO.txt to /usr/home/zmaslo/daniel/StarMade/./customFactionConfig/customFactionConfigHOWTO.txt
    [STARTER] template dir exists. overwriting template with current data
    [IO][COPY] FILE FROM /usr/home/zmaslo/daniel/StarMade/./data/config/customBlockBehaviorConfigTemplate.xml to /usr/home/zmaslo/daniel/StarMade/./customBlockBehaviorConfig/customBlockBehaviorConfigTemplate.xml
    [IO][COPY] FILE FROM /usr/home/zmaslo/daniel/StarMade/./data/config/customBlockBehaviorConfigHOWTO.txt to /usr/home/zmaslo/daniel/StarMade/./customBlockBehaviorConfig/customBlockBehaviorConfigHOWTO.txt
    [RESOURCES][CustomTextures] No need to create pack.zip. Hash matches (as rewriting a zip changes the hash on it)
    [TEXTURE-PACK] WARNING: ignoring shield_tex.png.zip: not a directory
    [TEXTURE-PACK] WARNING: ignoring lava.png.zip: not a directory
    [TEXTURE-PACK] WARNING: ignoring shield_tex.png.zip: not a directory
    [TEXTURE-PACK] WARNING: ignoring lava.png.zip: not a directory
    [LANGUAGE] detected language: en
    [LANGUAGE] loading language: english; Resolved to english
    java.io.FileNotFoundException: ./keyboard.cfg (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at java.io.FileReader.<init>(FileReader.java:72)
    at org.schema.schine.input.KeyboardMappings.a(SourceFile:177)
    at obfuscated.QF.b(SourceFile:94)
    at obfuscated.QF.a(SourceFile:218)
    at org.schema.game.common.Starter.main(SourceFile:812)
    Could not read settings file: using defaults (./keyboard.cfg (No such file or directory))
    [LANGUAGE] Loading English; Version: 0
    [LANGUAGE] LOADED FONT PATH/NAME: font/Monda-Regular.ttf
    [SERVER] using world: Brovar; ./server-database/brovar/
    [INIT] Segment Database Path: /usr/home/zmaslo/daniel/StarMade/./server-database/brovar/DATA; exists? true; is Dir? true; creating dir sucessfull (gives false if exists)? false
    [GUI] NO STARMADE-WINDOW CONFIG FOUND. Using defaults
    [LIBLOADER] OS ARCHITECTURE amd64
    [LIBLOADER] LOADED NATIVE LIBRARIES
    Exception in thread "main"
    java.lang.UnsatisfiedLinkError: org.schema.game.server.controller.world.factory.planet.FastNoiseSIMD.NewFastNoiseSIMD(I)J
    at org.schema.game.server.controller.world.factory.planet.FastNoiseSIMD.NewFastNoiseSIMD(Native Method)
    at org.schema.game.server.controller.world.factory.planet.FastNoiseSIMD.<init>(SourceFile:46)
    at obfuscated.QG.a(SourceFile:156)
    at org.schema.game.common.Starter.main(SourceFile:834)
     
    Last edited:
    Joined
    Jul 17, 2013
    Messages
    1,429
    Reaction score
    205
    • Tester
    what exact OS is that ?
    what hardware is it running on ?
    Auburn might have to take a look into this .. i guess ?
     

    nightrune

    Wizard/Developer/Project Manager
    Joined
    May 11, 2015
    Messages
    1,324
    Reaction score
    577
    • Schine
    • Top Forum Contributor
    • Thinking Positive
    It looks like you are missing the library file. After we have the OS we should look and see if the lib is there.
     

    Targaryen

    Deathbringer
    Joined
    Jun 22, 2013
    Messages
    103
    Reaction score
    61
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 4
    what exact OS is that ? Free bsd

    about hardware all i know its some not wery strong 2 core procesor and 8 gb ram


    this all mess started after update, so its not problem with the machine
     

    Auburn

    Game Developer
    Joined
    Feb 5, 2016
    Messages
    41
    Reaction score
    51
    This is due to servers also needing to load native libraries now, the 3 included sets of libraries support windows, linux and mac. Currently if none of these are found no native library is loaded and will cause the link error. I can set it to default to the linux libraries so it will attempt to load those for you, but it may require some work on your part to acquire the correct linux dependencies to allow the library to load correctly.

    Edit: From the brief googling on the subject:
    10.2. Configuring Linux® Binary Compatibility

    The next dev build should have the change included
     
    Last edited:

    Auburn

    Game Developer
    Joined
    Feb 5, 2016
    Messages
    41
    Reaction score
    51
    The change is now on the latest release build
     

    Targaryen

    Deathbringer
    Joined
    Jun 22, 2013
    Messages
    103
    Reaction score
    61
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 4
    Exception in thread "main"
    java.lang.UnsatisfiedLinkError: /usr/home/zmaslo/daniel/StarMade/native/linux/libStarMadeNative64.so: Shared object "ld-linux-x86-64.so.2" not found, required by "libStarMadeNative64.so"
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1968)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1893)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1883)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at obfuscated.TJ.a(SourceFile:132)
    at org.schema.game.common.Starter.main(SourceFile:839)


    updated this and now i have this error
     

    Auburn

    Game Developer
    Joined
    Feb 5, 2016
    Messages
    41
    Reaction score
    51
    Exception in thread "main"
    java.lang.UnsatisfiedLinkError: /usr/home/zmaslo/daniel/StarMade/native/linux/libStarMadeNative64.so: Shared object "ld-linux-x86-64.so.2" not found, required by "libStarMadeNative64.so"
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1968)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1893)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1883)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at obfuscated.TJ.a(SourceFile:132)
    at org.schema.game.common.Starter.main(SourceFile:839)


    updated this and now i have this error
    Did you check out the link I posted above 10.2. Configuring Linux® Binary Compatibility

    Since FreeBSD doesn't include standard Linux binaries by default you need to acquire them manually
     
    Joined
    Jun 27, 2013
    Messages
    896
    Reaction score
    166
    Would building FastNoiseSIMD from source as a native BSD library be an option, or does libStarMadeNative contain other stuff that isn't open source? Also how current is the current branch?

    I'm running OpenBSD, and AFAICT the Linux support there has been mostly dumped, or at least I would have to dig deeper than I am willing to, just to get that working, before I could even begin messing with how to get StarMade (for Linux on BSD) back up running.
    I'd prefer if I could just continue using BSD, but compared to figuring out Linux on BSD, it appears simpler to just install a plain Linux VM, although I have a feeling that wouldn't exactly benefit performance...
     

    Auburn

    Game Developer
    Joined
    Feb 5, 2016
    Messages
    41
    Reaction score
    51
    If you want to compile from source we just made the StarMade native library open source. If you do compile a working version for BSD put it up here and I can add it to the game.
     

    Targaryen

    Deathbringer
    Joined
    Jun 22, 2013
    Messages
    103
    Reaction score
    61
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 4
    Did you check out the link I posted above 10.2. Configuring Linux® Binary Compatibility

    Since FreeBSD doesn't include standard Linux binaries by default you need to acquire them manually
    Not very help full, because im not good in free bsd and this article says nothing to me ;/

    Free BSD is fucked up system but i cant change it ;/

    i tried to do some thing even i hosted a virtual machine to not destroy something on my server and i cant do anything with it ;/

    meabe u guys could try to set it up and send me some direct instructions
     
    Joined
    Jun 27, 2013
    Messages
    896
    Reaction score
    166
    I'll see what I can do.
    So far I've got a working library compiled under x86_64 Linux, but I'll hold off with BSD until OpenBSD 6 releases in September, I have a few issues with 5.9 that I hope will get resolved with the update.
    Getting it to compile on Linux wasn't too complicated, fingers crossed it'll be just as smooth on BSD.