proxzor 1 Posted June 24, 2013 Ok, I have tried many solutions that I have found on this forum and through google yet nothing seems to be working. When joining the server I can see that it is saying the following thing: 1:08:55 Missing addons detected: 1:08:55 acex_c_weapon 1:08:55 ace_sys_playerhud 1:08:55 ace_sys_viewblock 1:08:55 ace_sys_wounds 1:08:55 map_eu 1:08:55 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.acex_c_weapon, ace_sys_playerhud, ace_sys_viewblock, ace_sys_wounds, map_eu I have made everything in lowercase letters, and I have tried to play around with the arma2oaserver file, startupline and everything but nothing seems to work and I have no clue what else I could try, I don't seen any other solutions either and therefore I am making this, hoping that this wonderful community is able to help me out! arma2oaserver file #!/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/game07 SYS_DIR=/home/game07/system CONFIG=server.cfg CFG=arma2oa.cfg PORT=2302 PIDFILE=${SYS_DIR}/${PORT}.pid RUNFILE=${SYS_DIR}/${PORT}.run LOGFILE=${SYS_DIR}/serverlog.txt SERVER=${ARMA_DIR}/server OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=2' CBA="@cba;@cba_a2;@cba_oa" ACE="@ace;@acex;@acex_ru;@acex_usnavy;@zeu_ai_ace" ACRE="@acre" MODS="${EXP};${CBA};${ACE};${ACRE}" #======================================================================= 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})..." sudo -u arma ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} -mod=${MODS} ${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 ./server -port=2302 -config=configs/server.cfg -cfg=configs/arma2oa.cfg -mod=x/\@ace\;x/\@acex\;x/\@acex_sm\;x/\@acex_ru\;x/\@acex_usnavy\;x/\@acre\;x/\@cba_co\;x/\@jayarma2lib\;x/\@bb_oa_mercs\;x/\@cba_oa\;x/\@cba_a2\;x/\@cba\; Share this post Link to post Share on other sites
=wfl= sgt bilko 10 Posted June 26, 2013 In your arma2oaserver file: You have specified that $MODS would start with the value of $EXP. But as far as I can see, you have not specified $EXP - meaning that the resulting value of $MODS starts with a semicolon. I suspect that would be a problem. E.g. CBA="@cba;@cba_a2;@cba_oa" ACE="@ace;@acex;@acex_ru;@acex_usnavy;@zeu_ai_ace" ACRE="@acre" MODS="${EXP};${CBA};${ACE};${ACRE}" echo $MODS ;@cba;@cba_a2;@cba_oa;@ace;@acex;@acex_ru;@acex_usnavy;@zeu_ai_ace;@acre For the commandline example: .server .... etc You have specified that all of the mods are located in a subfolder named "x", that is not the case in your arma2oaserver file. Also, your commandline -mod parameter ends with a semicolon, which I'm not sure about. Share this post Link to post Share on other sites
visceralsyn 10 Posted June 27, 2013 Remove this: CBA="@cba;@cba_a2;@cba_oa" ACE="@ace;@acex;@acex_ru;@acex_usnavy;@zeu_ai_ace" ACRE="@acre" MODS="${EXP};${CBA};${ACE};${ACRE}" And this: -mod=${MODS} From this line: sudo -u arma ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} -mod=${MODS} ${OTHERPARAMS} Once the bloat is removed, use this: OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=2 -mod=@cba;@cba_a2;@cba_oa;@ace;@acex;@acex_ru;@acex_usnavy;@zeu_ai_ace;@acre' Then your stuff will load... ...Syn... Share this post Link to post Share on other sites
visceralsyn 10 Posted June 27, 2013 also, you have 'CFG=arma2oa.cfg' on line 4 of the Configuration Parameters, the script is not reading that line, therefore its bloating the script. Your CFG is defined on the 'OTHERPARAMS' line: [color=#ff0000]CFG=arma2oa.cfg [/color]PORT=2302 PIDFILE=${SYS_DIR}/${PORT}.pid RUNFILE=${SYS_DIR}/${PORT}.run LOGFILE=${SYS_DIR}/serverlog.txt SERVER=${ARMA_DIR}/server OTHERPARAMS='[color=#ff0000]-cfg=arma2oa.cfg[/color] -cpucount=2' ...Syn... Share this post Link to post Share on other sites
=wfl= sgt bilko 10 Posted June 28, 2013 Nicely spotted VisceralSyn ... and also - I'm not sure why you changed the script where it is actually starting the server, to do that with sudo to another user. Wouldn't it be easier to just run as that user in the first place or at least start the whole arma2oaserver script by sudo? Either way, make sure that user has proper permissions on files/folders! Share this post Link to post Share on other sites