Jump to content

Photo
- - - - -

Take On Helicopters - Linux server beta 1.05.91260


  • Please log in to reply
6 replies to this topic

#1 Dwarden

Dwarden

    BI Developer

  • BI Developer
  • 9617 posts
  • LocationBrno, Czech Republic

Posted 03 April 2012 - 16:29

Dowload:
ftp://downloads.bistudio.com/takeonhelicopters.com/update/toh-server-1.05.91260.tar.bz2
ftp://downloads.bistudio.com/takeonhelicopters.com/update/toh-server-1.05.91260.tar.bz2

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
example:

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 © 2011 Bohemia Interactive Studio. All rights reserved.
For more information please visit
http://community.bis...edicated_Server

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 :

RealTimeChat ~ARMA2 in Your browser (w/o Java), RealTimeChat ~ARMA3 in Your browser (w/o Java),
irc.GameSurge.net/ARMA2 (external IRC clients) irc.GameSurge.net/ARMA3 (external IRC clients)
ARMA 3 Feedback Tracker: http://feedback.arma...y_view_page.php
~100k fans @STEAM ARMA 2 + ARMA 2: OA + ARMA 3: + ~2k @XFIRE A2:OA
Follow my Twitter: http://twitter.com/FoltynD or my Facebook http://facebook.com/FoltynD


#2 DnA

DnA

    BI Developer

  • BI Developer
  • 1658 posts

Posted 04 April 2012 - 09:45

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 daikan

daikan

    Staff Sergeant

  • Members
  • 285 posts

Posted 04 April 2012 - 23:21

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:
WATCHDOG (2137): [Thu Apr  5 01:05:33 CEST 2012] Starting server (port 2302)...
JavaVM Created
Data file too short '/home/takoh/server/@hinds\addons\characters_h_dlc1.pbo'. Expected -1843420160 B, got 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™ 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:
# http://bugreport.sun...eport/crash.jsp
#
WATCHDOG (2137): [Thu Apr 5 01:05:34 CEST 2012] Server died, waiting 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 .kju -PvPscene-

.kju -PvPscene-

    Brigadier General

  • Members
  • 12275 posts

Posted 05 April 2012 - 03:19

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 daikan

daikan

    Staff Sergeant

  • Members
  • 285 posts

Posted 05 April 2012 - 07:27

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):
Spoiler



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


#6 daikan

daikan

    Staff Sergeant

  • Members
  • 285 posts

Posted 05 April 2012 - 23:14

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):

Spoiler

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


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


#7 daikan

daikan

    Staff Sergeant

  • Members
  • 285 posts

Posted 06 April 2012 - 20:06

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: libjvm.so: wrong ELF class: ELFCLASS64



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