Fireball 16 Posted December 25, 2010 I know I'm probably beyond all support, but I thought I'd give it a shot anyway, since e.g. counterstrike servers can be run on FreeBSD using the linux emulator (aka linuxulator). It's emulating Fedora core 10. When I'm running the binary I'm getting the following results: http://www.zerouptime.ch/files/log.txt Core dump: http://www.zerouptime.ch/files/a2oa-server-core.7z Maybe it only needs some simple tweaks, OTOH it might be, that Fedora Core 10 is just too old. Share this post Link to post Share on other sites
killswitch 19 Posted December 25, 2010 Judging by the log file, it looks as if you haven't got the ArmA II game data files present, ie you don't have the addons, common, expansion and dta folders from an ArmA II install there. (That's step 2 in the readme.txt) Share this post Link to post Share on other sites
Fireball 16 Posted December 25, 2010 Judging by the log file, it looks as if you haven't got the ArmA II game data files present, ie you don't have the addons, common, expansion and dta folders from an ArmA II install there.(That's step 2 in the readme.txt) It's there, but I think due to the way the linuxulator handles paths, the path to the server might be specified wrong in this case. I'll keep fiddling around. ---------- Post added at 01:16 PM ---------- Previous post was at 12:59 PM ---------- After correcting some paths in the script, still got a bunch of funny errors and then I decided to make a file list of my a2oa-server dir and this was the output: http://www.zerouptime.ch/files/dsfilelist.txt For some reason the ./tolower binary ignored the ./Expansion directory? I'll try to get this sorted and report back. ---------- Post added at 01:22 PM ---------- Previous post was at 01:16 PM ---------- goddamn, something's funny jail:~/a2oa-server# cd expansion/ jail:~/a2oa-server/expansion# ls battleye jail:~/a2oa-server/expansion# cd .. jail:~/a2oa-server# cd Expansion/ jail:~/a2oa-server/Expansion# ls Addons BattlEye Dta Keys beta ijl15.dll jail:~/a2oa-server/Expansion# mv . ../expansion/ mv: rename . to ../expansion/.: Invalid argument jail:~/a2oa-server/Expansion# mv . ../expansion/* mv: rename . to ../expansion/battleye/.: Invalid argument jail:~/a2oa-server/Expansion# cd .. jail:~/a2oa-server# ls Expansion bak dta mpmissions server.core addons battleye expansion player tolower arma2oa.cfg common install readme.txt tolower.c arma2oaserver dsconfig keys server jail:~/a2oa-server# mv Expansion/* expansion/* jail:~/a2oa-server# rmdir Expansion/ jail:~/a2oa-server# ls addons bak dsconfig install player server.core arma2oa.cfg battleye dta keys readme.txt tolower arma2oaserver common expansion mpmissions server tolower.c jail:~/a2oa-server# cd expansion/ jail:~/a2oa-server/expansion# ls battleye jail:~/a2oa-server/expansion# I'll do an fsck first and then I'll retry transferring the directory... ---------- Post added at 02:15 PM ---------- Previous post was at 01:22 PM ---------- Works! Alright, after re-running ./install after re-transferring ./Expansion it ran: WATCHDOG (84319): [sat Dec 25 14:12:31 CET 2010] Starting server (port 2302)... Item str_disp_server_control listed twice /bin/cat: /proc/cpuinfo: No such file or directory 14:13:05 Dedicated host created. 14:13:07 Host identity created. I only wonder how the missing cpuinfo is affecting the server. Anyone? ---------- Post added at 03:33 PM ---------- Previous post was at 02:15 PM ---------- Alright after I corrected all path issues in the scripts the server dies with a message, that it couldn't include the config. It's looking for it with - it seems - relative path, even though I specified an absolute path. WATCHDOG (85160): [sat Dec 25 15:30:23 CET 2010] Starting server (port 2302)... Item str_disp_server_control listed twice /bin/cat: /proc/cpuinfo: No such file or directory 15:30:47 Dedicated host created. Include file usr/jails/www.zerouptime.ch/usr/a2oa-server/dsconfig/server.cfg not found. Critical:Destroying running thread! Critical:Destroying running thread! WATCHDOG (85160): [sat Dec 25 15:30:49 CET 2010] Server died, waiting to restart... ^C jail:~/a2oa-server# ./arma2oaserver stop Stopping ArmA 2 server... jail:~/a2oa-server# killall server jail:~/a2oa-server# ls usr/jails/www.zerouptime.ch/usr/a2oa-server/dsconfig/server.cfg ls: usr/jails/www.zerouptime.ch/usr/a2oa-server/dsconfig/server.cfg: No such file or directory jail:~/a2oa-server# ls /usr/jails/www.zerouptime.ch/usr/a2oa-server/dsconfig/server.cfg /usr/jails/www.zerouptime.ch/usr/a2oa-server/dsconfig/server.cfg EDIT: This is my command line section in the server script: ARMA_DIR=/usr/jails/www.zerouptime.ch/usr/a2oa-server CONFIG=${ARMA_DIR}/dsconfig/server.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 -ip=192.168.1.7" ---------- Post added at 03:43 PM ---------- Previous post was at 03:33 PM ---------- I love answering my own question, makes up for a good FAQ. I MUST use relative paths, thus this works: ARMA_DIR=/usr/jails/www.zerouptime.ch/usr/a2oa-server CONFIG=dsconfig/server.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 -ip=192.168.1.7" BE init fails still, I'll try without config subdir now: WATCHDOG (85246): [sat Dec 25 15:37:07 CET 2010] Starting server (port 2302)... Item str_disp_server_control listed twice /bin/cat: /proc/cpuinfo: No such file or directory 15:37:31 Dedicated host created. 15:37:32 BattlEye initialization failed ---------- Post added at 03:46 PM ---------- Previous post was at 03:43 PM ---------- Alright BE for linux did the trick: jail:~/a2oa-server/expansion/battleye# fetch http://www.battleye.com/downloads/arma2oa/beserver.so beserver.so 100% of 104 kB 361 kBps and now it runs: WATCHDOG (85347): [sat Dec 25 15:45:24 CET 2010] Starting server (port 2302)... Item str_disp_server_control listed twice /bin/cat: /proc/cpuinfo: No such file or directory 15:45:48 Dedicated host created. 15:45:49 BattlEye Server: Initialized (v1.113) 15:45:49 Host identity created. ---------- Post added at 04:00 PM ---------- Previous post was at 03:46 PM ---------- Currently running Insurgency and memory is steady. CPU at ~50% load: last pid: 85441; load averages: 0.84, 0.64, 0.41 up 56+12:11:36 15:59:02 98 processes: 2 running, 96 sleeping CPU: 51.7% user, 0.0% nice, 15.4% system, 0.0% interrupt, 33.0% idle Mem: 674M Active, 50M Inact, 175M Wired, 31M Cache, 108M Buf, 30M Free Swap: 1956M Total, 260K Used, 1956M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 85349 root 1 108 0 705M 505M select 6:44 56.05% server Woohoo, A2OA first FreeBSD server up and running! Might take it down though at some point because I need a quieter fan first - the current one's picking my nervs. Share this post Link to post Share on other sites