Jump to content

Home

Linux 1.03a dedicated Server. IP bind and Seg Fault (good details)


darcym

Recommended Posts

Hi all,

 

I'll outline the system then the provblem. Hopefully someone will be able to help.

 

I am running Redhat Linux 7.3

Using Default Kernel 2.4.18-3

I have 1 gig of Ram.

I have an Athalon 1.4 gig Thunder Bird Processor.

a Voodoo 3 16 Meg Video Card.

Drive space is over 200 gig

 

I am running on the system

KDE3 (compiled from source)

qmail (compiled from source)

apache 1.3.26 (compiled from source)

php 4.1.1 (compiled from source)

and mysql 3.2.24 (compiled from source)

 

 

I am trying to run as a normal user from the users $HOME dir the linux ded server 1.03a

 

I have copied the base dir of the CD to ~/jedi_knight_ii_server/base

 

do ls -alr * looks like this.

 

-rw-rw-rw- 1 jedi users 2309 Mar 26 20:05 server options.txt

-rw-r--r-- 1 jedi users 2145 Jun 30 11:12 server.cfg

-rw-rw-rw- 1 jedi users 2877 May 15 19:05 readme.txt

-rw-r--r-- 1 jedi users 577382 Jun 28 18:03 jk2linuxded103a.zip

-rwxrwxr-x 1 jedi users 1370184 May 1 00:58 jk2ded

-rw-r--r-- 1 jedi users 0 Jun 30 11:10 jedi_startup.log

-rw-rw-rw- 1 jedi users 20480 Mar 25 16:54 Disclaimer-Jedi Outcast-Linux Dedicated Server Binary.doc

 

base:

total 607980

-rw-rw-rw- 1 jedi users 2145 Jun 30 11:06 server.cfg

-r-xr-xr-x 1 jedi users 86950705 Jun 28 18:11 assets1.pk3

-r-xr-xr-x 1 jedi users 534984353 Jun 28 18:10 assets0.pk3

drwxr-xr-x 3 jedi users 4096 Jun 30 11:42 ..

drwxr-xr-x 2 jedi users 4096 Jul 1 13:34 .

 

 

As you can see all is there.

 

My server config looks like this.

 

 

//-SET SECTION----

set g_motd "Welcome to Linux 1.03 Server. %100 Free. Contact via mail or MSN hugo_horse@hotmail.com for any requests"

set net_ip 217.34.194.218

set net_port 28070

set g_gametype "1"

 

//--SETA SECTION---------

seta sv_hostname "Alesi - UK Linux 1.03 Server %100"

seta rconpassword "blah"

seta sv_maxclients 8

 

//--Private Server Section----

//seta g_needpass "1"

//seta g_password "letmein"

 

//--SETA SECTION Continue---

seta g_gametype "0"

seta g_timeouttospec "30"

seta g_privateDuesl "1"

seta g_maxForceRank "7"

seta g_allowVote "1"

seta g_filterBan "1"

seta g_banIPs ""

seta g_statLogFile "statlog.log"

seta g_statLog "1"

seta g_logSync "0"

seta g_log "games.log"

seta g_saberInterpolate "1"

seta g_sabreLock "1"

seta g_forcePowerDisable "1"

seta g_spawnInvulnerability "3000"

seta g_teamForceBalance "0"

seta g_teamAutoJoin "1"

seta g_friendlySaber "0"

seta g_friendlyFire "0"

seta g_forceRegenTime "0"

seta g_autoMapCycle "1"

seta net_noipx "1"

seta net_noudp "0"

seta sv_floodProtect "1"

seta sv_maxPing "300"

seta sv_minPing "0"

seta sv_maxRate "10000"

seta timelimit "20"

seta fraglimit "20"

 

//---MISC------------

//set sv_zone Duel

//set sv_timeout 15

//set timelimit "20"

//set fraglimit "20"

set logfile "0"

set sv_master! "masterjk2.ravensoft.com"

//---MISC TESTING TO KEEP---

//seta g_maxGameClients "0"

//seta g_weaponDisable "1"

//seta g_duelWeaponDisable "1"

seta g_saberLocking "1"

seta g_privateDuel "1"

seta g_saberAutoAim "1"

seta g_saberAnimSpeed "1"

seta g_saberMoveSpeed "1"

seta g_saberRealisticCombat "1"

seta g_saberAutoBlocking "1"

seta g_subtitles "2"

seta g_dismemberProbabilities "3"

seta g_dismemberment "1"

seta g_warmup "5"

 

// Map Rotation

set d1 "map ctf_yavin ; set nextmap vstr d2"

set d2 "map ffa_ns_hideout ; set nextmap vstr d3"

set d3 "map ctf_bespin ; set nextmap vstr d4"

set d4 "map ffa_ns_streets; set nextmap vstr d5"

set d5 "map duel_pit ; set nextmap vstr d6"

set d6 "map ffa_raven ; set nextmap vstr d7"

set d7 "map ffa_bespin ; set nextmap vstr d1"

 

map ffa_bespin

 

 

AS you can see I have set

set net_ip 217.34.194.218

to my Internet facing IP address (I have an internal card and an external card)

 

however when I start up the server with the command.

./jk2ded +exec server.cfg

 

I get this load of rubbish and a seg fault.

Also please note the IP address and host name is uses when starting, this is the internal lan card details even thought the server.cfg tells it to use a different address.

 

 

 

JK2MP: v1.03a linux-i386 May 15 2002

Initialising zone memory .....

----- FS_Startup -----

Current search path:

/home/jedi/.jkii/base

/home/jedi/jedi_knight_ii_server/base/assets1.pk3 (8011 files)

/home/jedi/jedi_knight_ii_server/base/assets0.pk3 (6674 files)

/home/jedi/jedi_knight_ii_server/base

./jk2ded/base

 

----------------------

14685 files in pk3 files

execing mpdefault.cfg

couldn't exec jk2mpserver.cfg

couldn't exec autoexec.cfg

Hunk_Clear: reset the hunk ok

 

[jedi@jordan jedi_knight_ii_server]$ ./jk2ded +exec server.cfg

JK2MP: v1.03a linux-i386 May 15 2002

Initialising zone memory .....

----- FS_Startup -----

Current search path:

/home/jedi/jkii/base

/home/jedi/jedi_knight_ii_server/base/assets1.pk3 (8011 files)

/home/jedi/jedi_knight_ii_server/base/assets0.pk3 (6674 files)

/home/jedi/jedi_knight_ii_server/base

./jk2ded/base

 

----------------------

14685 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: jordan.no-dns.co.uk

Alias: jordan

IP: 10.11.216.13

execing server.cfg

g_gametype will be changed upon restarting.

------ Server Initialization ------

Server: ffa_bespin

Hunk_Clear: reset the hunk ok

----- FS_Startup -----

Current search path:

/home/jedi/.jkii/base

/home/jedi/jedi_knight_ii_server/base/assets1.pk3 (8011 files)

/home/jedi/jedi_knight_ii_server/base/assets0.pk3 (6674 files)

/home/jedi/jedi_knight_ii_server/base

./jk2ded/base

 

----------------------

29370 files in pk3 files

Loading vm file vm/jk2mpgame.qvm.

VM file jk2mpgame compiled to 1926381 bytes of code

jk2mpgame loaded in 7117280 bytes on the hunk

------- Game Initialization -------

gamename: basejk

gamedate: Mar 04 2002

------------------------------------------------------------

InitGame: \version\JK2MP: v1.03a linux-i386 May 15 2002\dmflags\0\fraglimit\20\timelimit\20\g_maxHolocronCarry\3\g_privateDuel\1\g_saberLocking\1\g_maxForceRank\7\duel_fraglimit\10\g_forceBasedTeams\0\g_duelWeaponDisable\1\g_gametype\1\g_needpass\0\protocol\15\mapname\ffa_bespin\sv_privateClients\0\sv_hostname\Alesi - UK Linux 1.03 Server %100\sv_maxclients\8\sv_maxRate\10000\sv_minPing\0\sv_maxPing\300\sv_floodProtect\1\sv_allowAnonymous\0\sv_allowDownload\0\g_forcePowerDisable\1\g_forceRegenTime\0\gamename\basejk\g_maxGameClients\0\g_weaponDisable\0\capturelimit\8\g_redteam\Empire\g_blueteam\Rebellion

Gametype changed, clearing session data.

Segmentation fault

 

 

 

Sorry for how long this message is but I wanted to put in all details.

 

thanks,

 

Matt.

Link to comment
Share on other sites

Thanks for the quick response and file.

The server appears to be starting up ok.

 

I am getting a lag at this point though

 

 

InitGame: \version\JK2MP: v1.03a linux-i386 May 15 2002\dmflags\0\fraglimit\20\timelimit\20\g_maxHolocronCarry\3\g_privateDuel\1\g_saberLocking\1\g_maxForceRank\7\duel_fraglimit\10\g_forceBasedTeams\0\g_duelWeaponDisable\1\g_gametype\1\g_needpass\0\protocol\15\mapname\ffa_bespin\sv_privateClients\0\sv_hostname\Alesi - UK Linux 1.03 Server %100\sv_maxclients\8\sv_maxRate\10000\sv_minPing\0\sv_maxPing\300\sv_floodProtect\1\sv_allowAnonymous\0\sv_allowDownload\0\g_forcePowerDisable\1\g_forceRegenTime\0\gamename\basejk\g_maxGameClients\0\g_jediVmerc\0\g_weaponDisable\0\capturelimit\8\g_redteam\Empire\g_blueteam\Rebellion

Gametype changed, clearing session data.

0 teams with 0 entities

21 items registered

-----------------------------------

------- BotLib Initialization -------

29 bots parsed

19 arenas parsed

-----------------------------------

Hitch warning: 4605 msec frame time

Resolving masterjk2.ravensoft.com

masterjk2.ravensoft.com resolved to 204.97.248.90:28060

Sending heartbeat to masterjk2.ravensoft.com

Client 0 connecting with 2650 challenge ping

Sending heartbeat to masterjk2.ravensoft.com

 

 

 

Is this normal ??

 

thanks,

 

Matt.

Link to comment
Share on other sites

I have turned off apache / mysql and a couple of other crappy things (this is a development server so apache /mysql only had 4 client max)

 

I have a 2 meg line in the house so you are welcome to all join and play.

Link to comment
Share on other sites

Just to clarify for you... hitch warnings are indicative of server lag... however are completely normal to see when you start the server, and between map changes, or when your using the game server itself for other intensive things.... You should see them no othertime otherwise on a fast machine like yours.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...