rivmin Posted May 27, 2002 Share Posted May 27, 2002 Hi. I run several JK2 servers on several machines. On one machine I have a problem....server stalls during startup: /home/rivmin/jk2: ./jk2ded +set net_port 28070 +exec server1.cfg JK2MP: v1.03a linux-i386 May 15 2002 Initialising zone memory ..... ----- FS_Startup ----- Current search path: /home/rivmin/.jkii/base /usr/home/rivmin/jk2/base/assets2.pk3 (289 files) /usr/home/rivmin/jk2/base/assets1.pk3 (8011 files) /usr/home/rivmin/jk2/base/assets0.pk3 (6674 files) /usr/home/rivmin/jk2/base ./jk2ded/base ---------------------- 14974 files in pk3 files execing mpdefault.cfg couldn't exec jk2mpserver.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok --- Common Initialization Complete --- Opening IP socket: localhost:28070 Hostname: 212.97.207.81 IP: 212.97.207.81 execing server1.cfg g_gametype will be changed upon restarting. sv_maxclients will be changed upon restarting. ------ Server Initialization ------ Server: ffa_bespin Hunk_Clear: reset the hunk ok - It just stalls here...but it makes the .jkii directory, but not the ./jkii/base and the files that should go on there. Permissions on .jkii seems like the other servers I am running: drwxr-xr-x 2 rivmin wheel 512 May 27 09:26 .jkii If I make the ./jkii/base manually and copy the files from other servers, it dosen't change anything. What am I missing ? Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 28, 2002 Share Posted May 28, 2002 Looks like you have a malformed map command at the end of your config. If you're using g_mapAutoCycle "1", you should have the following at the very end of the config: map ffa_bespin It looks like you might just have: ffa_bespin ..that's why the server "says" it at the end of your startup. You can test my theory by checking the server1.cfg or by just typing map ffa_bespin after the startup spam and see if it goes. You could post the whole config and let me look at it if you wish. Link to comment Share on other sites More sharing options...
rivmin Posted May 28, 2002 Author Share Posted May 28, 2002 Hi...thanx for your reply. On my other servers it will end with a 'send heartbeat to...', then I know that it's ok...but this one stalls on the ½ way Here is my cfg: //Server Information seta sv_hostname "WarGames #2 ^3Duel Saber Only" //As it appears in the server list seta g_motd "Welcome to WarGames" sets Administrator "rivmin" sets CPU "P4/2000" sets Email "rivmin@ultraviking.dk" sets Location "Denmark" //Gametype is 0 for FFA, 1 for Holocron FFA, 2 for Jedi Master, 3 for Duel, 5 for Team FFA, 7 for CTF, 8 for Capture the Ysalimari seta g_gametype "3" //Passwords seta rconpassword "blablabla" seta g_password "" seta sv_privatePassword "" //Voting seta g_allowVote "0" // Time & Frag Limits seta fraglimit "1" seta timelimit "20" seta duel_fraglimit "10" seta capturelimit "200" // Max Players and Saved Private Possitions seta sv_maxclients "4" seta g_maxGameClients "0" seta sv_privateClients "0" //MISC Settings seta g_forceRegenTime "200" seta g_spawnInvulnerability "3000" //3 second spawn invulerability seta g_forcePowerDisable "32765" seta g_weaponDisable "65531" seta g_saberInterpolate "1" seta g_privateDuel "1" //allows the issueing of private duel challenges seta g_saberLocking "1" seta g_maxForceRank "7" seta g_duelWeaponDisable "65531" seta g_dismember "100" // (0-->100 = Off-->full) seta sv_pure "1" set g_inactivity "0" //Logging seta g_log "server1.log" seta g_logSync "1" // 0=None, 1=Buffered, 2=Continuous, 3=Append // AntiFlooding Settings seta sv_floodProtect "1" //SMP support seta r_smp "0" // 0 = no, 1 = yes (Default: 0) // Downloads and ping/rate settings seta sv_allowDownload "0" seta sv_maxPing "300" seta sv_minPing "0" seta sv_maxRate "10000" //Memory Settings & FPS - Leave set as is seta com_hunkMegs "64" seta com_maxfps "85" //Allow MapCycling seta g_autoMapCycle "0" //Set Map List set m1 "set g_gametype 3; map duel_pit; set nextmap vstr m2" set m2 "set g_gametype 3; map duel_pit; set nextmap vstr m1" vstr m1 -- Strange...works like a charm on the other servers... I have also used this one: seta sv_hostname "UltraViking - JediKnight II" seta g_motd "Welcome to UltraViking" seta Administrator "UltraViking][Rivmin" seta Email "rivmin@ultraviking.dk" seta url "We fart in your general direction" seta Location "Denmark" seta rconpassword "blablabla" seta net_port "28070" // or whatever port you want seta g_gametype 1 //1 ffa, 2 holocron, 3 duel, 5 team ffa, 7 ctf, 8 cty set sv_pure 1 set sv_maxclients 16 set g_inactivity 0 set sv_maxRate 8000 set sv_maxping 250 set g_allowvote 1 set timelimit 20 set capturelimit 20 set g_autoMapCycle 1 seta sv_master1 "masterjk2.ravensoft.com" map ffa_bespin -- Same result...I think it's a permission or path problem. Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 28, 2002 Share Posted May 28, 2002 Hmm, right off the top I don't see anything that should be a problem. I suppose it could be a permission, but it appears that the server was able to read all 3 pk3 files and your config. After that, there isn't much else--except for the log file which should be in the user's home dir anyway. Hmm. What happens if you type status in the server console? Does it say "server not running" or does it display the current map and players (if any)? Link to comment Share on other sites More sharing options...
rivmin Posted May 31, 2002 Author Share Posted May 31, 2002 When I type 'status', nothing happens JK2MP: v1.03a linux-i386 May 15 2002 Initialising zone memory ..... ----- FS_Startup ----- Current search path: /home/rivmin/.jkii/base /usr/home/rivmin/jk2/base/assets2.pk3 (289 files) /usr/home/rivmin/jk2/base/assets1.pk3 (8011 files) /usr/home/rivmin/jk2/base/assets0.pk3 (6674 files) /usr/home/rivmin/jk2/base ./jk2ded/base ---------------------- 14974 files in pk3 files execing mpdefault.cfg couldn't exec jk2mpserver.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok --- Common Initialization Complete --- Opening IP socket: localhost:28070 Hostname: 212.97.207.81 IP: 212.97.207.81 execing server1.cfg g_gametype will be changed upon restarting. sv_maxclients will be changed upon restarting. ------ Server Initialization ------ Server: duel_pit Hunk_Clear: reset the hunk ok status -- Strange... Link to comment Share on other sites More sharing options...
MatrixCPA Posted June 1, 2002 Share Posted June 1, 2002 Just on an off chance, try this. Add the following to your command line: +set vm_game 0 It should be before you call your server.cfg. The only other thing I can think of might be that one or more of the pk3 files is corrupt? I could post the md5sums if you want to compare. Link to comment Share on other sites More sharing options...
rivmin Posted June 1, 2002 Author Share Posted June 1, 2002 Added '+set vm_game 0' before the server1.cfg, but with no luck...still stalls. MD5 (assets0.pk3) = bbd8243669d551c910cfe60ccb4e5edd MD5 (assets1.pk3) = e91efd51a8883b1c2590e8be7705877f MD5 (assets2.pk3) = 88369ad9f959cbe64a6d948f08305d20 Thanx for your help, MatrixCPA -- Btw...is this board quite unavailable/unstable/slow .... or is it my connection towards this board that is not good ? Link to comment Share on other sites More sharing options...
rivmin Posted June 5, 2002 Author Share Posted June 5, 2002 Hmm...this is now beginning to piss me off... I hoped that a reinstall of FreeBSD would help...but I have completely same result I have 3 physical servers located next to each other...same OS installed...same files....same cfg. I cannot get it to pass this point: JK2MP: v1.03a linux-i386 May 15 2002 Initialising zone memory ..... ----- FS_Startup ----- Current search path: /home/rivmin/.jkii/base /usr/home/rivmin/jk2/base/assets2.pk3 (289 files) /usr/home/rivmin/jk2/base/assets1.pk3 (8011 files) /usr/home/rivmin/jk2/base/assets0.pk3 (6674 files) /usr/home/rivmin/jk2/base ./jk2ded/base ---------------------- 14974 files in pk3 files execing mpdefault.cfg couldn't exec jk2mpserver.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok --- Common Initialization Complete --- Opening IP socket: localhost:28070 Hostname: rtfm.orangenet.dk Alias: rtfm IP: 212.97.207.81 execing server1.cfg g_gametype will be changed upon restarting. sv_maxclients will be changed upon restarting. ------ Server Initialization ------ Server: duel_jedi Hunk_Clear: reset the hunk ok ----here it stalls...nothing more happens. It makes the .jkii directory, but it's empty ? All my other servers continue in the start-up like this: JK2MP: v1.03a linux-i386 May 15 2002 Initialising zone memory ..... ----- FS_Startup ----- Current search path: /home/uv/.jkii/base /usr/home/uv/jk2/base/assets2.pk3 (289 files) /usr/home/uv/jk2/base/assets1.pk3 (8011 files) /usr/home/uv/jk2/base/assets0.pk3 (6674 files) /usr/home/uv/jk2/base ./jk2ded/base ---------------------- 14974 files in pk3 files execing mpdefault.cfg execing jk2mpserver.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok --- Common Initialization Complete --- Opening IP socket: localhost:28070 Hostname: uv.orangenet.dk Alias: uv IP: 212.97.205.11 usage: sets <variable> <value> execing server.cfg ------ Server Initialization ------ Server: duel_bespin Hunk_Clear: reset the hunk ok ----- FS_Startup ----- Current search path: /home/uv/.jkii/base /usr/home/uv/jk2/base/assets2.pk3 (289 files) /usr/home/uv/jk2/base/assets1.pk3 (8011 files) /usr/home/uv/jk2/base/assets0.pk3 (6674 files) /usr/home/uv/jk2/base ./jk2ded/base ---------------------- 29948 files in pk3 files Loading vm file vm/jk2mpgame.qvm. VM file jk2mpgame compiled to 2062270 bytes of code jk2mpgame loaded in 7321312 bytes on the hunk ------- Game Initialization ------- gamename: basejk gamedate: May 03 2002 ------------------------------------------------------------ InitGame: \dmflags\0\fraglimit\1\timelimit\20\g_privateDuel\1\g_saberLocking\1\g_maxForceRank\7\duel_fraglimit\10\g_forceBasedTeams\0\g_duelWeaponDisable\65531\g_gametype\3\sv_privateClients\0\sv_hostname\WarGames #1 ^3Duel Saber Only\sv_maxclients\4\sv_maxRate\10000\sv_minPing\0\sv_maxPing\300\sv_floodProtect\1\sv_allowDownload\0\capturelimit\200\g_maxGameClients\0\g_forceRegenTime\200\g_forcePowerDisable\32765\g_weaponDisable\65531\g_redteam\Empire\g_blueteam\Rebellion\version\JK2MP: v1.03a linux-i386 May 15 2002\g_maxHolocronCarry\3\g_needpass\0\protocol\15\mapname\duel_bespin\sv_allowAnonymous\0\Administrator\rivmin\CPU\Dual P3/1000\Email\rivmin@ultraviking.dk\Location\Denmark\mIRC\#ultraviking | quakenet\gamename\basejk\g_jediVmerc\0 Gametype changed, clearing session data. 0 teams with 0 entities 5 items registered ----------------------------------- ------- BotLib Initialization ------- 29 bots parsed 19 arenas parsed Duel Tournament Begun: kill limit 1, win limit: 10 ----------------------------------- Resolving masterjk2.ravensoft.com masterjk2.ravensoft.com resolved to 204.97.248.90:28060 Sending heartbeat to masterjk2.ravensoft.com Hitch warning: 1989 msec frame time [detached] -----and they run very smooth and all 7 servers are full every day ---------- I really don't know what more to do....new OS, new .pk3 files, checksum ok...yak. Link to comment Share on other sites More sharing options...
MatrixCPA Posted June 7, 2002 Share Posted June 7, 2002 The checksums look fine. Could it be a permission problem? Or perhaps a network problem? I noticed it's getting hung up right before it would initialize the NIC. Link to comment Share on other sites More sharing options...
rivmin Posted June 7, 2002 Author Share Posted June 7, 2002 Hi. Well...it's now up and running...3 servers full allready FreeBSD and JK2 would not do on this setup, so I have changed OS to RH7.3.....now it run's very smooooth. Strange that FreeBSD failed, especially when I use it on all other JK2-servers. Well..the important thing is...it's running now Thanx for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.