Jump to content
Sign in to follow this  
Emil

Linux dedicated error: Wait for host

Recommended Posts

Hello Friends,

I have a problem on a Ubuntu based Arma2 OA dedicated server (root server).

When joining as client I get the Wait for host message and nothing happens.

The server is running with mods(same mods are activated on client and dedicated server.

If I leave out the class mission comment in the server.cfg all is well and I can connect onto the server completely.

So I guess the error lies within the class mission comment in the server.cfg:

// MISSIONS CYCLE (see below) 
class Missions 
{
class COOP_co30_domi_2_57zoa_west_r_2.takistan
{
	template = MPE1_co30_domi_2_57zoa_west_r_2.takistan;
	difficulty="regular";
};
};

Please help.

Share this post


Link to post
Share on other sites

Run the "tolower" script to fix any files with capital letters then edit the class Missions to:

// MISSIONS CYCLE (see below) 
class Missions 
{
class MissionOne
{
	template = mpe1_co30_domi_2_57zoa_west_r_2.takistan;
	difficulty="regular";
};
};

Share this post


Link to post
Share on other sites

Excellent!

Thanks for answering.

I ran the ./tolower command.

All is lower cases now.

I will try your entry tonight, when coming home and report back.

Share this post


Link to post
Share on other sites

Ok got half a step further.

Now I see the server welcome messages and ping etc. and no black screen, but still get the Wait for host message.

arma2oa-2011-10-25-00-34-11-26.jpg

Another error message I have on the Linux dedicated root server is:

/arma2$ nohup: redirecting stderr to stdout

I don´t know if this is relevant.

Share this post


Link to post
Share on other sites
Hey Rexxexx,

I posted about the Wait for host problem on a Linux root server a second time but since double posts are not allowed on this forum the reply is still pending and awaits a moderators approval and they might still be sleeping or what.

So here is what I found out:

After changing the mission cycle, I got half a step further since I now see the splash screen and some server messages.

But still I have the Wait for host message

http://188.40.123.132/images/arma2oa-2011-10-25-00-34-11-26.jpg

Additionally I have the .../arma2$ nohup: redirecting stderr to stdout message after starting the dedicated server in the terminal, which I forgot to mention earlier. I don´t know if that matters much, as I read in another forum that his doesn´t matter.

I hope you can help me further and maybe you can post my quotation with your answer, so others may profit from a possible solution for this problem.

Big thanks in advance and all the best to you,

Emil

Hmm, I'm not sure but it seems like addon thing now. Maybe server side. Did you add the mod line in the arma2server file? Maybe try serving a mission with no mods and if that works then you know something is up with loading the mod. Also check your logfile. It should say what happened.

Edited by Foxhound
do not quote images!

Share this post


Link to post
Share on other sites

Well the server loads fine without this mission, meaning when I erase the class mission lines.

I have the same mod activated as the server:

ARMA_DIR=.../emil/drive_d/arma2/
CONFIG=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=4\;
CFG=basic.cfg
MOD=@CBA_V0.7.8\;@Module_Spiegel\;@Skripte_JTD_ClearHorizons\;@Mods_GDT\;@Mods_GLT\;@Sound_JSRS-E_V1.33\;@Sound_JSRS-V_V1.33\;@Sound_JSRS-VW_V1.33\;@Sound_JSRS-W_V1.33\;@Texturen\;@Waffen

The logfile says:

WATCHDOG (6654): [Tue Oct 25 22:43:35 CEST 2011] Starting server (port 2302)...
Item str_disp_server_control listed twice
22:43:52 Dedicated host created.
22:43:54 BattlEye Server: Initialized (v1.113)
22:43:54 Host identity created.
ArmA 2 OA Console version 1.59 : port 2302 - Sockets
22:44:35 Emil uses modified data file - Arma 2;Arma 2: Operation Arrowhead;Arma 2: British Armed Forces;Arma 2: Private
22:44:35 Player Emil connecting.
22:44:37 Player Emil connected (id=1293830).
22:44:42 Player Emil disconnected.
WATCHDOG (6654): [Tue Oct 25 22:44:57 CEST 2011] Server shutdown intentional, watchdog terminating

???

Share this post


Link to post
Share on other sites

post your server.cfg plz

Share this post


Link to post
Share on other sites

I wonder if the caps in your MOD line has anything to do with it? Thats one thing I'd try, all lowercase MOD names since they should be lowercase due to "tolower". Also don't delete your mission class just change the mission to a stock mission that has no Mods.

Share this post


Link to post
Share on other sites

Changing the mod names to lower letters didn´t in the arma2oaserver skript didn´t help, unfortunately.

I tried loading with a standard mission and it works fine:

class Missions
{
       class DM_Deathmatch
       {
               template = "MP_Deathmatch.Chernarus";
               difficulty = "recruit";/
       };

Trying the hand made mission in server.cfg entry doesn`t work, although it works fine on a Windows dedicated server, so the mission itself cannot be the problem either I think.

here complete server.cfg

//
// server.cfg
//
// comments are written with "//" in front of them.

// GLOBAL SETTINGS
hostname="North Brigade Dedicated";
// public server
// reportingIP="arma2pc.master.gamespy.com";
// Server Settings
disableVoN=0;
persistent=1;
DeathMessages=1;
NetStats=1;
VonID=1;
BattlEye=1;
Maxplayers=32;
voteThreshold=1;
voteMissionPlayers=0.33;
kickduplicate=0;
verifySignatures = 0;
equalModRequired=0;
onHackedData="kick (_this select 0)";
language="English";
adapter=-1;
3D_Performance=1.000000;
Resolution_W=0;
Resolution_H=0;
Resolution_Bpp=32;
viewDistance=10000;
terrainGrid=25;
MinBandwidth=10000000;
MaxBandwidth=100000000;
MaxMsgSend=512;
MaxSizeGuaranteed=1024;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.008;
MaxCustomFileSize=512000;

//Admin Settings
passwordAdmin="*****";
password="*****";
/*
If specified player connects/disconnects and player id are written to file.
log file is persistant and appends data on server restart.
*/
logfile="myserver.log";
//Server Tekst
motd[]=
{

"Willkommen auf dem North Brigade ArmA2 OA Dedicated Server",

"Viel Spass beim zocken",
};

// MISSIONS CYCLE (see below) 
class Missions 
{
class MissionOne
{
	template = mpe1_co30_domi_2_57zoa_west_r_2.takistan;
	difficulty="regular";
};
};

Share this post


Link to post
Share on other sites

Your MOTD has a trialing comma. You need to delete it, but since you said it works w the deathmatch nomod I guess thats not a big prob. Delete it anyways:


motd[]=
{

"Willkommen auf dem North Brigade ArmA2 OA Dedicated Server",

"Viel Spass beim zocken"
};

I'm trying to think of what it was because I had that prob a couple weeks ago. I'm almost positive it was a MOD that didn't load on the server side and when I tried to join it just sat there "Wait for Host". do you have any mission that only needs @cba and one other MOD? ie: Don't load too many MODS on the server. Err. Just do the MOTD comma fix and try less MODs and another Mission that requires the less MODs and we'll go from there.

Share this post


Link to post
Share on other sites

This is the real pbo name?

mpe1_co30_domi_2_57zoa_west_r_2.takistan

Share this post


Link to post
Share on other sites

Ok, deleted the comma for the server text, but unfortunately it didn´t help.

The mission file name is:

co30_domi_2_57zoa_west_r_2.takistan.pbo

Share this post


Link to post
Share on other sites

mate ... why do you not use the name then???

// MISSIONS CYCLE (see below) 
class Missions 
{
class MissionOne
{
	template = mpe1_co30_domi_2_57zoa_west_r_2.takistan;//<----- WRONG
	difficulty="regular";
};
};

Share this post


Link to post
Share on other sites

I have no idea in which format the mission cycle is written.

Unfortunately the examples in the internet are not at all clear and I haven found an example anywhere that said this just put the mission name here and that´s it.

I followed your tip and changed the mission cycle to:

// MISSIONS CYCLE (see below) 
class Missions 
{
class MissionOne
{
	template = co30_domi_2_57zoa_west_r_2.takistan;
	difficulty="regular";
};
};

Unfortunately the problem persists.

-------------------------------[some hours later]--------------------------------------

Ok I checked the log file again and now I find the following:

14:13:56 Player Emil connected (id=1293830).
14:13:56 Mission co30 Domination OA! West Revive [2.57z] read from bank.
Missing addons detected:
 LAV_25_OIF
 TGW_M2A2_Woodland
 bb_mercenary
 bmirrors
Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.LAV_25_OIF, TGW_M2A2_Woodland, bb_mercenary, bmirrors

I guess this means it´s a mod problem on the server.

So I will upload the mods again and check again.

P.S.:

I hope that by that time I´ll be able to make another post or that the moderators will pass on the post.

Edited by Emil

Share this post


Link to post
Share on other sites

After reuploading the mods and after checking the md5hash checksums of the files, shows the mods are not corrupted.

As said before the mission runs fine under a windows dedicated server.

So I guess it´s a linux dedicated server problem in combination with mods.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×