Results 1 to 7 of 7

  Click here to go to the first Developer post in this thread.  

Thread: Take On Helicopters - Linux server beta 1.05.91260

  1.   Click here to go to the next Developer post in this thread.   #1

    Exclamation Take On Helicopters - Linux server beta 1.05.91260

    CRC32: A24D000C
    MD5: CB3A88F14778EE8E02AF91F58A414BBB
    SHA-1: 699BB736CD6EA6B8679EC74CF19CB7F6A2784E35
    Note that it requires TOH data to be updated to version 1.05 first in order to run properly.

    Warning: LD_LIBRARY_PATH to the JAVA JDK folder must be defined
    export LD_LIBRARY_PATH=/usr/java/jdk1.7.0/jre/lib/i386/client

    Please provide us with feedback to this topic.

    Take on Helicopters - Linux Standalone Server 1.05
    ================================================== =============
    Copyrigt (c) 2011 Bohemia Interactive Studio. All rights reserved.
    For more information please visit

    Installation instructions:
    1. Following programs must have been installed on your Linux-box:
    tar, gcc. Optional: md5sum (for setup integrity check)
    1a. On some verions of Linux (this was reported for RedHat 9
    and Gentoo linux 2.4.20) the NSCD deamon must be installed to
    run TOH server successfully. Caching of DNS would be sufficient.
    2. Copy the whole "Take on Helicopters" directory from Windows
    to some Linux-directory (takeonh). DON'T DO ANY DATA CONVERSIONS
    (even "dos2unix" translation of text files is not necessary).
    Example: you can use PKZIP (WinZip, PowerArchiver, etc.) on
    Windows and "unzip" on Linux.
    Don't use upper case letters in the takeonh directory name
    (/home/bob/takeonh will be good, /home/bob/TakeOnH
    may cause some troubles).
    takeonh directory should contain subdirectories "Addons", "Bin", etc.
    3. Copy the "server-x.xx.tar.gz" (x.xx is version number) file into
    the takeonh directory. Unpack and install it with commands:
    takeonh$ tar -xjf server-x.xx.tar.bz2
    takeonh$ ./install
    Watch the messages - they will inform you whether your installation
    is successful.
    4. Dedicated server can be started in foreground:
    takeonh$ ./server
    Or in background:
    takeonh$ nohup ./server > out.txt 2> err.txt &
    [1] <pid>
    5. Running server can be stopped by executing:
    $ kill -s SIGINT <pid>
    Where <pid> is process-id of mother server thread (printed out in
    "nohup" command).
    6. Take on Helicopters server has a feature: command-line parameter
    "-pid=<pid_file>". It causes creation of <pid_file> with
    PID of root TOH process. If IP port specified in "-port=<nn>"
    parameter is busy (in usage), TOH will terminate immediately
    and <pid_file> won't be written..
    7. The "tohserver" script is provided for automatic server
    start/restart/status query/etc. Please be sure to edit
    CONFIGURATION PARAMETERS in lines 12 to 18 !
    After this is done, install (hard-link?) the script into
    "/etc/rc.d/init.d/tohserver" file. After that it can be managed
    by "chkconfig" (see info/man).
    previous thread about 1.03 beta linux : Spoiler:

  2.   This is the last Developer post in this thread.   #2
    We would also be interested in learning your opinion on JRE distribution for Linux. For the Windows version of the various games we are including a re-distributable JRE, so players do not have to install any extra software manually. As a Linux user, do you want us to try to distribute a Linux JRE in some way as well, or do you prefer to handle it yourself as admin?
    Bohemia Interactive
    Arma 3 - Project Lead
    Watch us, tweet us, poke us

    Take On Helicopters - Project Lead
    Take On Noisecontrollers!

  3. #3
    I would prefer it if you would include the JRE as well. The reason is that your JRE seems to include a non-standard library in jre/lib/ext (jniscripting.jar). Without it the server won't start.

    And btw, I'm having trouble starting the server with Hinds DLC:
    PHP Code:
    WATCHDOG (2137): [Thu Apr  5 01:05:33 CEST 2012Starting server (port 2302)...
    JavaVM Created
    Data file too short 
    '/home/takoh/server/@hinds\addons\characters_h_dlc1.pbo'Expected -1843420160 Bgot 54826228 B
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x6161702e, pid=2139, tid=4139615936
    # JRE version: 7.0_03-b04
    # Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode linux-x86 )
    # Problematic frame:
    # C  0x6161702e
    # Core dump written. Default location: /home/takoh/server/core or core.2139 (max size 1000000 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again
    # An error report file with more information is saved as:
    # /home/takoh/server/hs_err_pid2139.log
    # If you would like to submit a bug report, please visit:
    WATCHDOG (2137): [Thu Apr  5 01:05:34 CEST 2012Server diedwaiting to restart... 
    Without the Hinds Addon the server works fine. Any idea?

    "Nothing is so firmly believed as what is least known." - Michel de Montaigne

  4. #4
    In OA DLC was not to be put on the server. Probably true for TKOH as well. The standard TKOH files should have everything the server needs.

    Current active projects: None

    Maintained/assisted projects: IFA3, Blitzkrieg

    Help: Got a crash? Report it! What is the RPT log file?

  5. #5
    Quote Originally Posted by PvPscene View Post
    In OA DLC was not to be put on the server. Probably true for TKOH as well. The standard TKOH files should have everything the server needs.
    Well, I made a MP mission that apparently requires DLC content to be on the server as well. Without it the mission won't load and the server logs an appropriate error message ("You cannot play this mission ... content has been deleted.hsim_characters_h_dlc1.")

    The following are the addOns[]- and addOnsAuto[]-sections of my mission.sqm as generated by the mission editor where you can see that 2 DLC pbo's are required (marked red):

  6. #6
    Also, I found out that my server crashes about 2-3 min into any mission. This is even without addons and also happens with the stock missions. Looks like a Java related problem (core is dumped and the following hs_err_pid*****.log is written):


    I'm using the latest official JRE from Oracle (jre-7u3-linux-i586.tar.gz, manual install). Anyone else having similar problems?

  7. #7
    Another reason for distributing the server with a "bundled" JRE is the fact that the JRE system libraries have to be 32 bit in order to be usable by the server or else we get:

    error while loading shared libraries: wrong ELF class: ELFCLASS64

Similar Threads

  1. Take On Helicopters - Linux server beta 1.03.87531
    Replies: 2
    Last Post: May 14 2012, 17:24
  2. Linux BETA server on FreeBSD
    By Fireball in forum ARMA 2 & OA - BETA PATCH TESTING
    Replies: 2
    Last Post: Dec 25 2010, 14:00
  3. Arma 2 Linux Server 1.07 BETA
    By Maruk in forum ARMA 2 & OA - MULTIPLAYER
    Replies: 26
    Last Post: Jul 26 2010, 17:53
  4. Linux server beta
    By Maruk in forum ARMA - MULTIPLAYER
    Replies: 221
    Last Post: Mar 22 2008, 20:22
  5. Linux standalone server 1.8x beta
    By Maruk in forum MULTIPLAYER
    Replies: 1
    Last Post: Oct 24 2002, 18:24

Posting Permissions

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