Jump to content
Sign in to follow this  
maruk

ARMA II - Linux Server 1.04 Public Beta UPDATED

Recommended Posts

Ran a Windows based OFP server. Then a Windows based ArmA server. Then a Windows based ArmA 2 server.

But i would love to run a Linux based ArmA 2 server :)

In our squad we only run final patches - will the Linux server be updated for patch 1.05 when it is released ?

Furthermore - the experience in installing the server was like a dream, I booted up a blank VMware Ubuntu i386 Server Edition, followed the instructions and had a working ArmA 2 server 30 minutes later :D

Absolutely amazing job BIS !

Share this post


Link to post
Share on other sites

Hi there,

anybody to share expiriences with me ?

How are u starting server with cpucount ? I have 4 cores (2x2) and in processes list is only one "server" process.

Tried with last beta content...

Edited by VGOS.Joshuax

Share this post


Link to post
Share on other sites

Okay, I've be workin since 5 hours on my server but now I know the problem.

If I start the server with ./arma2server -mod=@bwmod the Server can't load the addons because they are missing.

But if I start the Server with ./server -mod=@bwmod the Server can load the addons for the missionfile.

So there must be a bug in the ./arma2server script, or not?

Maybe someone can tell me something about that.

Thank you!

By the way, using: arma2_linux_server-1.04.61018

Share this post


Link to post
Share on other sites
Daddybear;1513744']If I start the server with ./arma2server -mod=@bwmod the Server can't load the addons because they are missing.

But if I start the Server with ./server -mod=@bwmod the Server can load the addons for the missionfile.

Find the line starting with

 ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG}

in the arms2server script and add your mod option -mod=@bwmod at the end.

Valid parameters for the arma2server script are

start|stop|restart|status|check

Share this post


Link to post
Share on other sites
Find the line starting with

 ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG}

in the arms2server script and add your mod option -mod=@bwmod at the end.

Valid parameters for the arma2server script are

start|stop|restart|status|check

Thank you!

That was a great help for me.

I've modified the arma2server file:

On line 19 I've added:

MOD=beta\;@cba\;@ace\;@acex

At the end of line 109 I've added:

-mod=${MOD}

Now it works fine!

#!/bin/bash
#
# armaserver: ArmA 2 Linux Dedicated Server Control Script
#  (c) 2009 BIStudio
#  ArmA 2 binary version must be 1.04 or later
#

#=======================================================================
#========               CONFIGURATION PARAMETERS                ========
#======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ========
#=======================================================================
ARMA_DIR=
CONFIG=
PORT=
PIDFILE=${ARMA_DIR}/${PORT}.pid
RUNFILE=${ARMA_DIR}/${PORT}.run
LOGFILE=${ARMA_DIR}/log.${PORT}.txt
SERVER=${ARMA_DIR}/server
MOD=beta\;@cba\;@ace\;@acex
#=======================================================================
ulimit -c 1000000

case "$1" in


   start)
if [ -f ${RUNFILE} ]; then
    $0 stop
fi
echo "Starting ArmA 2 server..."
# file to mark we want server running...	
echo "go" >${RUNFILE}
# launch the background watchdog process to run the server
nohup </dev/null >/dev/null $0 watchdog &
;;

   stop)
echo "Stopping ArmA 2 server..."
if [ -f ${RUNFILE} ]; then
# ask watcher process to exit by deleting its runfile...
    rm -f ${RUNFILE}
fi
# and terminate ArmA 2 server process
if [ -f ${PIDFILE} ]; then
    kill -TERM $(< ${PIDFILE})
    if [ -f ${PIDFILE} ]; then
	rm -f ${PIDFILE}
    fi
fi
;;


   status)
if [ -f ${RUNFILE} ]; then
    echo "Server should be running..."
else
    echo "Server should not be running..."
fi
if [ -f ${PIDFILE} ]; then
    PID=$(< ${PIDFILE})
    echo "PID file exists (PID=${PID})..."
    if [ -f /proc/${PID}/cmdline ]; then
	echo "Server process seems to be running..."
    fi
fi
;;


   check)
echo -n "ArmA 2 directory: ${ARMA_DIR} "
if [ -d ${ARMA_DIR} ]; then
    echo "OK"
else
    echo "MISSING!"
fi

echo -n "Server executable: ${SERVER} "
if [ -x ${SERVER} ]; then
    echo "OK"
else
    echo "ERROR!"
fi

echo "Port number: ${PORT}"

echo -n "Config file: ${CONFIG} "
if [ -f ${CONFIG} ]; then
    echo "OK"
else
    echo "MISSING!"
fi

echo "PID file: ${PIDFILE}"
echo "RUN file: ${RUNFILE}"

;;

   restart)
$0 stop
$0 start
       ;;

   watchdog)
# this is a background watchdog process. Do not start directly
while [ -f ${RUNFILE} ]; do
# launch the server...
    cd ${ARMA_DIR}
    echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Starting server (port ${PORT})..."
    ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} -mod=${MOD}
    if [ -f ${RUNFILE} ]; then
	echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..."
	sleep 5s
    else
	echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminating"
    fi
done    
;;
   *)
echo "$0 (start|stop|restart|status|check)"
;;
esac

Share this post


Link to post
Share on other sites

I'm getting this error after several hours, with about 10-20 players.

Bad version 47 in p3d file 'ca\data\cl_basic.p3d'

Critical:Destroying running thread!

I'm not sure if ca.pbo is fine, it seems to be. Is this the correct md5?

$ md5sum addons/ca.pbo

600f6f27a7bb3efaef4d35bfe7361881 addons/ca.pbo

Share this post


Link to post
Share on other sites

I'm not sure if ca.pbo is fine, it seems to be. Is this the correct md5?

$ md5sum addons/ca.pbo

600f6f27a7bb3efaef4d35bfe7361881 addons/ca.pbo

Looks OK - that's what I have on my 1.04 ArmA II Ca.pbo.

Share this post


Link to post
Share on other sites
what does the log file say, when you try to start it with addons?

Hi,

Well the log file says

WATCHDOG (16900): [mercredi 16 décembre 2009, 18:23:04 (UTC+0100)] Server died, waiting to restart...
WATCHDOG (16900): [mercredi 16 décembre 2009, 18:23:09 (UTC+0100)] Starting server (port 2314)...
Warning Message: No entry '.\ArmA2.cfg.3D_Performance'.
Warning Message: '/' is not a value
Warning Message: No entry '.\ArmA2.cfg.adapter'.
Warning Message: '/' is not a value
Warning Message: No entry '.\ArmA2.cfg.Resolution_Bpp'.
Warning Message: '/' is not a value
Cannot register unknown string STR_USRACT_ACTION_CONTEXT
Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_0
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_1
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_2
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_3
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_4
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_5
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_6
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_7
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_8
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_9
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_10
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_11
Cannot register unknown string STR_FREETRACK
Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE
Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD
Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION
Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY
Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON
Cannot register unknown string STR_MSG_ADDON_NOT_FOUND
Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN
Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT
Data file too short '@ace\addons\acex_bink_us_acu.pbo'. Expected 98865605 B, got 1515520 B
Critical:Destroying running thread!
No entry '.\ArmA2.cfg.3D_Performance'.
Critical:Destroying running thread!
Critical:Destroying running thread!
WATCHDOG (16900): [mercredi 16 décembre 2009, 18:23:10 (UTC+0100)] Server died, waiting to restart...
WATCHDOG (16900): [mercredi 16 décembre 2009, 18:23:15 (UTC+0100)] Starting server (port 2314)...
Warning Message: No entry '.\ArmA2.cfg.3D_Performance'.
Warning Message: '/' is not a value
Warning Message: No entry '.\ArmA2.cfg.adapter'.
Warning Message: '/' is not a value
Warning Message: No entry '.\ArmA2.cfg.Resolution_Bpp'.
Warning Message: '/' is not a value
Cannot register unknown string STR_USRACT_ACTION_CONTEXT
Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_0
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_1
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_2
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_3
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_4
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_5
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_6
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_7
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_8
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_9
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_10
Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_11
Cannot register unknown string STR_FREETRACK
Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE
Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD
Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION
Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY
Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON
Cannot register unknown string STR_MSG_ADDON_NOT_FOUND
Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN
Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT
Data file too short '@ace\addons\acex_bink_us_acu.pbo'. Expected 98865605 B, got 1515520 B
Critical:Destroying running thread!
No entry '.\ArmA2.cfg.3D_Performance'.
WATCHDOG (16900): [mercredi 16 décembre 2009, 18:23:16 (UTC+0100)] Server shutdown intentional, watchdog terminating

Edited by Tibeuls

Share this post


Link to post
Share on other sites

how did you upload the mod?

it seems like you got a damaged or corrupted file: @ace\addons\acex_bink_us_acu.pbo

Share this post


Link to post
Share on other sites

Dedicated Server FreeBSD

FreeBSD 8.0 32bit

CPU Intel Core 2 Quad Q6600

Memory 3Gb

Client v1.04.61450

Server v1.04.61018

Bug server STOP ?

./arma2server stop, Stop 2 process, 7 runs.

arma2server:

#!/usr/local/bin/bash

#

# armaserver: ArmA 2 Linux Dedicated Server Control Script

# © 2009 BIStudio

# ArmA 2 binary version must be 1.04 or later

#

#=======================================================================

#======== CONFIGURATION PARAMETERS ========

#======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ========

#=======================================================================

ARMA_DIR=/usr/home/ut2004/arma2

CONFIG=server.cfg

CFG=basic.cfg

PORT=2302

PIDFILE=${ARMA_DIR}/${PORT}.pid

RUNFILE=${ARMA_DIR}/${PORT}.run

LOGFILE=${ARMA_DIR}/log.${PORT}.txt

SERVER=${ARMA_DIR}/server

NAME=kohagen

MODS="beta"

#=======================================================================

ulimit -c 1000000

case "$1" in

start)

if [ -f ${RUNFILE} ]; then

$0 stop

fi

echo "Starting ArmA 2 server..."

# file to mark we want server running...

echo "go" >${RUNFILE}

# launch the background watchdog process to run the server

nohup </dev/null >/dev/null $0 watchdog &

;;

stop)

echo "Stopping ArmA 2 server..."

if [ -f ${RUNFILE} ]; then

# ask watcher process to exit by deleting its runfile...

rm -f ${RUNFILE}

fi

# and terminate ArmA 2 server process

if [ -f ${PIDFILE} ]; then

kill -TERM $(< ${PIDFILE})

if [ -f ${PIDFILE} ]; then

rm -f ${PIDFILE}

fi

fi

;;

status)

if [ -f ${RUNFILE} ]; then

echo "Server should be running..."

else

echo "Server should not be running..."

fi

if [ -f ${PIDFILE} ]; then

PID=$(< ${PIDFILE})

echo "PID file exists (PID=${PID})..."

if [ -f /proc/${PID}/cmdline ]; then

echo "Server process seems to be running..."

fi

fi

;;

check)

echo -n "ArmA 2 directory: ${ARMA_DIR} "

if [ -d ${ARMA_DIR} ]; then

echo "OK"

else

echo "MISSING!"

fi

echo -n "Server executable: ${SERVER} "

if [ -x ${SERVER} ]; then

echo "OK"

else

echo "ERROR!"

fi

echo "Port number: ${PORT}"

echo -n "Config file: ${CONFIG} "

if [ -f ${CONFIG} ]; then

echo "OK"

else

echo "MISSING!"

fi

echo "PID file: ${PIDFILE}"

echo "RUN file: ${RUNFILE}"

;;

restart)

$0 stop

$0 start

;;

watchdog)

# this is a background watchdog process. Do not start directly

while [ -f ${RUNFILE} ]; do

# launch the server...

cd ${ARMA_DIR}

echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Starting server (port ${PORT})..."

${SERVER} >>${LOGFILE} 2>&1 -server -mod=${MODS} -cfg=${CFG} -config=${CONFIG} -name=${NAME} -port=${PORT} -pid=${PIDFILE}

if [ -f ${RUNFILE} ]; then

echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..."

sleep 5s

else

echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminating"

fi

done

;;

*)

echo "$0 (start|stop|restart|status|check)"

;;

esac

./arma2server start

38259   2  S      0:00,00 /usr/local/bin/bash ./arma2server watchdog
38261   2  S      0:07,95 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38262   2  S      0:00,07 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38269   2  S      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38270   2  S      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38271   2  S      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38291   2  S      0:00,01 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38292   2  S      0:00,01 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38294   2  S      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 

./arma2server stop

38262   2  I      0:00,07 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38269   2  I      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38270   2  I      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38271   2  I      0:00,00 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38291   2  S      0:00,11 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38292   2  S      0:00,11 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 
38294   2  S      0:00,04 /usr/home/ut2004/arma2/server -server -mod=beta -cfg=basic.cfg -config=server.cfg -name=kohagen 

Edited by KOHAGEN

Share this post


Link to post
Share on other sites
how did you upload the mod?

it seems like you got a damaged or corrupted file: @ace\addons\acex_bink_us_acu.pbo

Thank you thank you sir you have found the probleme that has been killing mee lol evrything is working fine i should have seen it but i dint so !

thanks againe see y'all soon .

Share this post


Link to post
Share on other sites

Worked flawlessly using 1.04.61018 on Ubuntu 8.04 dual core with 2GB RAM.

Thanks, guys at BIS, for making this happen.

Share this post


Link to post
Share on other sites

On Debian Lenny x64 i have something like this:

vizjer:/home/arma2# 11:55:03 [EC] Maciek uses modified data file - CA;@VopSound_ 2.1

11:55:03 Player [EC] Maciek connecting.

11:55:03 Mission [-DST-] DM Airport read from bank.

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

Server error: Player without identity [EC] Maciek (id 61203539)

11:55:08 Player [EC] Maciek connected (id=381060).

It happens only when I switch on verifySignatures=1 in server.cfg. When someone can't be verified (timeout) it gives him ban. It seems to be random :confused:

Share this post


Link to post
Share on other sites

set to kick instead of ban in server.cfg

Share this post


Link to post
Share on other sites

How have you fellow Linux server admins been patching your ArmA 2's on your Linux boxes?

The .exe patches released by BIS are unable to run naively under Linux?

Or do they just expect each time there is an update/patch for people to have to install that first on a Windows box and then re upload the whole god damn game directory each and every time? That would seem totally and utterly ridiculous no?

Share this post


Link to post
Share on other sites

final version is out , closing this one

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×