PDA

View Full Version : ERROR: UDP_OpenSocket: bind: Cannot assign requested address


dark20
04-28-2004, 07:01 AM
i get this when i try to start up my linux cod server. i use this to start it up:


./cod_lnxded +set dedicated 2 +exec myserver.cfg &


the config i use is this:


// This config was created with Call of Duty config maker 1.1f
// Author: Bell from the clan [WC-anka]. Visit http://bunbun.milliways.st/
//
// Server information (public)
set sv_hostname "Fatal Nature Private Server"
set scr_motd ""
sets .Admin ""
sets .Email ""
sets .Irc ""
sets .Website "http://www.teamfn.com"
sets .Location " "
//
// Server options
set sv_pure "1"
set rconpassword "****"
set g_password "*****"
set sv_privatepassword ""
set sv_privateclients "0"
set sv_maxclients "16"
set sv_allowdownload "1"
set sv_cheats "0"
set g_log "games_mp.log"
set g_logsync "0"
set g_banips ""
set sv_kickbantime "300"
set sv_fps "20"
set sv_allowanonymous "0"
set sv_floodprotect "1"
//
// Network options
set net_ip "66.xxx.xxx.141"
set net_port "28960"
set sv_maxrate "100000"
set sv_maxping "250"
set sv_minping "0"
//
// Game options
set g_gametype "sd"
set g_allowvote "0"
set scr_allow_vote "0"
set scr_drawfriend "1"
set scr_forcerespawn "0"
set scr_friendlyfire "0"
set scr_killcam "0"
set scr_freelook "0"
set scr_spectateenemy "0"
set scr_teambalance "0"
//
// Deathmatch
set scr_dm_scorelimit "50"
set scr_dm_timelimit "30"
//
// Team Deathmatch
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "30"
//
// Behind Enemy Lines
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"
set scr_bel_alivepointtime "10"
//
// Retrieval
set scr_re_scorelimit "10"
set scr_re_timelimit "0"
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_showcarrier "0"
//
// Search and Destroy
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
//
// Headquarters
set scr_hq_scorelimit "450"
set scr_hq_timelimit "30"
//
// Map rotation (sv_maprotation)
set sv_maprotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_pavlov gametype sd map mp_powcamp gametype sd map mp_railyard"
//
// American Weapons
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_thompson "1"
set scr_allow_bar "1"
//
// British Weapons
set scr_allow_enfield "1"
set scr_allow_sten "1"
set scr_allow_bren "1"
set scr_allow_springfield "1"
//
// German Weapons
set scr_allow_kar98k "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_kar98ksniper "1"
//
// Russian Weapons
set scr_allow_nagant "1"
set scr_allow_ppsh "1"
set scr_allow_nagantsniper "1"
//
// Other Weapons
set scr_allow_fg42 "0"
set scr_allow_panzerfaust "0"



i do have all my ip addresses binded to my nic card so i know that cant be it, i also tried using my main ip address. that didnt work either.

it also trys every possible port that cod has.. heres a paste from the console.


[root@unknown cod]# ./cod_lnxded +set dedicated 2 +exec myserver.cfg &
[1] 7317
COD MP 1.4 build linux-i386 Apr 14 2004
----- FS_Startup -----
[root@unknown cod]# Current search path:
/root/.callofduty/main
/home/cod/main/zzzpam_sounds.pk3 (12 files)
/home/cod/main/zzzpamv105beta2_ugs_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_twlleague_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_twlladder_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_sta_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_sotf_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_sg_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_sd.pk3 (20 files)
/home/cod/main/zzzpamv105beta2_public_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_ogl_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_gotfrag_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_ga_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_cbopencup_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_cbladder_rules.pk3 (4 files)
/home/cod/main/zzzpamv105beta2_cal_rules.pk3 (4 files)
/home/cod/main/paka.pk3 (41 files)
/home/cod/main/pak9.pk3 (149 files)
/home/cod/main/pak8.pk3 (235 files)
/home/cod/main/pak0.pk3 (12816 files)
/home/cod/main

File Handles:
----------------------
13325 files in pk3 files
execing default_mp.cfg
execing myserver.cfg
couldn't exec language.cfg
execing config_mp_server.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
Opening IP socket: 66.xxx.xxx.141:28960
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28961
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28962
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28963
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28964
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28965
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28966
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28967
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28968
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 66.xxx.xxx.141:28969
ERROR: UDP_OpenSocket: bind: Cannot assign requested address
Hunk_Clear: reset the hunk ok
Sys_Error: Couldn't allocate IP port

imported_Eroc
04-28-2004, 11:08 AM
Typically I would say those ports are in use... at least that is why you get that message most of the time.

As for all of the ports doing that? Try something like 30000 and see if does the same thing... if so reboot the server and try again.

Never heard of every port being in use unless it was some kind of hardware or software problem other than COD. Have you checked for viruses?

Eroc

dark20
04-28-2004, 04:56 PM
still doesnt work by adding a different set of port numbers.. umm i dont think its a virus though..

Glanzer
04-30-2004, 04:46 PM
so when you enter the command "ifconfig" from a command prompt, you definitely see the 66.xxx.xxx.141 IP that you're using in your CoD cfg file?

dark20
04-30-2004, 05:41 PM
bah, im a moron i mistyped my ip address wrong.. but thanks for the correct anwser :)