
Originally Posted by
[TcB]-Psycho-
Simple modfolder method - it's the same method since almost 11 years. What for informations you have to hunt?
C&P the .bikey from every cba folder in the keys folder in CO main dir.
Show a screenshoot from your mainfolder which show the included modfolders and the content of keys folder. Also your complete start command line.
Maybee your server .rpt again...
regards
First of all server is linux debian 6 x64 and there is no GUI which makes it a bit more complicated, but not impossible. It might be easy for someone who is longer in this but for someone who is just starting information is scattered aroun the net and you have to pickup pieces around. At least thats how I did it, to make it to setup everything.
Now my server directory looks like this.
Code:
2302.pid @balkan_war_mod @ibr_dtowns player
2302.run ban.txt @ibr_plants readme_oa.txt
@ace battleye @ibr_rn readme.txt
@acex @brg_africa install server
@acex_ru @cba @isla_duala server_console.log
@acex_usnavy @cba_a2 @jayarma2lib_new tmp2302
@acre @cba_oa keys tolower
addons checkfilelist.lst lang.ini tolower.c
arma2_manual.pdf common log.2302.txt @torabora
arma2oa.cfg dll logo-paul.bmp userconfig
arma2oa_manual.pdf dooacsconfig.sqf mainserver1.cfg @vilas_aks
arma2oaserver dta missions @vilas_wwp
@asr_ai expansion mpmissions
@balkan @fallujah @panthera
I copied all that from my home PC which has CO installed ( from gamersgate ) patched to 1.6 beta. Downloaded Linux Server beta 1.60.92364 and did as instructed. Then gathered info on how to configure it. Server.cfg network tuning, security, BE rcon etc.
So if CBA keys are not in arma2server/keys CBA will not work? Why is it complaining that its missing XEH if it will work but you will not be able to connect? Also I have Dooacs and some PvP addons ( disable stock OA/A2 missions and some others ) and DooACS requires CBA but its not reporting that its missing, although I cant see if it works or not.
Ill try placing CBA keys in server directory/keys and Ill report back. Also I dont know where server rpt file should be I cant find it.
Edit: Here are the keys I have on server. I copied missing ones there from all @mods/store/keys folders
Code:
abih.bikey ibr.bikey
abihv.bikey ibr.bikey.gz.zsync
ace_b522.bikey ibr_duala195.bikey
acex_b353.bikey ibr_duala195.bikey.gz.zsync
acex_ru_b64.bikey jayarma2lib.bikey
acex_ru_b64.bikey.gz.zsync senadhvo.bikey
acex_usnavy_b67.bikey senadvrs.bikey
acex_usnavy_b67.bikey.gz.zsync shezan74.bikey
acre2.bikey shezan74.bikey.gz.zsync
acre2.bikey.gz.zsync six_brg_africa.bikey
acre.bikey six_fallujah.bikey
acre.bikey.gz.zsync six_fallujah.bikey.gz.zsync
akr.bikey six_ibr_dtowns.bikey
asr_ai.bikey six_ibr_plants.bikey
asr_ai.bikey.gz.zsync six_ibr_rn.bikey
bi2.bikey six_isla_duala.bikey
bi.bikey six_isla_duala.bikey.gz.zsync
brg.bikey six_panthera.bikey
cba_a2_b7.bikey six_panthera.bikey.gz.zsync
cba_b175.bikey six_torabora.bikey
cba_oa_b4.bikey six_torabora.bikey.gz.zsync
cba_v0-8-3.bikey six_vilas_wwp.bikey
chill.bikey vilas.bikey
chill.bikey.gz.zsync
Forgot to say that I used this script for syncing addons
Code:
#!/bin/bash
#
# ACE Update script for linux
#
# by Dr.Pulp - www.FAKKer.de
#
#
#
# READ FIRST!!!
#
# In order to use this script you need to have gunzip and rsync installed!
#
# You will also need two seperate folders to use the advantage of rsync,
# because otherwise "tolower" will alter the filenames and rsync will download
# them again everytime you use the script.
#
# After the script finish succsessfully, you will have new folders depending of the number
# of mods you like to synchronize. the folders a called like the mod with a leading @.
#
##################################
# Configuration start #
##################################
# Directory where the arma server is installed
ARMA_DIR=/home/*****/arma2/******
# Directory where rsync stores the data. DON'T use a subdirectory of your arma directory!
ARMA_SYNC_DIR=/home/*******/arma2/notserverdir
# List of available Mirrors. You can add new mirrors, or delete ones that are no longer functioning. Leave a blank between mirrors!
MIRRORLIST=(dev-heaven.net s01.6thsense.eu s02.6thsense.eu 64.34.164.115 arma2.armagoons.com 213.245.0.237 six.bssnet.dk zeus2.zeus-community.net)
# Mods you like to synchronize with this script. For a complete list of available mods look at http://updater.dev-heaven.net/main !
# You can use every mod listet there -> just use the modname without @. Leave a blank between mods!
MODS="cba cba_a2 cba_oa ace acex acex_ru acex_usnavy acre"
##################################
# Advanced Configuration #
##################################
# Define some of the OS tool the script uses. If you encounter an error you can check is your pathnames may differ with the type command. example: type rm
# this will tell you your exact path to your rm. in case it differs, edit this part...otherwise leave it as it is.
RM="/bin/rm -r"
RSYNC="/usr/bin/rsync --times -O --no-whole-file -r --delete --progress -h --exclude=.rsync rsync://"
CP="/bin/cp -r"
GUNZIP="/bin/gunzip -r"
##################################
# Configuration end #
##################################
# Function: random mirror selection
RANDOM_MIRROR() {
MIRRORCOUNT=${#MIRRORLIST[*]}
MIRRORCOUNT=`expr $MIRRORCOUNT - 1`
MIRRORCOUNT=`expr 32767 / $MIRRORCOUNT`
MIRROR=${MIRRORLIST[$(($RANDOM/$MIRRORCOUNT))]}
}
# Loop: deleting folder, rsync, decompress ad copy for each mod you selected
for MOD in $MODS
do
$RM $ARMA_DIR/@$MOD
INFOSYNC='Starting to synchronize '$MOD'!'
echo ' ----------------'
echo $INFOSYNC
OK=1
BAILOUT=0
until [ "$OK" -lt "1" ]
do
RANDOM_MIRROR
$RSYNC$MIRROR/rel/$MOD/./.pack/ ${ARMA_SYNC_DIR}/@$MOD
OK=$?
BAILOUT=`expr $BAILOUT + 1`
if [ "$BAILOUT" -gt 10 ]
then
ENDE='There is a problem with rsync of mod '$MOD'! Aborting Script to prevent a loop! Check your directorys, user-rights or maybe just all mirrors are full at the moment'
echo $ENDE
exit
fi
done
INFOCOPY='Copying '$MOD' Mod to the destination folder!'
echo $INFOCOPY
$CP ${ARMA_SYNC_DIR}/@$MOD ${ARMA_DIR}
INFOZIP='Decompressing '$MOD' Mod!'
echo $INFOZIP
$GUNZIP ${ARMA_DIR}/@$MOD/*
done
# Converting filenames to lower case letters
${ARMA_DIR}/tolower
# copying keys, mpmissions and userconfig to the right folders
for MOD in $MODS
do
if test -e ${ARMA_DIR}/@$MOD/store/keys
then
$CP ${ARMA_DIR}/@$MOD/store/keys/* ${ARMA_DIR}/keys
else
if test -e ${ARMA_DIR}/@$MOD/keys
then
$CP ${ARMA_DIR}/@$MOD/keys/* ${ARMA_DIR}/keys
fi
fi
if test -e ${ARMA_DIR}/@$MOD/mpmissions
then $CP ${ARMA_DIR}/@ace/mpmissions/* ${ARMA_DIR}/mpmissions
fi
if test -e ${ARMA_DIR}/@$MOD/userconfig
then
if test -e ${ARMA_DIR}/userconfig/$MOD
then
$CP ${ARMA_DIR}/@$MOD/userconfig/* ${ARMA_DIR}/userconfig/$MOD/
else
/bin/mkdir -p ${ARMA_DIR}/userconfig/$MOD
$CP ${ARMA_DIR}/@$MOD/userconfig/* ${ARMA_DIR}/userconfig/$MOD/
fi
fi
if test -e ${ARMA_DIR}/@$MOD/store/userconfig
then
if test -e ${ARMA_DIR}/userconfig/$MOD
then
$CP ${ARMA_DIR}/@$MOD/store/userconfig/* ${ARMA_DIR}/userconfig/$MOD/
else
/bin/mkdir -p ${ARMA_DIR}/userconfig/$MOD
$CP ${ARMA_DIR}/@$MOD/store/userconfig/* ${ARMA_DIR}/userconfig/$MOD/
fi
fi
done
exit
I must say that its not quite reliable so use at your own risk.
Also this is my start script posted in my first post. Not complete just editable part
Code:
!/bin/bash
#
# armaserver: ArmA 2 Linux Dedicated Server Control Script
# (c) 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/*******/arma2/*******
CONFIG=******.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=4
OTHERPARAMS=-mod=@cba\;@ace\;@acex\;@acex_ru\;@acex_usnavy\;@acre
#=======================================================================
ulimit -c 1000000
With changes it should be like this
Code:
!/bin/bash
#
# armaserver: ArmA 2 Linux Dedicated Server Control Script
# (c) 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/*******/arma2/*******
CONFIG=******.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=4 -mod=@cba\;@cba_a2\;@cba_oa\;@balkan\;@ace\;@acex\;@acex_ru\;@acex_usnavy\;@acre'
#=======================================================================
ulimit -c 1000000
@balkan contains folder addons with the following:
Code:
disabledstockmpmissionoa_server_c_pvpscene.pbo disabledstockmpmissionsa2_server_c_pvpscene.pbo.pvpsceneco.bisign dooacs.pbo
disabledstockmpmissionsa2_server_c_pvpscene.pbo disabledstockmpmissionsoa_server_c_pvpscene.pbo.pvpsceneco.bisign dooacs.pbo.doo.bisign
Should I have keys of these addons in server root/keys too?
EDIT - FINALLY : After some fight with version errors and copying latest dev build to server, and copying its keys to serverroot/keys I got it working finally. No CBA errors anymore, but my server is shown in red, even though I can connect to it. How can I work with that?