Help - Search - Members - Calendar
Full Version: A Bit Baffled
Unknown Worlds Forums > Natural Selection > Natural Selection Discussion > General Server Discussion > Linux Server Support
MightyMooquack
I recently set up a FreeBSD box to turn into an NS server. (If you caught my earlier post asking if a P3 450 MHz was fast enough, this is another, faster computer.)

I have a little script for starting the server called "run," which reads:

CODE
./hlds_run -game ns +ip xxx.xxx.xxx.xxx -port 27017 +maxplayers 20


... where xxx.xxx.xxx.xxx is my external IP addess. When I try to start the server, I get this:

CODE
Auto detecting CPU
Using AMD Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/usr/home/steam/hlds_l/./valve/SAVE
scandir failed:/usr/home/steam/hlds_l/./platform/SAVE
Protocol version 47
Exe version 1.1.2.0/Stdio (valve)
Exe build: 02:38:45 Jul  7 2004 (2738)
STEAM Auth Server
couldn't exec language.cfg
WARNING: UDP_OpenSocket: port: 27017  bind: Cannot assign requested address
FATAL ERROR (shutting down): Couldn't allocate dedicated server IP port 27017.
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sun Oct  3 14:56:09 PDT 2004: Server restart in 10 seconds
Sun Oct  3 14:56:10 PDT 2004: Server Quit


My network setup is simple: I have one static IP, a firewall/NAT box running OpenBSD, and several computers behind it on the internal network on the 192.168.0.xxx subnet; the NS server is 192.168.0.3.

The firewall is configured to forward all TCP and UDP packets on port 27017 to the NS server.

Any ideas?
Vadakill
You sure nothing else is using that port? Check your running processes and make sure you kill all previous HLDS processes before you try again. Also, you may want to specify a map on that command line.

./hlds_run -game ns +exec server.cfg +ip xxx.xxx.xxx.xxx +port 27017 +maxplayers 12 +map ns_nancy
MightyMooquack
The "run" script now reads:

CODE
./hlds_run -game ns +exec server.cfg +ip xxx.xxx.xxx.xxx -port 27017 +maxplayers 20 +map ns_nancy


The output is exactly the same.

QUOTE
You sure nothing else is using that port? Check your running processes and make sure you kill all previous HLDS processes before you try again.


Yes, quite sure. And "ps -ax" reveals no errant processes.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.