Linux Dedicated Server Problems (looked EVERYWHERE)
Posted: Wed Aug 09, 2006 7:29 am
Ok, so I am setting up a dedicated server for q3a on my linux box just for fun.. When I run it, it all runs fine, i think (the stuff below is what goes on after my start command)
and my dedserver.cfg will be posted after the output all the way at the bottom
Once its up and all, I go to connect to it from my q3a client... and well... it just sits there.. and sits there.. and does nothing... (this is at the connecting screen) btw, i am using my server's internal IP.
I checked the netstat and the output is this (for the q3a server):
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode
udp 0 0 *:27960 *:* root 39579
^^^^ thats the only thing I see that is using the port 27960
now see that the state is not LISTENING.. So i have no clue whats going on... anyway here is this:
xorserv@xorserv:~/q3ds$ sudo ./linuxq3ded +set dedicated 2 +exec dedserver.cfg +exec gamecycle.config
Q3 1.11 linux-i386 Nov 24 1999
----- FS_Startup -----
Current search path:
/home/xorserv/.q3a/baseq3
./baseq3/pak0.PK3 (3539 files)
./baseq3
----------------------
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: localhost.localdomain
Alias: localhost
Alias: xorserv
IP: 127.0.0.1
dedicated is read only.
execing dedserver.cfg
------ Server Initialization ------
Server: q3dm7
Loading dll file qagame.
Failed to load dll, looking for qvm.
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1406264 bytes of code
------- Game Initialization -------
gamename: baseq3
gamedate: Nov 21 1999
Warning: cvar "dedicated" given initial values: "1" and "0"
------------------------------------------------------------
InitGame: \gamename\baseq3\sv_privateClients\0\mapname\q3dm7\protocol\43\g_gametype\0\version\Q3 1.11 linux-i386 Nov 24 1999\capturelimit\8\g_maxGameClients\0\sv_floodProtect\1\sv_maxRate\0\sv_maxclients\15\sv_hostname\noname\timelimit\0\fraglimit\10\dmflags\0
^[[Binfo_firstplace doesn't have a spawn function
info_secondplace doesn't have a spawn function
info_thirdplace doesn't have a spawn function
0 teams with 0 entities
20 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3dm7.aas
loaded maps/q3dm7.aas
camp spot at 1180.0 -148.0 188.0 in solid
found 65 level items
-------------------------------------
32 bots parsed
30 arenas parsed
AAS initialized.
-----------------------------------
execing gamecycle.config
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
AAS shutdown.
------ Server Initialization ------
Server: q3dm1
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1406264 bytes of code
------- Game Initialization -------
gamename: baseq3
gamedate: Nov 21 1999
Warning: cvar "dedicated" given initial values: "1" and "0"
------------------------------------------------------------
InitGame: \gamename\baseq3\bot_minplayers\0\sv_privateClients\0\mapname\q3dm1\protocol\43\g_gametype\0\version\Q3 1.11 linux-i386 Nov 24 1999\capturelimit\8\g_maxGameClients\0\sv_floodProtect\1\sv_maxRate\0\sv_maxclients\15\sv_hostname\noname\timelimit\0\fraglimit\10\dmflags\0
0 teams with 0 entities
12 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3dm1.aas
loaded maps/q3dm1.aas
found 18 level items
-------------------------------------
32 bots parsed
30 arenas parsed
AAS initialized.
-----------------------------------
Hitch warning: 591 msec frame time
Resolving master3.idsoftware.com
master3.idsoftware.com resolved to 192.246.40.56:27950
Sending heartbeat to master3.idsoftware.com
Hitch warning: 3580 msec frame time
Resolving authorize.quake3arena.com
authorize.quake3arena.com resolved to 192.246.40.56:27952
try moving the pin to Sending heartbeat to master3.idsoftware.com
Sending heartbeat to master3.idsoftware.com
********************
********************
********************
********************
********************
********************
set sv_hostname "Ubuntu YAY!"
set sv_maxclients 15
set g_motd "Sup?
"
set g_quadfactor 4
set g_weaponrespawn 1
set g_forcerespawn 0
set rconpassword "*******"
set d1 "map q3dm7 ; set nextmap vstr d2"
set d2 "map q3dm1 ; set nextmap vstr d3"
set d3 "map q3dm17 ; set nextmap vstr d4"
set d4 "map q3tourney2 ; set nextmap vstr d1"
vstr d1
and my dedserver.cfg will be posted after the output all the way at the bottom

Once its up and all, I go to connect to it from my q3a client... and well... it just sits there.. and sits there.. and does nothing... (this is at the connecting screen) btw, i am using my server's internal IP.
I checked the netstat and the output is this (for the q3a server):
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode
udp 0 0 *:27960 *:* root 39579
^^^^ thats the only thing I see that is using the port 27960
now see that the state is not LISTENING.. So i have no clue whats going on... anyway here is this:
xorserv@xorserv:~/q3ds$ sudo ./linuxq3ded +set dedicated 2 +exec dedserver.cfg +exec gamecycle.config
Q3 1.11 linux-i386 Nov 24 1999
----- FS_Startup -----
Current search path:
/home/xorserv/.q3a/baseq3
./baseq3/pak0.PK3 (3539 files)
./baseq3
----------------------
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: localhost.localdomain
Alias: localhost
Alias: xorserv
IP: 127.0.0.1
dedicated is read only.
execing dedserver.cfg
------ Server Initialization ------
Server: q3dm7
Loading dll file qagame.
Failed to load dll, looking for qvm.
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1406264 bytes of code
------- Game Initialization -------
gamename: baseq3
gamedate: Nov 21 1999
Warning: cvar "dedicated" given initial values: "1" and "0"
------------------------------------------------------------
InitGame: \gamename\baseq3\sv_privateClients\0\mapname\q3dm7\protocol\43\g_gametype\0\version\Q3 1.11 linux-i386 Nov 24 1999\capturelimit\8\g_maxGameClients\0\sv_floodProtect\1\sv_maxRate\0\sv_maxclients\15\sv_hostname\noname\timelimit\0\fraglimit\10\dmflags\0
^[[Binfo_firstplace doesn't have a spawn function
info_secondplace doesn't have a spawn function
info_thirdplace doesn't have a spawn function
0 teams with 0 entities
20 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3dm7.aas
loaded maps/q3dm7.aas
camp spot at 1180.0 -148.0 188.0 in solid
found 65 level items
-------------------------------------
32 bots parsed
30 arenas parsed
AAS initialized.
-----------------------------------
execing gamecycle.config
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
AAS shutdown.
------ Server Initialization ------
Server: q3dm1
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1406264 bytes of code
------- Game Initialization -------
gamename: baseq3
gamedate: Nov 21 1999
Warning: cvar "dedicated" given initial values: "1" and "0"
------------------------------------------------------------
InitGame: \gamename\baseq3\bot_minplayers\0\sv_privateClients\0\mapname\q3dm1\protocol\43\g_gametype\0\version\Q3 1.11 linux-i386 Nov 24 1999\capturelimit\8\g_maxGameClients\0\sv_floodProtect\1\sv_maxRate\0\sv_maxclients\15\sv_hostname\noname\timelimit\0\fraglimit\10\dmflags\0
0 teams with 0 entities
12 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3dm1.aas
loaded maps/q3dm1.aas
found 18 level items
-------------------------------------
32 bots parsed
30 arenas parsed
AAS initialized.
-----------------------------------
Hitch warning: 591 msec frame time
Resolving master3.idsoftware.com
master3.idsoftware.com resolved to 192.246.40.56:27950
Sending heartbeat to master3.idsoftware.com
Hitch warning: 3580 msec frame time
Resolving authorize.quake3arena.com
authorize.quake3arena.com resolved to 192.246.40.56:27952
try moving the pin to Sending heartbeat to master3.idsoftware.com
Sending heartbeat to master3.idsoftware.com
********************
********************
********************
********************
********************
********************
set sv_hostname "Ubuntu YAY!"
set sv_maxclients 15
set g_motd "Sup?

set g_quadfactor 4
set g_weaponrespawn 1
set g_forcerespawn 0
set rconpassword "*******"
set d1 "map q3dm7 ; set nextmap vstr d2"
set d2 "map q3dm1 ; set nextmap vstr d3"
set d3 "map q3dm17 ; set nextmap vstr d4"
set d4 "map q3tourney2 ; set nextmap vstr d1"
vstr d1