IP address error with linux server

Locked
elpresidente
Posts: 3
Joined: Thu Mar 17, 2005 2:59 am

IP address error with linux server

Post by elpresidente »

I've been working on getting a couple game server running on a linux box I have in the house. It's behind a router and port forwarding is set up. When I run

./q3ded +set net_ip 207.179.110.176 +set dedicated 2 +set fs_game westernq3 +set logfile 1 +set com_hunkmegs 16 +exec server.cfg

I get:

Code: Select all

Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/root/.q3a/westernq3
/home/quake3/westernq3/wq3_textures0.pk3 (628 files)
/home/quake3/westernq3/wq3_sounds0.pk3 (30 files)
/home/quake3/westernq3/wq3_pak1.pk3 (2 files)
/home/quake3/westernq3/wq3_pak0.pk3 (934 files)
/home/quake3/westernq3/wq3_maps1.pk3 (8 files)
/home/quake3/westernq3/wq3_maps0.pk3 (80 files)
/home/quake3/westernq3
./q3ded/westernq3
/root/.q3a/baseq3
/home/quake3/baseq3/pak8.pk3 (9 files)
/home/quake3/baseq3/pak7.pk3 (4 files)
/home/quake3/baseq3/pak6.pk3 (64 files)
/home/quake3/baseq3/pak5.pk3 (7 files)
/home/quake3/baseq3/pak4.pk3 (272 files)
/home/quake3/baseq3/pak3.pk3 (4 files)
/home/quake3/baseq3/pak2.pk3 (148 files)
/home/quake3/baseq3/pak1.pk3 (26 files)
/home/quake3/baseq3/pak0.pk3 (3539 files)
/home/quake3/baseq3
./q3ded/baseq3

----------------------
5755 files in pk3 files
execing default.cfg
com_zoneMegs will be changed upon restarting.
execing q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
logfile opened on Thu Mar 17 01:47:47 2005

Opening IP socket: 207.179.110.176:27960
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27961
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27962
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27963
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27964
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27965
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27966
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27967
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27968
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 207.179.110.176:27969
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Sys_Error: Couldn't allocate IP port
i am also having this problem with a call of duty server I set up but that works if I run it from root (bad idea). The Q3 server does not run from root or normal user.

Any suggestions?
signa
Posts: 162
Joined: Thu Sep 16, 2004 7:00 am

Post by signa »

try googling "UDP_OpenSocket" you'll probably find the answer there faster. :paranoid:
elpresidente
Posts: 3
Joined: Thu Mar 17, 2005 2:59 am

Post by elpresidente »

Thanks. I actually posted here after googling and trying different things for the last 2 days. I figure it has to do with how it binds an ip address with net_ip setting. Why is works with COD in root but nothing else, I don't know. I have googled every possible combination of the error message. So far I've tried to stick within gaming sites. I guess I'll have to post to some general linux boards.

Thanks for the time. If anyone else has a suggestion, I'd appreciate. I'll definately be coming back. This is a good board. Glad I found it.
elpresidente
Posts: 3
Joined: Thu Mar 17, 2005 2:59 am

Post by elpresidente »

Figured it out. With call of duty it was working with +set net_ip in the command line. I put it in the .cfg instead and ran from regular user and it worked fine. Knew it was something simple. Thanks for the help all.
HM-PuFFNSTuFF
Posts: 14375
Joined: Thu Mar 01, 2001 8:00 am

Post by HM-PuFFNSTuFF »

welcome to q3world :)
Locked