Results 1 to 5 of 5

Thread: arma2oa dedicated server on debian 64

  1. #1
    CWR² Webmaster tom_48_97's Avatar
    Join Date
    Jun 30 2002
    Location
    behind my desk or drunk at a party!
    Posts
    326

    arma2oa dedicated server on debian 64

    I've tried to install an arma 2 oa server on a debian 64, but no way to get it working. libstdc++.so.6 is present but the script seems to not find it. What's wrong on the server ?

    arma2oaserver bash script
    Code:
    ARMA_DIR=/home/arma2oa-1/server
     CONFIG=/home/arma2oa-1/server/server.cfg
     PORT=2302
     PIDFILE=${ARMA_DIR}/${PORT}.pid
     RUNFILE=${ARMA_DIR}/${PORT}.run
     LOGFILE=${ARMA_DIR}/log.${PORT}.txt
     SERVER=${ARMA_DIR}/.server
     OTHERPARAMS=-cpucount=2
    Some info about env
    Code:
     16:56:54|root|is-a-geek.info#42:/home/arma2oa-1/server#find /*|grep libstdc++.so.6
     /lib/libstdc++.so.6
     /usr/local/lib/libstdc++.so.6
     /usr/lib/libstdc++.so.6.0.10
     /usr/lib/libstdc++.so.6
     16:57:17|root|is-a-geek.info#42:/home/arma2oa-1/server#./server
     ./server: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    log error when launched from arma2oaserver script
    Code:
     WATCHDOG (25985): [mercredi 6 octobre 2010, 17:01:24 (UTC+0200)] Starting server (port 2302)...
     ./arma2oaserver: line 109: /home/arma2oa-1/server/.server: Aucun fichier ou répertoire de ce type
     WATCHDOG (25985): [mercredi 6 octobre 2010, 17:01:24 (UTC+0200)] Server died, waiting to restart...

    Twitter: @Tom_48_97@CFrArmA
    ♪♫ my own web trash
    CFr-ArmA CWR²ArmaHolic MAF — and all the others since 2001...

    Holy moly, W0lle, you're going to be missed!

  2. #2
    Unrelated to your lib issue, but
    /home/arma2oa-1/server/.server
    This line looks very strange. It indicates the script is looking for .server file. You hid the server executable by renaming to ".server"? :O I guess you should remove the "."

    As for your lib issue, I'm running on Ubuntu server 64b without an issue
    root@pingZero:/etc/quagga# find /*|grep libstdc++.so.6
    /usr/lib32/libstdc++.so.6
    /usr/lib32/libstdc++.so.6.0.13
    /usr/lib/libstdc++.so.6
    /usr/lib/libstdc++.so.6.0.13
    Wild guess : you have to check for the 32b version of the same lib

    Here's what I have :
    root@pingZero:/etc/quagga# dpkg -l | grep libstdc++
    ii libstdc++6 4.4.3-4ubuntu5 The GNU Standard C++ Library v3
    ii libstdc++6-4.4-dev 4.4.3-4ubuntu5 The GNU Standard C++ Library v3 (development
    EDIT : and de facto my executable is using the /usr/lib32 version of the lib :
    Code:
    ldd server
            linux-gate.so.1 =>  (0xf772b000)
            libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7624000)
            libz.so.1 => /usr/lib32/libz.so.1 (0xf760f000)
            libm.so.6 => /lib32/libm.so.6 (0xf75e8000)
            libpthread.so.0 => /lib32/libpthread.so.0 (0xf75cf000)
            libdl.so.2 => /lib32/libdl.so.2 (0xf75cb000)
            libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75ac000)
            libc.so.6 => /lib32/libc.so.6 (0xf7452000)
            /lib/ld-linux.so.2 (0xf772c000)
    If you haven't it allready, try installing dev version of libstdc++ and rerun install script of A2

    EDIT 2 : digging deeper : libstdc++ 32b and needed 32b libs would be installed on Ubuntu with :
    sudo apt-get install lib32stdc++6 ia32-libs libc6-i386 libc6-dev-i386 lib32gcc1
    One of these (au hasard la premiere ) will get the 32b libs done good.
    Hopefully clean Debian (as opposed to Ubuntu ) use the same packages name

    To check what is missing on your system that your executable need :
    Code:
    ldd server | grep need
    Last edited by whisper; Oct 6 2010 at 17:16.
    Whisper / Kalbuth / MrK
    ex-OFrP member.
    OFCRA lurker : OFCRA www
    Planetside 2 / Tribes Ascend, member of Formido Clan

  3. #3
    CWR² Webmaster tom_48_97's Avatar
    Join Date
    Jun 30 2002
    Location
    behind my desk or drunk at a party!
    Posts
    326
    Author of the Thread
    Many thanks Whisper, lib32stdc++6 was the missing one ! (Don't know why since it's in the default install for my servers, a purge had to be made, I do not know when)

    Unrelated:
    /home/arma2oa-1/server/.server
    I've try to launch it directly to see what kind of return it gave me to debug. My launch script is arma2oaserver

  4. #4
    The server is crashing everytime. THe avg time of normal behavior is less than 10 minutes.
    Posting details of crashes.
    Bash output:
    Spoiler:


    From clientside RPT:
    Spoiler:


    Server log:
    Spoiler:

  5. #5
    Quote Originally Posted by tom_48_97 View Post
    Unrelated:
    /home/arma2oa-1/server/.server
    I've try to launch it directly to see what kind of return it gave me to debug. My launch script is arma2oaserver
    Not so unrelated, you need to edit arma2oaserver to reflect your custom paths.

    Setting up now, on UB 10...
    I'm Norwegian, what's your excuse?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •