Dedicated server issues (SOLVED)

  1. 8 years ago

    I'm having some issues running an ALiVE mission on a Linux dedicated server. I am able to run other missions with all the same mods except for ALiVE, and I am able to run my ALiVE mission from the main game, so I think it's something specific to the server. When the mission starts (after role selection), there are a bunch of warnings/errors in the console relating to the ALiVE plugin:

    5:36:47 
     5:36:47            +MMMMMMMMMMMMMMM
     5:36:47          ..MMMMMMMMMMMMMMMM.
     5:36:47           ~MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
     5:36:47           MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
     5:36:47          +MMMMMMMM~MMMMMMMM~~~~~~$MMMMMMMMM=~~~~~~~~~~=7MMMMMMM$~~~~==~~~~~~~~~~~~~~~~$MMM. 
     5:36:47          MMMMMMMMM MMMMMMMM.     IMMMMMMMMM.    .Z      MMMMMMM.    .M                IMMMM   
     5:36:47         7MMMMMMMMN MMMMMMMM.     IMMMMMMMMM......M.      MMMMM..   .+M     .          7MMMM.  
     5:36:47         MMMMMMMMM  MMMMMMMM.     IMMMMMMMMMMMMMMMMM.     MMMMM     .MM     .MMMMMMMMMMMMMMMM  
     5:36:47        +MMMMMMMMM  MMMMMMMM.     IMMMMMMMMM.    .MM?      MMM     .MMM     .~~~~~~~~~MMMMMMM   
     5:36:47       .MMMMMMMMMMMMMMMMMMMM.     IMMMMMMMMM.    .MMM     .MMM.   ..MMM               MMMMMMMM  
     5:36:47       IMMMMMMMMMMMMMMMMMMMM.     IMMMMMMMMM.    .MMMM    . M     .MMMM     .        .MMMMMMMM  
     5:36:47      .MMMMMMMMMMMMMMMMMMMMM.     IMMMMMMMMM.    .MMMMI..   =     MMMMM     .MMMMMMMMMMMMMMMMMM.. 
     5:36:47      $MMMMMMMMM+   MMMMMMMM.                    .MMMMM..        :MMMMM     ............MMMMMMM.  
     5:36:47      MMMMMMMMMM    MMMMMMMM.                    .MMMMMM.      . MMMMMM                 MMMMMMMM   
     5:36:47     IMMMMMMMMMM    MMMMMMMM.                    .MMMMMM:      .MMMMMMM                .MMMMMMMM.   
     5:36:47 
     5:36:47 ALiVE Global INIT
     5:36:47 ALiVE Global Init Timer Started
     5:36:47 ALiVE [m_0|30] Module ALiVE_sys_data INIT
     5:36:47 "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!"
     5:36:47 ALIVE_SYS_DATA START PLUGIN: SYS_DATA_ERROR
     5:36:47 "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!"
     5:36:47 "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!"
     5:36:47 Error in expression <peName _config == "STRING" || (_initmsg select 1 == "ERROR" && _initmsg select 2>
     5:36:47   Error position: <select 1 == "ERROR" && _initmsg select 2>
     5:36:47   Error Generic error in expression
     5:36:47 File x\alive\addons\sys_data\fnc_dataInit.sqf, line 107
     5:36:47 ALiVE [m_1|40] Module ALiVE_require INIT
     5:36:47 ALiVE [m_2|41] Module ALiVE_sys_newsfeed INIT
     5:36:47 ALiVE [m_2|41] Module ALiVE_sys_newsfeed INIT COMPLETE TIME:  0.000991821
     5:36:47 ALiVE [m_3|42] Module ALiVE_sys_adminactions INIT
     5:36:47 ALiVE [m_3|42] Module ALiVE_sys_adminactions INIT COMPLETE TIME:  0.00100708
     5:36:47 ALiVE [m_4|45] Module ALiVE_SYS_LOGISTICS INIT
     5:36:47 ALIVE AI Distributor exiting, no headless clients [] or not server false
     5:36:49 ALiVE [m_5|60] Module ALiVE_sys_profile INIT
     5:36:49 ALiVE SETTING UP MAP (HARD CODED): Chernarus
     5:36:49 Error in expression < sqrt((_result select 0) ^ 2 + (_result select 1) ^ 2) / 0.68;
    };
    _err = format[>
     5:36:49   Error position: <select 1) ^ 2) / 0.68;
    };
    _err = format[>
     5:36:49   Error Zero divisor
     5:36:49 File x\alive\addons\x_lib\functions\map\fnc_getMapBounds.sqf, line 35
     5:36:49 ALiVE MAP BOUNDS: 16000
     5:36:49 Error in expression <map bounds config entry not vaild - %1",_result];
    if (not (typeName _result == ">
     5:36:49   Error position: <_result];
    if (not (typeName _result == ">
     5:36:49   Error Undefined variable in expression: _result
     5:36:49 File x\alive\addons\x_lib\functions\map\fnc_getMapBounds.sqf, line 37
     5:36:49 "ALiVE - Starting Garbage Collector..."
     5:36:51 "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!"
     5:36:51 ALiVE [m_5|60] Module ALiVE_sys_profile INIT COMPLETE TIME:  2.414
     5:36:51 ALiVE [m_6|90] Module ALiVE_mil_placement INIT
     5:36:51 Performance warning: Very large search for 345062 (>320 m)
     5:36:52 Performance warning: Unsucessfull search for 345062 was very large (8224 m)
     5:36:52 ALiVE [m_7|90] Module ALiVE_mil_placement INIT

    I've tried testing the mission with and without the @AliveServer component enabled - the errors continue to occur without, but I am at least able to spawn in-game (but enemies seem to spawn invisible, or under the terrain). Any ideas?

    Modset used:
    CBA_A3
    ALiVE
    AliveServer (server only)
    CUP Terrains - Core
    CUP Terrians - Maps
    RHS:AFRF
    RHS:USF

    Running on Debian 8.3 (jessie) 64-bit & latest stable version of ARMA 3.

  2. Edited 8 years ago by johnalive

    Update - I looked around the forums for other topics with this issue (something I should have done before posting) and came across this post. I tried the suggested fixes mentioned in that thread (installing libcurl3:i386 and moving @AliveServer to @aliveserver), but the original error(s) still persist.

    john@gameshost:/opt/arma3server/serverfiles/@aliveserver$ ldd ALiVEPlugIn.so
            linux-gate.so.1 (0xf77a4000)
            libcurl.so.4 => /usr/lib/i386-linux-gnu/libcurl.so.4 (0xf753b000)
            libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf74f5000)
            libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7347000)
            /lib/ld-linux.so.2 (0xf77a7000)
            libidn.so.11 => /usr/lib/i386-linux-gnu/libidn.so.11 (0xf7312000)
            librtmp.so.1 => /usr/lib/i386-linux-gnu/librtmp.so.1 (0xf72f2000)
            libssh2.so.1 => /usr/lib/i386-linux-gnu/libssh2.so.1 (0xf72c4000)
            libssl.so.1.0.0 => /usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0 (0xf7266000)
            libcrypto.so.1.0.0 => /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0 (0xf7099000)
            libgssapi_krb5.so.2 => /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2 (0xf7048000)
            libkrb5.so.3 => /usr/lib/i386-linux-gnu/libkrb5.so.3 (0xf6f72000)
            libk5crypto.so.3 => /usr/lib/i386-linux-gnu/libk5crypto.so.3 (0xf6f3e000)
            libcom_err.so.2 => /lib/i386-linux-gnu/libcom_err.so.2 (0xf6f39000)
            liblber-2.4.so.2 => /usr/lib/i386-linux-gnu/liblber-2.4.so.2 (0xf6f28000)
            libldap_r-2.4.so.2 => /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2 (0xf6ece000)
            libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6eb1000)
            libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf6e95000)
            libgnutls-deb0.so.28 => /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28 (0xf6d53000)
            libhogweed.so.2 => /usr/lib/i386-linux-gnu/libhogweed.so.2 (0xf6d21000)
            libnettle.so.4 => /usr/lib/i386-linux-gnu/libnettle.so.4 (0xf6cec000)
            libgmp.so.10 => /usr/lib/i386-linux-gnu/libgmp.so.10 (0xf6c5d000)
            libgcrypt.so.20 => /lib/i386-linux-gnu/libgcrypt.so.20 (0xf6bac000)
            libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf6ba7000)
            libkrb5support.so.0 => /usr/lib/i386-linux-gnu/libkrb5support.so.0 (0xf6b99000)
            libkeyutils.so.1 => /lib/i386-linux-gnu/libkeyutils.so.1 (0xf6b94000)
            libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xf6b7d000)
            libsasl2.so.2 => /usr/lib/i386-linux-gnu/libsasl2.so.2 (0xf6b5f000)
            libp11-kit.so.0 => /usr/lib/i386-linux-gnu/libp11-kit.so.0 (0xf6b1c000)
            libtasn1.so.6 => /usr/lib/i386-linux-gnu/libtasn1.so.6 (0xf6b07000)
            libgpg-error.so.0 => /lib/i386-linux-gnu/libgpg-error.so.0 (0xf6af3000)
            libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf6aeb000)
  3. Just to get the obvious out of the way - you've registered an account on the War Room and followed the setup instructions?

    Also looks like the CUP version of Chernarus might need to be re-indexed

    5:36:51 Performance warning: Very large search for 345062 (>320 m)
     5:36:52 Performance warning: Unsucessfull search for 345062 was very large (8224 m)
  4. I just went through the instructions a second time, but the server does not seem to be connecting to the War Room (and the errors are still coming up) and the plugin is not generating any log files. I'm not really interested in mission persistence or War Room stats at the moment, just want to get the mission to work, but I'm assuming @AliveServer is required for ALiVE mission to work properly?

    Here is some more log information:
    Configuration: pastebin
    Server .rpt: pastebin

    Also, I agree that the indexing on CUP Chernarus is a bit off - there are a few villages that are ignored by the civ placements modules and there are thousands of performance warnings in the .rpt (which I left out).

  5. Nope @aliveserver is only needed for War Room persistence. Try removing it for now and test again.

  6. Edited 8 years ago by johnalive

    I was able to get the mission to launch and players to spawn in-game (both with & without @AliveServer), however now there are some other weird issues. Units will sometimes spawn in mid-air, underground, or will flash in and out of existence multiple times per second, and they cannot move. Server FPS is steady at 45-50 (ignoring some spikes when spawning in profiles). Also, the debug view is showing some weird results compared to what I get when I run the mission in the editor.

    Server .rpt (performance warnings excluded): pastebin

  7. Some screenshots of the map in the editor (note the correct placement of objects/CQB positions):
    http://steamcommunity.com/sharedfiles/filedetails/?id=657097981
    http://steamcommunity.com/sharedfiles/filedetails/?id=657098003

    Screenshots in-game (CQB positions missing, dots in weird places):
    http://steamcommunity.com/sharedfiles/filedetails/?id=657098026
    http://steamcommunity.com/sharedfiles/filedetails/?id=657098040

  8. Tupolov

    1 Apr 2016 Administrator

    Can you test a stock ALiVE mission without ALiVEServer?

  9. Edited 8 years ago by SavageCDN

    7:55:04 ALIVE_SYS_DATA START PLUGIN: SYS_DATA_ERROR
    7:55:04 "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!"
    7:55:04 "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!"

    Forgot to mention - also remove the ALiVE data module if you still have it placed in the mission.

    Definitely needs a re-index. Odd that the CUP version differs from the AiA version - object map IDs must be different between the two.

  10. @Tupolov Can you test a stock ALiVE mission without ALiVEServer?

    I tested the server with two missions - ALiVE | Sabotage seemed to work properly without any issues, but Operation Landlord (from here ) did not - after slotting in and loading the mission files, I was disconnected from the server (no error/warning). server.rpt here

    @SavageCDN Forgot to mention - also remove the ALiVE data module if you still have it placed in the mission.

    Removed the data module, no more "THERE IS A PROBLEM WITH THE ALIVE PLUGIN!", but some other errors still persist - the indexing appears to be incorrect, and units are spawining weirdly: http://steamcommunity.com/sharedfiles/filedetails/?id=657126371

    I find it weird that everything works fine in the editor - units spawn on the ground and act normally, but as soon as I move the mission to a dedicated server things seem to break. Is it really an indexing issue?

  11. Tupolov

    1 Apr 2016 Administrator
    Edited 8 years ago by Tupolov

    is this an Eden mission?

    TBH we have not done much testing on Linux, so it could be related to some issue there.

  12. Edited 8 years ago by SavageCDN

    Hmmm... no that doesn't sound like indexing if it's working fine in the editor. Did you create this mission in the 3D editor? There is an issue with (I think) missions that were converted to the 3D editor - the height settings are all fucked up (sorry this is from memory can't check myself ATM).

  13. Yes, here is the unbinarized mission.sqm .

  14. I tried getting a mission on Takistan to work, and it failed with similar results. Here is a log file . One error I noticed that occurred on both attempts was:

    11:10:56 Starting mission:
    11:10:56  Mission file: co_conquer_takistan (__cur_mp)
    11:10:56  Mission world: Takistan
    11:10:56  Mission directory: mpmissions\__cur_mp.Takistan\
    11:10:57 Warning Message: No entry 'bin\config.bin/CfgWorlds.Takistan'.

    Perhaps its an issue with the map itself (or how the linux server is loading it) and not ALiVE? The missions work fine when hosted locally on Windows and in the editor.

  15. Edited 8 years ago by SpyderBlack723

    11:10:57 Warning Message: No entry 'bin\config.bin/CfgWorlds.Takistan'.

    Are you running the map on the server? You might want to try reuploading a fresh copy and ensure it's actually in the command line because it's not finding the map files in the config.

  16. Edited 8 years ago by johnalive

    I can confirm that the map is on the server, and that I've added CUP Terrains Core & Maps to the -mod line. I also tested with them in the -servermods line as well as settings -world=Takistan, and nothing changed. Here is the launch command for the server currently:

    ./arma3server -ip=10.0.0.6 -port=2302 -cfg=/opt/arma3server/serverfiles/cfg/arma3-server.network.cfg -config=/opt/arma3server/serverfiles/cfg/arma3-server.server.cfg -mod=mods/\@CBA_A3\;mods/\@ALiVE\;mods/\@CUP_Terrains_Core\;mods/\@CUP_Terrains_Maps\;mods/\@rhs_afrf\;mods/\@rhs_usf;mods/\@Leights_OPFOR_Pack_OFFICIAL -servermod=mods/\@CUP_Terrains_Core;mods/\@CUP_Terrains_Maps -bepath= -autoinit -loadmissiontomemory -world=Takistan

    Could it be something to do with the forward slash in 'bin\config.bin/CfgWorlds.Takistan' and Linux?

  17. highhead

    3 Apr 2016 Administrator

    CUP Terrains have been indexed with current official version. I am running a mission on Takistan atm. without perf warning in RPT. Can you please ensure you got latest version of CUP Terrains running on client and server?

  18. highhead

    3 Apr 2016 Administrator

    PS: Logs dont look good, is that a fresh mission with a new name or are you trying to reload from a saved game?

  19. Edited 8 years ago by johnalive

    Both missions are fresh missions made in 3DEN with the latest version of all mods from Steam Workshop. I was able to actually spawn in-game by waiting in the lobby for the 'Performance warning:' messages to pass, and encountered some weird issues.

    Units are spawning in weird positions and rapidly appear/disappear on screen:
    http://steamcommunity.com/sharedfiles/filedetails/?id=658728783

    Random objects are being detected as objectives (dots in debug mode only appear in this area of the map):
    http://steamcommunity.com/sharedfiles/filedetails/?id=658728752

    Other oddities including CSAT spawning rather than LOP_TKA (Takistan Army from Leight's OPFOR), units glitching between the terrain and ~50 meters in the air, and more. My client eventually crashed from all the craziness.

    Here are the launch parameters on the server:

    ./arma3server -ip=10.0.0.6 -port=2302 -cfg=/opt/arma3server/serverfiles/cfg/arma3-server.network.cfg -config=/opt/arma3server/serverfiles/cfg/arma3-server.server.cfg -mod=mods/\@CBA_A3\;mods/\@ALiVE\;mods/\@CUP_Terrains_Core\;mods/\@CUP_Terrains_Maps\;mods/\@rhs_afrf\;mods/\@rhs_usf\;mods/\@Leights_OPFOR_Pack_OFFICIAL -servermod=mods/\@CUP_Terrains_Core\;mods/\@CUP_Terrains_Maps -bepath= -autoinit -loadmissiontomemory -world=Takistan

    Here is the latest server.rpt (with ~10,000 'Performance warning:' messages omitted). The 'No entry 'bin\config.bin/CfgWorlds.Takistan'.' error is still occurring, I guess that's the first issue?

  20. This is strange i am already playing on takistan with the same version of ALiVE and CUP terrains/core and everything that you posted works perfect.

  21. Newer ›
 

or Sign Up to reply!