Jump to content

Trouble hosting under Linux


Go to solution Solved by Joshuas-maul,

Recommended Posts

Hello,

 

So I just tried to set up my jka Linux server. But I'm coming to an issue I could not figure what the solution is. May some of you will be able to enlight me.

 

Here are the steps I made:

mkdir /usr/local/games/ja

mkdir /usr/local/games/ja/base

 

Then uploaded my 4 assets to base + a server.cfg, I downloaded the linuxjampded zip file, unzipped it in "ja" folder.

 

Then:

cd /usr/local/games/ja

cp ./libcxa.so.1 /usr/lib

./linuxjampded +dedicated 2 +net_port 29070 +com_hunkmegs 64 +exec server.cfg

-bash: ./linuxjampded: No such file or directory

 

but linuxjampded is present when I use 'ls' ...

 

root@vps53742:/usr/local/games/ja# ls *
jampgamei386.so  linuxjampded  server.cfg

base:
assets0.pk3  assets1.pk3  assets2.pk3  assets3.pk3  jampgamei386.so  server.cfg

 

 

 

The server.cfg is the following:

 

// Generateur de cfg v1.0 pour Basejka par yberion

//==============================
// basejka parametre principal
//==============================

seta sv_hostName "Test"
seta g_motd "Test"
seta g_weaponDisable "524278"
seta g_allowVote "1"
seta g_gameType "0"
seta g_autoMapCycle "1"
seta timeLimit "60"
seta fragLimit "0"
seta sv_maxClients "12"

//==============================
// basejka Force_Power
//==============================

seta g_forcePowerDisable "0"
seta g_maxForceRank "7"
seta g_forceRegenTime "0"

//==============================
// basejka dans le jeux
//==============================

seta sv_floodProtect "1"
seta sv_allowDownload "0"
seta sv_keyWords "word1 word2"

//==============================
// basejka Admin
//==============================

seta rconPassword "test"
seta g_password ""
seta sv_privateClients "0"
seta sv_privatePassword ""

//==============================
// basejka environnement
//==============================

seta g_dismember "300"
seta g_maxGameClients "0"
seta g_noSpecMove "0"
seta g_forceRespawn "60"
seta g_spawnInvulnerability "3000"
seta g_gravity "800"
seta g_speed "250"

//==============================
// basejka Connexion
//==============================

seta sv_master1 "masterjk3.ravensoft.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master.qtracker.com"
seta sv_master4 "clanservers.net"
seta sv_master5 "masterjk3.ravensoft.com"
seta g_inactivity "0"
seta g_timeoutToSpec "0"
seta sv_reconnectLimit "2"
seta sv_minPing "0"
seta sv_maxPing "0"
seta sv_maxRate "3000"

//==============================
// basejka dommages
//==============================

seta g_locationBasedDamage "1"
seta g_saberDamageScale "1"

//==============================
// basejka objets
//==============================

seta disable_item_medpak_instant "0"
seta disable_item_medpak "0"
seta disable_item_medpac "0"
seta disable_item_shield_lrg_instant "0"
seta disable_item_shield_sm_instant "0"
seta disable_item_force_enlighten_light "0"
seta disable_item_force_boon "0"
seta disable_item_force_enlighten_dark "0"

//==============================
// basejka bot
//==============================

seta bot_minPlayers "0"

//==============================
// basejka Log_Files
//==============================

seta g_log "games.log"
seta g_logClientInfo "0"
seta g_statLogFile "stats.log"
seta g_statLog "0"

//==============================
// basejka duel
//==============================

seta g_privateDuel "1"
seta g_slowmoDuelEnd "0"
seta g_allowDuelSuicide "1"

//==============================
// basejka autres
//==============================

seta g_weaponRespawn "5"
seta g_saberLocking "0"
seta g_saberLockFactor "2"
seta g_doWarmup "0"
seta g_warmup "20"
seta g_saberDmgVelocityScale "0"
seta g_stepSlideFix "1"
seta g_enableBreath "0"
seta g_enableDust "1"
seta g_showDuelHealths "0"

//==============================
// Map-Rotation
//==============================

//exec rotmaps_FFA.cfg

//==============================
// Chargement des map
//==============================

map "mp/ffa3"

 

 

What could I possibly do wrong?

I run under Linux server 12.04.

 

The only thing that could cause this issue would be, according to me, a corrupted file, here are the md5sum of each of my files:

 

root@vps53742:/usr/local/games/ja# for file in *; do md5sum $file; done ; for file in base/*; do md5sum $file; done
md5sum: base: Is a directory
c6ff050246817fd91f2305ef632a82c1  jampgamei386.so
52e2987f2316fa3384d474b92454d1b8  linuxjampded
e144b2f53d119ad846da1d58cc87047b  server.cfg
e17ee714ce9632f401960abb1b22fa4a  base/assets0.pk3
3f47006dde61f171769666f31065a34c  base/assets1.pk3
e39a75c5cb85b640853fafe4354939dc  base/assets2.pk3
71c2edf5a30135d4aa921bf6259946ee  base/assets3.pk3
c6ff050246817fd91f2305ef632a82c1  base/jampgamei386.so
e144b2f53d119ad846da1d58cc87047b  base/server.cfg

 

 

 

I hope one of you will be able to enlight me ...

 

Best regards.

 

EDIT: Just case of, I already did chmod +x on linuxjampded

Link to comment

Nope, even with cdmod 777, it remains the same

 

-bash: ./linuxjampded: No such file or directory
 

 

EDIT: I tested it on windows with jampDed.exe +dedicated 2 +net_port 29070 +com_hunkmegs 64 +exec server.cfg, the server is running normaly. So I believe it does not come from the .cfg either.

 

EDIT 2: My linux server is running as 64bits, I'm saying it even it if would not affect the process anyway ...

 

EDIT 3: Is this even normal?

root@vps53742:/usr/local/games/ja# ldd ./linuxjampded
        not a dynamic executable

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...