Contra 10 Posted June 28, 2012 Hello everyone, sorry for yet another post on my failings as a server admin. ok so I tried to update my server with the latest beta patch by copying over the expansions folder from my client. in the process I did a small cleanup of additional mods I was not using on the server (bad idea I guess) the server was working fine before , but now it wont start, or at least its not showing up in the multyplayer browser. I've check the log and it seems to be getting an error, saying "Cannot start host on port 2302." any help would be appreciated, id rather not do a full wipe and reinstall, but I'm considering it. here is the log file WATCHDOG (3199): [Thu Jun 28 05:30:14 UTC 2012] Starting server (port 2302)... Updating base class ->TK_WarfareBVehicleServicePoint_Base_EP1, by praa\praa_gameplaystatics\config.bin/CfgVehicles/PRAA_VehicleServicePoint_East_D/ Updating base class ->House_EP1, by ca\structures_e\wall\wall_l\config.bin/CfgVehicles/Land_Wall_L_Mosque_2_EP1/ Updating base class ->House_EP1, by ca\structures_e\wall\wall_l\config.bin/CfgVehicles/Wall_L_2m5_EP1/ Updating base class ->RscText, by ca\ui\config.bin/RscLine/ Updating base class ->RscShortcutButton, by ca\ui\config.bin/RscDisplayMissionEditor/Controls/CA_B_Load/ Updating base class ->CA_B_Load, by ca\ui\config.bin/RscDisplayMissionEditor/Controls/CA_B_Save/ Updating base class ->Default, by ca\weapons\config.bin/CfgMagazines/CA_Magazine/ Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/ Updating base class ->ItemCore, by ca\weapons\config.bin/cfgWeapons/EvMap/ Updating base class ->ItemCore, by ca\weapons\config.bin/cfgWeapons/EvMoscow/ Updating base class ->USBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/USLaunchersBox/ Updating base class ->USBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/USOrdnanceBox/ Updating base class ->USBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/USBasicWeaponsBox/ Updating base class ->USBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/USSpecialWeaponsBox/ Updating base class ->USBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/USVehicleBox/ Updating base class ->RUBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/RUSpecialWeaponsBox/ Updating base class ->RUBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/RUVehicleBox/ Updating base class ->ReammoBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/LocalBasicAmmunitionBox/ Updating base class ->LocalBasicAmmunitionBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/LocalBasicWeaponsBox/ Updating base class ->GuerillaCacheBox, by ca\weapons\ammoboxes\config.bin/cfgVehicles/SpecialWeaponsBox/ Updating base class ->ReammoBox_EP1, by ca\weapons_e\ammoboxes\config.bin/cfgVehicles/Bag_Base_EP1/ Updating base class ->Bag_Base_EP1, by ca\weapons_e\ammoboxes\config.bin/cfgVehicles/Weapon_Bag_Base_EP1/ Updating base class ->Bag_Base_EP1, by ca\weapons_e\ammoboxes\config.bin/cfgVehicles/CZ_Backpack_EP1/ Updating base class ->Bag_Base_EP1, by ca\weapons_e\ammoboxes\config.bin/cfgVehicles/CZ_VestPouch_EP1/ Updating base class ->ReammoBox_EP1, by ca\weapons_e\ammoboxes\config.bin/cfgVehicles/USBasicAmmunitionBox_EP1/ Updating base class ->ReammoBox_EP1, by ca\weapons_e\ammoboxes\config.bin/cfgVehicles/TKBasicAmmunitionBox_EP1/ Updating base class SentCmdHeal->SentCmdHeal, by praa\praa_radiosilence\config.bin/RadioProtocolEN/SentCmdHealSomeone/ Updating base class SentCmdHeal->SentCmdHeal, by praa\praa_radiosilence\config.bin/RadioProtocolEN/SentCmdHealSelf/ Updating base class ->Fort_Crate_wood, by praa\PRAA_crate\config.bin/CfgVehicles/PRAA_WoodenBox_1/ Updating base class ->PRAA_WoodenBox_1, by praa\PRAA_crate\config.bin/CfgVehicles/PRAA_WoodenBox_1b/ Updating base class ->PRAA_military_container_base, by praa\PRAA_crate\config.bin/CfgVehicles/PRAA_green_military_container/ Updating base class ->PRAA_military_container_base, by praa\PRAA_crate\config.bin/CfgVehicles/PRAA_grey_military_container/ Updating base class ->NonStrategic, by ca\misc3\config.bin/CfgVehicles/Land_HBarrier_large/ Updating base class ->Land_BagFenceCorner, by ca\misc3\config.bin/CfgVehicles/Land_BagFenceLong/ Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_fort_rampart/ Updating base class ->NonStrategic, by ca\misc3\config.bin/CfgVehicles/Fort_Crate_wood/ Updating base class ->Thing, by ca\misc3\config.bin/CfgVehicles/Misc_thing/ Updating base class ->BarrelBase, by ca\misc3\config.bin/CfgVehicles/Barrels/ Updating base class ->FlagCarrier, by ca\misc3\config.bin/CfgVehicles/FlagCarrierUSA/ Updating base class ->FlagCarrierUSA, by ca\misc3\config.bin/CfgVehicles/FlagCarrierRU/ Updating base class ->FlagCarrierUSA, by ca\misc3\config.bin/CfgVehicles/FlagCarrierGUE/ Updating base class ->Misc_thing, by ca\misc3\config.bin/CfgVehicles/Fuel_can/ Updating base class ->Thing, by ca\misc3\config.bin/CfgVehicles/Land_Pneu/ Updating base class ->Thing, by ca\misc3\config.bin/CfgVehicles/Small_items/ Updating base class ->Small_items, by ca\misc3\config.bin/CfgVehicles/SatPhone/ Updating base class ->Strategic, by ca\misc3\config.bin/CfgVehicles/Camp_base/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_cargo_cont_small/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_cargo_cont_small2/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_cargo_cont_tiny/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_cargo_cont_net1/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_cargo_cont_net2/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_cargo_cont_net3/ Updating base class ->Military_Item_NoInteractive, by ca\misc3\config.bin/CfgVehicles/Misc_Backpackheap/ Updating base class ->Grave, by ca\misc3\config.bin/CfgVehicles/Body/ Updating base class ->House_EP1, by ca\structures_e\misc\misc_market\config.bin/CfgVehicles/Land_transport_crates_EP1/ Updating base class ->Base_WarfareBVehicleServicePoint, by ca\misc3\wf\config.bin/CfgVehicles/USMC_WarfareBVehicleServicePoint/ Updating base class ->House, by ca\misc3\wf\config.bin/CfgVehicles/Base_WarfareBBarrier5x/ Updating base class ->Base_WarfareBBarrier5x, by ca\misc3\wf\config.bin/CfgVehicles/Base_WarfareBBarrier10x/ Updating base class ->Base_WarfareBBarrier5x, by ca\misc3\wf\config.bin/CfgVehicles/Base_WarfareBBarrier10xTall/ Updating base class ->Misc_cargo_cont_small, by ca\misc_e\config.bin/CfgVehicles/Misc_cargo_cont_small_EP1/ Updating base class ->Military_Item_NoInteractive, by ca\misc_e\config.bin/CfgVehicles/AmmoCrate_NoInteractive_Base_EP1/ Updating base class ->Strategic, by ca\misc_e\config.bin/CfgVehicles/Land_Fuel_tank_stairs_ep1/ Updating base class ->Misc_Backpackheap, by ca\misc_e\config.bin/CfgVehicles/Misc_Backpackheap_EP1/ Updating base class ->Thing, by ca\misc_e\config.bin/CfgVehicles/ClutterCutter_EP1/ Updating base class ->Base_WarfareBVehicleServicePoint, by ca\misc_e\wf\config.bin/CfgVehicles/US_WarfareBVehicleServicePoint_Base_EP1/ Updating base class ->NonStrategic, by ca\mp_armory\misc\info_board\config.bin/CfgVehicles/Info_Board_EP1/ Updating base class AnimationSources->AnimationSources, by praa\praa_vehicles\config.bin/CfgVehicles/BRDM2_Base/AnimationSources/ Updating base class Turrets->Turrets, by praa\praa_vehicles\config.bin/CfgVehicles/BRDM2_Base/Turrets/ Updating base class Turrets->Turrets, by praa\praa_vehicles\config.bin/CfgVehicles/LandRover_SPG9_Base_EP1/Turrets/ Updating base class MainTurret->MainTurret, by praa\praa_vehicles\config.bin/CfgVehicles/LandRover_SPG9_Base_EP1/Turrets/MainTurret/ 5:30:24 Dedicated host created. 5:30:25 Cannot start host on port 2302. my startup script #!/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/armaserver/server/arma2co CONFIG=../configs/rggserver.cfg #Relative to server binary!!! BE_DIR=/home/armaserver/server/battleye/ PROFILES_DIR=../configs #doesn't work PROFILE=prserver PORT=2302 MOD=@pr PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/a2oaserver OTHERPARAMS="-beta=expansions/beta -cpucount=4 -maxmem=2048" #======================================================================= 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} -bepath=${BE_DIR} -profiles=${PROFILES_DIR} -name=${PROFILE} -mod=${MOD} ${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 and my server.cfg // This is a recommended server config for PR ArmA2 0.15 BETA // // GLOBAL SETTINGS hostname="[RGG] rggprclan.com - Official PR v0.15 Beta Test Server [@PR 0.15]"; // replace MyCommunity with your specifics and do not remove the [@PR 0.15] filter password=""; // Ensure server is passworded until release time (18:00 PRT/UTC Friday 16th April) passwordAdmin="*****"; // Change as required reportingIP="arma2oapc.master.gamespy.com"; logFile="server_console.log"; maxPlayers=100; // All PR missions are 50v50 Kickduplicate=0; // WELCOME MESSAGE - Change as required motd[]={ "Welcome to the RGG PR Server", "Join our Teamspeak", "85.25.99.104", "or visit our forums", "http://www.rggprclan.com/rggforum/", }; motdInterval=1; // VOTING - RECOMMENDED to allow players to change to smaller mission (if no admin present) voteMissionPlayers=1; voteThreshold=0.25; // INGAME SETTINGS disableVoN=0; vonCodecQuality=7; persistent=0; // MANDATORY - mission ends if all players leave battlEye=1; // MANDATORY for all PR servers // equalModRequired=1; // SCRIPTING ISSUES // regularCheck=""; // some ArmA specific stuff - signature verification verifySignatures=1; // MANDATORY - do not set to 0 or 1 onUnsignedData = "kick (_this select 0)"; onHackedData = "kick (_this select 0)"; onDifferentData = ""; // JOINING RULES checkfiles[]={ }; /* ********************************************************************* MISSIONS AAS=Advance & Secure AAD=Attack & Defend CI = Counter Insurgency T=Tiny S=Small M=Medium L=Large All missions MUST be set to Mercenary difficulty or the mission will end Tiny or Small missions are recommended for seeding/low player counts. ********************************************************************* */ class Missions { class Eagle_Claw_AAS_L { template = "praa_eagle_claw.zargabad"; difficulty = "mercenary"; }; class First_Light_AAS_T { template = "praa_first_light.takistan"; difficulty = "mercenary"; }; class Taking_Candy_AAS_S { template = "praa_taking_candy.takistan"; difficulty = "mercenary"; }; class Zargabad_Uprising_CI_L { template = "praa_zargabad_uprising.zargabad"; difficulty = "mercenary"; }; class Iron_Forge_AAD_L { template = "praa_iron_forge.takistan"; difficulty = "mercenary"; }; class Portside_AAD_L { template = "praa_portside.chernarus"; difficulty = "mercenary"; }; class Battle_for_Rasman_AAS_M { template = "praa_battle_for_rasman.takistan"; difficulty = "mercenary"; }; class FeruzAbad_Resistance_AAD_S { template = "praa_feruzabad_resistance.takistan"; difficulty = "mercenary"; }; class Green_Zone_CI_L { template = "praa_green_zone.takistan"; difficulty = "mercenary"; }; class SerpentsSpine_AAS_M { template = "praa_serpents_spine.takistan"; difficulty = "mercenary"; }; class Sisyphus_AAS_L { template = "praa_sisyphus.takistan"; difficulty = "mercenary"; }; class Strength_and_Honor_AAD_M { template = "praa_strength_and_honour.takistan"; difficulty = "mercenary"; }; class Endless_Blood_CI_M { template = "praa_endless_blood.takistan"; difficulty = "mercenary"; }; class Battle_for_Sobor_AAS_M { template = "praa_battle_for_sobor.chernarus"; difficulty = "mercenary"; }; class Operation_Chainsaw_AAS_S { template = "praa_chainsaw.chernarus"; difficulty = "mercenary"; }; class Gorka_AAS_M { template = "praa_gorka.chernarus"; difficulty = "mercenary"; }; class Take_Down_AAD_S { template = "praa_takedown.chernarus"; difficulty = "mercenary"; }; class Electricity_AAS_M { template = "praa_electricity.chernarus"; difficulty = "mercenary"; }; }; Share this post Link to post Share on other sites
killswitch 19 Posted June 28, 2012 Hello everyone, sorry for yet another post on my failings as a server admin. ok so I tried to update my server with the latest beta patch by copying over the expansions folder from my client. in the process I did a small cleanup of additional mods I was not using on the server (bad idea I guess) the server was working fine before , but now it wont start, or at least its not showing up in the multyplayer browser. I've check the log and it seems to be getting an error, saying "Cannot start host on port 2302." Most likely, there's already a server running on that port. Sometimes, "arma2server stop" doesn't actually stop a running Arma server. When the Arma server is running you'll find two processes related to it: The server itself ( For example a process named /home/armaserver/server/arma2co/a2oaserver ) The watchdog script ( Process name has something like "./arma2server watchdog" in it) If these two are not gone after you have run "./arma2server stop", kill them manually. Share this post Link to post Share on other sites
Contra 10 Posted July 5, 2012 Most likely, there's already a server running on that port. Sometimes, "arma2server stop" doesn't actually stop a running Arma server. When the Arma server is running you'll find two processes related to it: The server itself ( For example a process named /home/armaserver/server/arma2co/a2oaserver ) The watchdog script ( Process name has something like "./arma2server watchdog" in it) If these two are not gone after you have run "./arma2server stop", kill them manually. Thanks, that was it I just needed to stop the running process Share this post Link to post Share on other sites