[bf1942] Failure to open ports

Sebastian Kleye sebastian.kleye at web.de
Thu Jan 2 10:12:40 EST 2003


Hi,

I do this by php code too, but I had to change the file permissions so my
"wwwrun" user could run the server. Ok, it always ran the server but the
permissions of the config files were wrong, so it loads with the default
config (32 players etc.).

hope this helps

Seb.

----- Original Message -----
From: "ScratchMonkey" <ScratchMonkey at SewingWitch.com>
To: "Battlefield 1942" <bf1942 at icculus.org>
Sent: Thursday, January 02, 2003 3:59 PM
Subject: [bf1942] Failure to open ports


> Using the xmas build, if I restart from the command line (ssh) the server
> starts pretty reliably, but if I restart from a webscript (PHP issuing
same
> command using sudo), the server exhibits the "trying to bind to
> 255.255.255.255" behavior. It only opens the remote admin port, but no
> GameSpy or player ports. I'm suspecting this is some kind of timing bug
> regarding restarts, perhaps with the sockets not getting shut down cleanly
> when a SIGTERM is received so they're not available immediately when it
> comes back up. (But I have a 6 second delay between stop and start and it
> still fails.)
>
> In my ServerSettings.con:
>
> game.serverInternet 1
> game.setServerIP 66.28.14.59
> game.setServerPort 14567
>




More information about the Bf1942 mailing list