WoODoO 10 Posted February 3, 2010 Hello, I need a help, this error occurs when running arma2server (in the case moved to aceserver) #!/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=/home/arma2/arma2 CONFIG=server.cfg CFG=startup.cfg PORT=2302 PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/server PROFILE=${ARMA_DIR}/profiles/administrator.arma2profile NAME=host MOD=@cba\;@ace\;@acex\;@acex_pla\;@acex_sm\;cobra/ilha\;x/caa1\;x/oac/oac_core #======================================================================= 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} -cfg=${CFG} -port=${PORT} -pid=${PIDFILE} -name=${NAME} -profile=${PROFILE} -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 root@game1:/home/arma2/arma2# ./aceserver start Starting ArmA 2 server... root@game1:/home/arma2/arma2# nohup: redirecting stderr to stdout tail -f log.2302.txt Cannot open file '@acex\addons\acex_c_veh_m2.pbo' Critical:Destroying running thread! Critical:Destroying running thread! Critical:Destroying running thread! WATCHDOG (3787): [Wed Feb 3 06:42:10 ARST 2010] Server died, waiting to restart... WATCHDOG (3787): [Wed Feb 3 06:42:15 ARST 2010] Starting server (port 2302)... Cannot open file '@acex\addons\acex_c_veh_m2.pbo' Critical:Destroying running thread! WATCHDOG (3787): [Wed Feb 3 06:42:17 ARST 2010] Server died, waiting to restart... WATCHDOG (3912): [Wed Feb 3 06:44:36 ARST 2010] Starting server (port 2302)... Item STR_ACE_WDN_M256 listed twice Cannot open file '@acex\addons\acex_c_veh_m2.pbo'Updating base class Turrets->Turrets, by x\ace\addons\c_vehicle\config.bin/CfgVehicles/BMP2_Base/Turrets/ Updating base class MainTurret->MainTurret, by x\ace\addons\c_vehicle\config.bin/CfgVehicles/BMP2_Base/Turrets/MainTurret/ Updating base class Turrets->Turrets, by x\ace\addons\c_vehicle\config.bin/CfgVehicles/BMP2_Base/Turrets/MainTurret/Turrets/ Updating base class MainTurret->MainTurret, by x\ace\addons\c_vehicle\config.bin/CfgVehicles/AAV/Turrets/MainTurret/ Updating base class D30_RU->StaticWeapon, by x\ace\addons\sys_repair\config.bin/CfgVehicles/D30/ 6:45:01 Dedicated host created. 6:45:03 Host identity created. follow my configuration files: basic.cfg language="English"; adapter=-1; 3D_Performance=1.0000; Resolution_W=800; Resolution_H=600; Resolution_Bpp=32; MinBandwidth=320000; MaxBandwidth=80000000; MaxMsgSend=512; MaxSizeGuaranteed=1024; MaxSizeNonguaranteed=256; MinErrorToSend=0.003 MaxCustomFileSize=0; server.cfg // // server.cfg // // comments are written with "//" in front of them. // GLOBAL SETTINGS hostname = "[=CC=] COALIZAO BRASIL | COBRA Linux"; // The name of the server that shall be displayed in the public server list password = "bebebe"; // Password for joining, eg connecting to the server passwordAdmin = "lalala"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz' //reportingIP = "cobra.master.gamespy.com"; // This is the default setting. If you change this, your server reportingIP = "arma2pc.master.gamespy.com"; //might not turn up in the public list. Leave empty for private servers logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called // WELCOME MESSAGE ("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[] = { "", "Bem vindo ao Servidor C.O.B.R.A", "Respeitem os Admins", "Atualizem os seus AddOns, Usem o nosso Repositorio no AddonSync 2009", "ACE Mod 2 Atualizado", "Acessem nosso Forum http://www.coalizaobrasil.com", "=CC= Central de Clans - http://www.centraldeclans.com.br", "Sistema de comunicacao utilizado pelos COBRAs TeamSpeak 3", "Usem o nosso TS3 para um melhor aproveitamento das partidas 189.1.174.124:9987", "Para ajuda com configuracoes: TeamSpeak3, AddonSync 2009 e outros acessem nosso forum", "http://www.coalizaobrasil.com", "Respeitem os Admins", "Silencio no TS, partida em andamento!!!", "ACE Mod 2 - COBRA", }; motdInterval = 40; // Time interval (in seconds) between each message // JOINING RULES checkfiles[] = {}; // Outdated. maxPlayers = 64; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player. kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing. verifySignatures = 0; // Verifies the players files by checking them with the .bisign signatures. Works properly from 1.08 on equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server. // VOTING voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen. voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective // INGAME SETTINGS disableVoN = 1; // If set to 1, Voice over Net will not be available vonCodecQuality = 0; // Quality from 1 to 10 persistent = 1; // If 1, missions still run on even after the last player disconnected. // SCRIPTING ISSUES onUserConnected = ""; // self-explaining onUserDisconnected = ""; doubleIdDetected = ""; regularCheck = ""; // some ArmA specific stuff - signature verification onUnsignedData = "kick (_this select 0)"; // unsigned data detected onHackedData = "ban (_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 Server Description: broadband speed: 8 Mbps Full Duplex Server Description Intel Q9600 8Gb RAMM RAID 0 +1 1.5 Tb SO: Slackware 13 Share this post Link to post Share on other sites
killswitch 19 Posted February 3, 2010 (edited) First a few general observations: The server.cfg looks good. Your "basic.cfg" looks OK. I hope it is actually named "startup.cfg", since that's what the start script tells the server to load. The startup parameter "-profile" is actually -profiles with a trailing "s" but... ...it indicates which directory the user profiles are stored in, not a specific user profile file... ...furthermore, that parameter doesn't do anything in Linux, so you can remove that from the start script entirely. [*] Since the start script uses -name=host, the profile that will be used is host/host.arma2profile Your primary problem is the log message Cannot open file '@acex\addons\acex_c_veh_m2.pbo' This may be because the file isn't actually there, or that it has been damaged/corrupted during upload. Can you tell us how you installed ACE 2 on the server? A common reason for corrupted files is using the FileZilla FTP client. By default, it has the file transfer type set to "Auto", which will corrupt uploads. Change it to "Binary" and you should be file (There are three possible settings - auto, binary and ASCII) Edited February 3, 2010 by Killswitch Share this post Link to post Share on other sites
WoODoO 10 Posted February 3, 2010 [*] Your "basic.cfg" looks OK. I hope it is actually named "startup.cfg", since that's what the start script tells the server to load. KillSwitch. Yes you're right, use the same startup.cfg. I used winscp to transfer files in binary mode. It seems that this solved the problem, actually I ran the. / Install again and he does not know why he returned to work without the message of error in the ACE. However I still have one doubt, when clients connect to the server they go to the LOBBY choose your class and then the OK they begin to receive the file directly from the mission server, it happens that takes about 40 to 50 seconds (for round , average 1 minute) to start downloading the file, I have noticed that Occurrence on our server and see that others do not. The question would be, there is something to be done on the server for this to be instantaneous as in other servers? some script, configuration ...? No, it would be so grateful for your attention. Share this post Link to post Share on other sites
killswitch 19 Posted February 3, 2010 However I still have one doubt, when clients connect to the server they go to the LOBBY choose your class and then the OK they begin to receive the file directly from the mission server, it happens that takes about 40 to 50 seconds (for round , average 1 minute) to start downloading the file, I have noticed that Occurrence on our server and see that others do not.The question would be, there is something to be done on the server for this to be instantaneous as in other servers? some script, configuration ...? No, it would be so grateful for your attention. If there is no mission selected, there's a 1 minute voting timeout before a selected mission is loaded unless an admin logs in and selects a mission. Is that what you mean? If it isn't, and you're referring to a delay that occurs if a player connects to a mission that's already in progress, then I'm not sure why that happens. It could be A server disk I/O issue. (Make sure the server isn't accessing the hard drives using legacy IDE mode and check the I/O load eg using the sysstat package (iostat tool) ) Name resolution problems - make sure DNS lookups work as they should. Something else - are there any strange kernel or system log messages? Share this post Link to post Share on other sites
Sekra 10 Posted February 3, 2010 just a quick tip that there is a shell script "somewhere in dev-heaven" in ACE2 project so you dont have to upload ACE files from your windows machine to the linux server.. all you need is rsync and maybe something else installed.. Share this post Link to post Share on other sites
WoODoO 10 Posted February 3, 2010 hello, in this case even though an admin on there is a delay line for the players start to go down the mission, or have a job such as CO40 domination west with ACE2, the mission has 2Mb and all the players already in the room where they choose the classes, after which they give an OK to start the mission Admin, that's where the problem is, it appears that the mission is downloading (0 to 2048) you download and it takes 1 minute average to begin the process. Not even know what I can do some DNS tests to see if it would be. ---------- Post added at 03:20 PM ---------- Previous post was at 03:18 PM ---------- just a quick tip that there is a shell script "somewhere in dev-heaven" in ACE2 project so you dont have to upload ACE files from your windows machine to the linux server.. all you need is rsync and maybe something else installed.. yes friend, I've tried it and as soon as this problem will solve it tnx Share this post Link to post Share on other sites