PDA

View Full Version : Cod4 linux server issue


Quidam
09-12-2009, 06:32 AM
Hi.

I've recently set up a cod4 server on my linux server.
However, when I run the command "./cod4_lnxded +exec config.cfg > server.log", I don't see any errors in the text or anything, but it doesn't really go as far as one would hope for.
It goes to "Punkbuster Server: Game version [.. 1.7 ..]" line and then it stops. I don't get a new command line, I have to press ctrl+c to be able to run a command.
Is this how it's supposed to work?

I can't find the server on lan or internet and I have opened all ports (udp+tcp 28960/28010/28000).

I'm using a config.cfg that is running on another functional server.
I changed the net_ip to mine and net_port to 28960.

Last screen: http://i31.tinypic.com/28s6710.jpg

Any help is greatly appreciated.

theMechanic
09-12-2009, 10:28 AM
im not a linux guru, but what does your command line look like?

Quidam
09-12-2009, 01:05 PM
With command line I mean when I get "hostname /etc/cod/ $".

But I solved it, silly me.
I read somewhere that I only needed to open UDP ports, but the server uses TCP as well.
And I thought I had opened for tcp, but apparently I forgot it for 28960.

And to get the command line open again I added a "&" at the end of the line to run it in the background, then pressed ctrl+c.

Linux.vx.xcod5
09-25-2009, 01:19 PM
run the command:
./cod4_lnxded +set dedicated 2 ....... +map_rotate >logs/server.log 2>&1 &