Jump to content
Sign in to follow this  
Nightshadow81

Can't get OA Server working on Ubuntu root

Recommended Posts

Hi there

I thought it was a nice idea to rent a root server and install arma2oa on it. That way i have the motivation to learn linux and host my own arma2co server. Learning linux works, but the server doesn't...

I uploaded my Arma2CO folder via ftp and downloaded the 1.60 dedicated server file for linux (not the beta one). This is where it gets strange. When i enter ./install it says that it is installing version 1.57. I downloaded the from other mirrors and tried again but it always says version 1.57. Ok, i thought, maybe thats an error on the devs side... who knows.

I edited the arma2oaserver like this:

#!/bin/bash

#

# armaserver: ArmA 2 Linux Dedicated Server Control Script

# © 2010 BIStudio

# ArmA 2 binary version must be 1.04 or later

#

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

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

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

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

ARMA_DIR=/home/xxx/arma2arrowhead/

CONFIG=/${ARMA_DIR}/server.cfg

CFG=/${ARMA_DIR}/arma2oa.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

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

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} ${OTHERPARAMS}

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

My server.cfg looks like this:

/*

Example ArmA2 server configuration file

by [KH]Jman, 3rd July 2009. http://www.kellys-heroes.eu

*/

// Password for private servers. Uncomment this if you wish to run a private server

password = "xxx";

/*

Password to protect admin access

type: #login mypassword

in ingame client chatbox to login as admin

type: #missions

in ingame client chatbox to display the mission list

*/

passwordAdmin = "xxx";

// The name of the server that shall be displayed in the public server list

hostname="xxx";

/*

Message of the day. It can be several lines, separated by comma

empty messages "" will not be displayed at all but are only for increasing the interval

*/

motd[]= {

""

};

// Time interval (in seconds) between each message of the day

motdInterval=15;

/*

25% or more players need to vote for mission to become effective

set to 1.5 to turn off missions voting

*/

voteThreshold=0.25;

/*

Maximum amount of server slots

server will always display 64 slots if maxPlayers is >64 and server is empty

*/

maxPlayers=10;

/*

Gamespy reporting url for public server list inclusion

use 127.0.0.1 for LAN server

*/

reportingIP="arma2pc.master.gamespy.com";

/*

If specified player connects/disconnects and player id are written to file.

log file is persistant and appends data on server restart.

*/

logfile="myserver.log";

/*

Specifies the mission rotation and related difficulty settings.

leave blank i.e class Missions {};

to enable player's selection from mission list & difficulty settings

(voted on if no admin logged in)

*/

class Missions

{};

// If class missions is blank start voting when 1 players connect.

voteMissionPlayers=0;

// Do not allow players with duplicate ids to connect

kickduplicate=0;

// If set to 1 players must use exactly the same -mod= startup parameter as the server.

equalModRequired=0;

// If set to 1, Voice over Net will not be available

disableVoN=0;

/*

Quality from 1 to 10

refer to:

http://community.bistudio.com/wiki/ArmA:_Multiplayer#VOIP_support

for codec info. 7 is the best.

*/

vonCodecQuality=7;

/*

Set the timestamp format used on each report line in server-side RPT file.

possible values are:

none (default), short & full

*/

timeStampFormat=full;

/*

Enables persistent battlefield

dependent on the mission specifiying persistence, otherwise has no effect.

missions must contain either instant respawn or base respawn options located in the missions description.ext file

*/

persistent=1;

/*

Enables signature verification for addons

this will prevent pbo hacks by only allowing pbos that pass servers public key checks

*/

verifySignatures=0;

// Signature timeout fix

regularcheck="{}";

// some ArmA specific stuff - signature verification

onUnsignedData = "kick (_this select 0)"; // unsigned data detected

onHackedData ="kick (_this select 0)"; // tampering of the signature detected

onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected

BattlEye = 0; //Server to use BattlEye system

// See ArmA Biki for additional signature commands

// EOF

My arma2oa.cfg looks like this:

language="English";

adapter=-1;

3D_Performance=93750;

Resolution_Bpp=32;

Resolution_W=1600;

Resolution_H=900;

winX=0;

winY=16;

winW=1600;

winH=884;

winDefW=1600;

winDefH=884;

Render_W=1280;

Render_H=900;

FSAA=2;

postFX=0;

GPU_MaxFramesAhead=1000;

GPU_DetectedFramesAhead=3;

HDRPrecision=8;

lastDeviceId="";

localVRAM=1059397632;

nonlocalVRAM=2147483647;

vsync=0;

AToC=0;

FXAA=0;

Windowed=1;

refresh=60;

PPAA=0;

PPAA_Level=0;

Now when i start the server with "./arma2oaserver start" i get a lot of "No entry" errors.

My logfile looks like this:

WATCHDOG (31723): [sat Jul 21 11:51:01 CEST 2012] Server shutdown intentional, watchdog terminating

WATCHDOG (31736): [sat Jul 21 11:51:01 CEST 2012] Starting server (port 2302)...

File Player\Player.ArmA2OAProfile, line 142: .viewDistance: Member already defined.

Warning Message: No entry '.CfgDifficulties'.

Warning Message: No entry '.default'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgAISkill'.

Warning Message: No entry '.AimingSpeed'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.AimingAccuracy'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.AimingShake'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.Endurance'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.SpotDistance'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.SpotTime'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.Courage'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.ReloadSpeed'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.Commanding'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.General'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.CfgExperience'.

Warning Message: No entry '.ranks'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.destroyUnit'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.destroyEnemy'.

Warning Message: '/' is not a value

Warning Message: No entry '.destroyFriendly'.

Warning Message: '/' is not a value

Warning Message: No entry '.destroyCivilian'.

Warning Message: '/' is not a value

Warning Message: No entry '.destroyStatic'.

Warning Message: '/' is not a value

Warning Message: No entry '.renegadeLimit'.

Warning Message: '/' is not a value

Warning Message: No entry '.playerKilled'.

Warning Message: '/' is not a value

Warning Message: No entry '.commandCompleted'.

Warning Message: '/' is not a value

Warning Message: No entry '.commandFailed'.

Warning Message: '/' is not a value

Warning Message: No entry '.followMe'.

Warning Message: '/' is not a value

Warning Message: No entry '.destroyYourUnit'.

Warning Message: '/' is not a value

Warning Message: No entry '.missionCompleted'.

Warning Message: '/' is not a value

Warning Message: No entry '.missionFailed'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgInGameUI'.

Warning Message: No entry '.DebugFont'.

Warning Message: No entry '.font'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgFonts'.

Warning Message: No entry '.CfgFontFamilies'.

Warning Message: No entry '.'.

Warning Message: No entry '.fonts'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.size'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWhistleSound'.

Warning Message: No entry '.sound'.

Warning Message: Size: '/' not an array

Warning Message: No entry '.downTime'.

Warning Message: '/' is not a value

Warning Message: No entry '.silentTime'.

Warning Message: '/' is not a value

Warning Message: No entry '.upTime'.

Warning Message: '/' is not a value

String id 1597 is not registered

No entry '.CfgDifficulties'.

11:51:17

Warning Message: No entry '.CfgDefaultSettings'.

Warning Message: No entry '.defaultVisibility'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgDefaultSettings'.

Warning Message: No entry '.defaultTerrainGrid'.

Warning Message: '/' is not a value

Warning Message: No entry '.RadioChannels'.

Warning Message: No entry '.GlobalChannel'.

Warning Message: No entry '.level'.

Warning Message: '/' is not a value

Warning Message: No entry '.noise'.

Warning Message: '/' is not a value

Warning Message: No entry '.micOuts'.

Warning Message: '/' is not a value

Warning Message: No entry '.pauseAfterWord'.

Warning Message: '/' is not a value

Warning Message: No entry '.pauseInNumber'.

Warning Message: '/' is not a value

Warning Message: No entry '.pauseAfterNumber'.

Warning Message: '/' is not a value

Warning Message: No entry '.pauseInUnitList'.

Warning Message: '/' is not a value

Warning Message: No entry '.pauseAfterUnitList'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgVoice'.

No speaker configuration found.

Warning Message: No entry '.CfgWorlds'.

Warning Message: No entry '.DefaultWorld'.

Warning Message: No entry '.skyTexture'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWorlds'.

Warning Message: No entry '.DefaultWorld'.

Warning Message: No entry '.skyTextureR'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgCoreData'.

String id 485 is not registered

Warning Message: No entry '.CfgInGameUI'.

Warning Message: No entry '.DragAndDropFont'.

Warning Message: No entry '.font'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgFonts'.

Warning Message: No entry '.size'.

Warning Message: '/' is not a value

Warning Message: No entry '.colorEnabled'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorDisabled'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.hideCursor'.

Warning Message: '/' is not a value

Warning Message: No entry '.shadow'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWrapperUI'.

Warning Message: No entry '.Cursors'.

Warning Message: No entry '.Arrow'.

Warning Message: No entry '.texture'.

Warning Message: '/' is not a value

Warning Message: No entry '.hotspotX'.

Warning Message: '/' is not a value

Warning Message: No entry '.hotspotY'.

Warning Message: '/' is not a value

Warning Message: No entry '.width'.

Warning Message: '/' is not a value

Warning Message: No entry '.height'.

Warning Message: '/' is not a value

Warning Message: No entry '.color'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.shadow'.

Warning Message: '/' is not a value

Warning Message: No entry '.RscMsgBox'.

Warning Message: No entry '.Middle'.

Warning Message: No entry '.Top'.

Warning Message: No entry '.Bottom'.

Warning Message: No entry '.textureDefault'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureHalf'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureBlack'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureZero'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureLine'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureLine3D'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureTrack'.

Warning Message: '/' is not a value

Warning Message: No entry '.textureTrackFour'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgInGameUI'.

Warning Message: No entry '.imageCornerElement'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWrapperUI'.

Warning Message: No entry '.Background'.

Warning Message: No entry '.texture'.

Warning Message: '/' is not a value

Warning Message: No entry '.TitleBar'.

Warning Message: No entry '.texture'.

Warning Message: '/' is not a value

Warning Message: No entry '.GroupBox2'.

Warning Message: No entry '.texture'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgInGameUI'.

Warning Message: No entry '.Cursor'.

Warning Message: No entry '.lock_target'.

Warning Message: '/' is not a value

Warning Message: No entry '.select_target'.

Warning Message: '/' is not a value

Warning Message: No entry '.gunner_lock'.

Warning Message: '/' is not a value

Warning Message: No entry '.aim'.

Warning Message: '/' is not a value

Warning Message: No entry '.weapon'.

Warning Message: '/' is not a value

Warning Message: No entry '.tactical'.

Warning Message: '/' is not a value

Warning Message: No entry '.move'.

Warning Message: '/' is not a value

Warning Message: No entry '.attack'.

Warning Message: '/' is not a value

Warning Message: No entry '.getin'.

Warning Message: '/' is not a value

Warning Message: No entry '.iconBoardOut'.

Warning Message: '/' is not a value

Warning Message: No entry '.selectOver'.

Warning Message: '/' is not a value

Warning Message: No entry '.watch'.

Warning Message: '/' is not a value

Warning Message: No entry '.iconComplex'.

Warning Message: '/' is not a value

Warning Message: No entry '.unitUnconscious'.

Warning Message: '/' is not a value

Warning Message: No entry '.iconRepairVehicle'.

Warning Message: '/' is not a value

Warning Message: No entry '.iconTakeBackpack'.

Warning Message: '/' is not a value

Warning Message: No entry '.iconAssemble'.

Warning Message: '/' is not a value

Warning Message: No entry '.iconDisassemble'.

Warning Message: '/' is not a value

Warning Message: No entry '.outArrow'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgInGameUI'.

Warning Message: No entry '.Compass'.

Warning Message: No entry '.texture0'.

Warning Message: '/' is not a value

Warning Message: No entry '.texture90'.

Warning Message: '/' is not a value

Warning Message: No entry '.texture180'.

Warning Message: '/' is not a value

Warning Message: No entry '.texture270'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWorlds'.

Warning Message: No entry '.eastSign'.

Warning Message: '/' is not a value

Warning Message: No entry '.westSign'.

Warning Message: '/' is not a value

Warning Message: No entry '.guerrilaSign'.

Warning Message: '/' is not a value

Warning Message: No entry '.eastFlag'.

Warning Message: '/' is not a value

Warning Message: No entry '.westFlag'.

Warning Message: '/' is not a value

Warning Message: No entry '.guerrilaFlag'.

Warning Message: '/' is not a value

Warning Message: No entry '.maskTextureFlare'.

Warning Message: '/' is not a value

Warning Message: No entry '.eyeFlare'.

Warning Message: '/' is not a value

Warning Message: No entry '.PreloadTextures'.

Warning Message: No entry '.PreloadConfig'.

Warning Message: No entry '.RscChatListDefault'.

Warning Message: No entry '.x'.

Warning Message: '/' is not a value

Warning Message: No entry '.y'.

Warning Message: '/' is not a value

Warning Message: No entry '.w'.

Warning Message: '/' is not a value

Warning Message: No entry '.h'.

Warning Message: '/' is not a value

Warning Message: No entry '.rows'.

Warning Message: '/' is not a value

Warning Message: No entry '.font'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgFonts'.

Warning Message: No entry '.size'.

Warning Message: '/' is not a value

Warning Message: No entry '.colorBackground'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorPlayerBackground'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorGlobalChannel'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorSideChannel'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorCommandChannel'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorGroupChannel'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorVehicleChannel'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorDirectChannel'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.shadow'.

Warning Message: '/' is not a value

Warning Message: No entry '.shadowColor'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

String id 767 is not registered

Warning Message: No entry '.CfgInGameUI'.

Warning Message: No entry '.DragAndDropFont'.

Warning Message: No entry '.font'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgFonts'.

Warning Message: No entry '.size'.

Warning Message: '/' is not a value

Warning Message: No entry '.colorEnabled'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorDisabled'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.hideCursor'.

Warning Message: '/' is not a value

Warning Message: No entry '.shadow'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWrapperUI'.

Warning Message: No entry '.Cursors'.

Warning Message: No entry '.Arrow'.

Warning Message: No entry '.texture'.

Warning Message: '/' is not a value

Warning Message: No entry '.hotspotX'.

Warning Message: '/' is not a value

Warning Message: No entry '.hotspotY'.

Warning Message: '/' is not a value

Warning Message: No entry '.width'.

Warning Message: '/' is not a value

Warning Message: No entry '.height'.

Warning Message: '/' is not a value

Warning Message: No entry '.color'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.shadow'.

Warning Message: '/' is not a value

Warning Message: Resource RscDisplayStart not found

Warning Message: No entry '.CfgWorlds'.

Warning Message: No entry '.DefaultWorld'.

Warning Message: No entry '.Weather'.

Warning Message: No entry '.Overcast'.

Warning Message: No entry '.Lighting'.

No weather defined in .Overcast

No lighting defined in .Lighting

Warning Message: No entry '.ThunderboltNorm'.

Warning Message: No entry '.model'.

Warning Message: '/' is not a value

Very old object loaded.

Warning Message: Bad file format (***·è).

WATCHDOG (31736): [sat Jul 21 11:51:17 CEST 2012] Server died, waiting to restart...

One other thing: How do i create a text box in here? Seems a lot better than working with spoilers...

Share this post


Link to post
Share on other sites

you need to load a mission at the end of the server.cfg.

// MISSIONS CYCLE (see below)

class Missions

{

class COOP_01

{

template = "you mission name";// omit the .pbo suffix

difficulty = "regular";// difficulty: recruit, regular, veteran or mercenary (see CfgDifficulties in the main game config)

};

};

Share this post


Link to post
Share on other sites

Ok, tried that and entered the filename of the mission without the .pbo but i get the same errors

Share this post


Link to post
Share on other sites

I have this to my linux server :

ARMA_DIR=/home/xxx/arma2arrowhead/
CONFIG=server.cfg
CFG=arma2oa.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

Share this post


Link to post
Share on other sites
I have this to my linux server :

ARMA_DIR=/home/xxx/arma2arrowhead/
CONFIG=server.cfg
CFG=arma2oa.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

OTHERPARAMS='-cpucount=2'

---------- Post added at 12:01 ---------- Previous post was at 11:58 ----------

also no caps. run ./tolower

Share this post


Link to post
Share on other sites

Ok, now i got only few error messages left....

WATCHDOG (17147): [Mo 23. Jul 21:15:13 CEST 2012] Starting server (port 2302)...

Warning Message: No entry '.\ArmA2OA.cfg.3D_Performance'.

Warning Message: '/' is not a value

Warning Message: No entry '.\ArmA2OA.cfg.adapter'.

Warning Message: '/' is not a value

Warning Message: No entry '.\ArmA2OA.cfg.Resolution_Bpp'.

Warning Message: '/' is not a value

No entry '.\ArmA2OA.cfg.3D_Performance'.

21:15:29 Dedicated host created.

21:15:30 Cannot start host on port 2302.

any ideas?

Share this post


Link to post
Share on other sites

Arma2oa.cfg is missing or wrong path in Arma2oaserver

Share this post


Link to post
Share on other sites
Arma2oa.cfg is missing or wrong path in Arma2oaserver

AFAIK thats the default name wich is loaded if you dont specify another file with cfg="" param.

Although on a linux machine it has to be all lower case -> arma2oa.cfg and has to be in arma2oaserver and also the file has to have the exact same name.

You could rename the file to arma2oa.cfg and delete the entry in arma2oaserver.

Edited by basedow

Share this post


Link to post
Share on other sites

Sadly, if the arma2oaserver script is left default, and someone merely adds:

CFG=arma2oa.cfg

But does not edit this line:

${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} ${OTHERPARAMS}

Then the server should read the arma2oa.cfg that should be in the ArmA2 OA root directory. If its in caps, the server will not read it, if the permissions are incorrect, the server will not read it. The 'CFG' line does not need to be added to the launch script, since the server reads it upon launch.

However, if these 3 lines in the file, all have '0' or are not defined, you can get the above errors as well

3D_Performance
adapter
Resolution_Bpp

Most likely reason for this error is a server already running on 2302:

21:15:29 Dedicated host created.
21:15:30 Cannot start host on port 2302.

...Syn...

Edited by VisceralSyn
Dang gumbed typos....

Share this post


Link to post
Share on other sites

Here's my cfg:

language="English";

adapter=-1;

3D_Performance=1;

Resolution_W=800;

Resolution_H=600;

Resolution_Bpp=32;

MinBandwidth=4000000;

MaxBandwidth=100000000;

MaxMsgSend=512;

MaxSizeGuaranteed=512;

MaxSizeNonguaranteed=256;

MinErrorToSend=0.001;

MinErrorToSendNear=0.0099999998;

MaxCustomFileSize=160000;

Windowed=0;

As far as the port goes, if your using the linux firewall open port 2302-2305

Share this post


Link to post
Share on other sites

Aw man... I totally forgot about that thread... My server is running now but thanks for the help. The problem is, i made so many changes on my way there, that I dont know which ones were the important ones....

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×