[SOLVED] MB2 does not run on Ubuntu 14.04 LTS

Status
Not open for further replies.

Caelum

Donator
Posts
24
Likes
53
I'm trying to host an MB2 server for a customer of mine; turns out it does not run at all on Ubuntu 14.04. Issue doesn't seem to be on my end but related to the binaries; I'm guessing the issue is the version of glibc, but since this is the latest Ubuntu LTS release, dropping support for that version seems like it'd be accidental.

Here's what happens when I try to run it:
Code:
jka.46.105.85.236@mothership:~$ ./mbiided.i386 +set net_ip "46.105.85.236" +set fs_homepath "/home/jka.46.105.85.236" +set net_port "29070" +set fs_game "MBII" +set dedicated 2
./mbiided.i386: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./mbiided.i386)
./mbiided.i386: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./mbiided.i386)

Alternatively, if I use OpenJK, this happens:
Code:
jka.46.105.85.236@mothership:~$ /home/shared/jka/openjkded.i386 +set net_ip "46.105.85.236" +set fs_homepath "/home/jka.46.105.85.236" +set net_port "29070" +set fs_game "MBII" +set dedicated 2
OpenJK-MP: v1.0.1.0 linux-i386 Dec 16 2015
----- FS_Startup -----
Current search path:
/home/jka.46.105.85.236/MBII/z_MB_BaseAssets.pk3 (14 files)
/home/jka.46.105.85.236/MBII/zz_MBModels2.pk3 (4739 files)
/home/jka.46.105.85.236/MBII/zz_MBModels.pk3 (1654 files)
/home/jka.46.105.85.236/MBII/MB_Effects.pk3 (818 files)
/home/jka.46.105.85.236/MBII/MBII_Mac.pk3 (3 files)
/home/jka.46.105.85.236/MBII/MBII.pk3 (5 files)
/home/jka.46.105.85.236/MBII/MBHilts.pk3 (787 files)
/home/jka.46.105.85.236/MBII/MBAssets3.pk3 (2263 files)
/home/jka.46.105.85.236/MBII/MBAssets2.pk3 (1713 files)
/home/jka.46.105.85.236/MBII/MBAssets.pk3 (616 files)
/home/jka.46.105.85.236/MBII/MB2_yavinassault.pk3 (88 files)
/home/jka.46.105.85.236/MBII/mb2_um_assets3.pk3 (1066 files)
/home/jka.46.105.85.236/MBII/mb2_um_assets2.pk3 (3834 files)
/home/jka.46.105.85.236/MBII/mb2_um_assets.pk3 (1110 files)
/home/jka.46.105.85.236/MBII/mb2_tradefed.pk3 (299 files)
/home/jka.46.105.85.236/MBII/mb2_theed.pk3 (114 files)
/home/jka.46.105.85.236/MBII/mb2_tatooine.pk3 (173 files)
/home/jka.46.105.85.236/MBII/mb2_tantiveIV.pk3 (158 files)
/home/jka.46.105.85.236/MBII/mb2_smuggler.pk3 (55 files)
/home/jka.46.105.85.236/MBII/mb2_SDestroyer.pk3 (128 files)
/home/jka.46.105.85.236/MBII/mb2_republiccruiser.pk3 (712 files)
/home/jka.46.105.85.236/MBII/mb2_rc_hangarC.pk3 (337 files)
/home/jka.46.105.85.236/MBII/mb2_mygeeto.pk3 (141 files)
/home/jka.46.105.85.236/MBII/mb2_mustafar.pk3 (197 files)
/home/jka.46.105.85.236/MBII/mb2_moseisley.pk3 (1 files)
/home/jka.46.105.85.236/MBII/mb2_lunarbase.pk3 (64 files)
/home/jka.46.105.85.236/MBII/mb2_korriban.pk3 (52 files)
/home/jka.46.105.85.236/MBII/mb2_kamino.pk3 (401 files)
/home/jka.46.105.85.236/MBII/mb2_jeditemple.pk3 (414 files)
/home/jka.46.105.85.236/MBII/mb2_jabba.pk3 (126 files)
/home/jka.46.105.85.236/MBII/mb2_enclave.pk3 (265 files)
/home/jka.46.105.85.236/MBII/mb2_echobase.pk3 (85 files)
/home/jka.46.105.85.236/MBII/mb2_duel_yavin4.pk3 (68 files)
/home/jka.46.105.85.236/MBII/mb2_duel_votj.pk3 (47 files)
/home/jka.46.105.85.236/MBII/mb2_duel_utapau.pk3 (63 files)
/home/jka.46.105.85.236/MBII/mb2_duel_starforge.pk3 (115 files)
/home/jka.46.105.85.236/MBII/mb2_duel_senate.pk3 (71 files)
/home/jka.46.105.85.236/MBII/mb2_duel_sabh.pk3 (62 files)
/home/jka.46.105.85.236/MBII/mb2_duel_revan.pk3 (129 files)
/home/jka.46.105.85.236/MBII/mb2_duel_ravager.pk3 (81 files)
/home/jka.46.105.85.236/MBII/mb2_duel_office.pk3 (115 files)
/home/jka.46.105.85.236/MBII/mb2_duel_malachor.pk3 (101 files)
/home/jka.46.105.85.236/MBII/mb2_duel_emperor.pk3 (146 files)
/home/jka.46.105.85.236/MBII/mb2_dotf.pk3 (267 files)
/home/jka.46.105.85.236/MBII/mb2_deathstar.pk3 (344 files)
/home/jka.46.105.85.236/MBII/mb2_Coruscant_chase.pk3 (230 files)
/home/jka.46.105.85.236/MBII/mb2_corellia.pk3 (254 files)
/home/jka.46.105.85.236/MBII/MB2_Commtower.pk3 (255 files)
/home/jka.46.105.85.236/MBII/mb2_cmp_assets3.pk3 (981 files)
/home/jka.46.105.85.236/MBII/mb2_cmp_assets2.pk3 (4330 files)
/home/jka.46.105.85.236/MBII/mb2_cmp_assets.pk3 (1842 files)
/home/jka.46.105.85.236/MBII/mb2_cloudcity.pk3 (272 files)
/home/jka.46.105.85.236/MBII/mb2_boc.pk3 (539 files)
/home/jka.46.105.85.236/MBII/mb2_alderaan.pk3 (254 files)
/home/jka.46.105.85.236/MBII/FAMBModels.pk3 (1746 files)
/home/jka.46.105.85.236/MBII/03_MovieGameMappack.pk3 (6398 files)
/home/jka.46.105.85.236/MBII/031_MovieGameMappack.pk3 (2139 files)
/home/jka.46.105.85.236/MBII/02_MovieGameMappack.pk3 (2946 files)
/home/jka.46.105.85.236/MBII/01_MovieGameMappack.pk3 (3293 files)
/home/jka.46.105.85.236/MBII
/home/shared/jka/MBII
/home/jka.46.105.85.236/base
/home/shared/jka/base/assets_tiny_maps.pk3 (91 files)
/home/shared/jka/base/assets_tiny_loose.pk3 (3 files)
/home/shared/jka/base/assets_tiny.pk3 (3087 files)
/home/shared/jka/base

----------------------
52701 files in pk3 files
execing mpdefault.cfg
execing openjk_server.cfg
couldn't exec autoexec.cfg
----- Initializing Renderer ----
--- Common Initialization Complete ---
Hostname: mothership.caelish.com
Alias: mothership
IP: 178.33.231.116
Opening IP socket: 46.105.85.236:29070
]map mp/ffa3
------ Server Initialization ------
Server: mp/ffa3
----- FS_Startup -----
Current search path:
/home/jka.46.105.85.236/MBII/z_MB_BaseAssets.pk3 (14 files)
/home/jka.46.105.85.236/MBII/zz_MBModels2.pk3 (4739 files)
/home/jka.46.105.85.236/MBII/zz_MBModels.pk3 (1654 files)
/home/jka.46.105.85.236/MBII/MB_Effects.pk3 (818 files)
/home/jka.46.105.85.236/MBII/MBII_Mac.pk3 (3 files)
/home/jka.46.105.85.236/MBII/MBII.pk3 (5 files)
/home/jka.46.105.85.236/MBII/MBHilts.pk3 (787 files)
/home/jka.46.105.85.236/MBII/MBAssets3.pk3 (2263 files)
/home/jka.46.105.85.236/MBII/MBAssets2.pk3 (1713 files)
/home/jka.46.105.85.236/MBII/MBAssets.pk3 (616 files)
/home/jka.46.105.85.236/MBII/MB2_yavinassault.pk3 (88 files)
/home/jka.46.105.85.236/MBII/mb2_um_assets3.pk3 (1066 files)
/home/jka.46.105.85.236/MBII/mb2_um_assets2.pk3 (3834 files)
/home/jka.46.105.85.236/MBII/mb2_um_assets.pk3 (1110 files)
/home/jka.46.105.85.236/MBII/mb2_tradefed.pk3 (299 files)
/home/jka.46.105.85.236/MBII/mb2_theed.pk3 (114 files)
/home/jka.46.105.85.236/MBII/mb2_tatooine.pk3 (173 files)
/home/jka.46.105.85.236/MBII/mb2_tantiveIV.pk3 (158 files)
/home/jka.46.105.85.236/MBII/mb2_smuggler.pk3 (55 files)
/home/jka.46.105.85.236/MBII/mb2_SDestroyer.pk3 (128 files)
/home/jka.46.105.85.236/MBII/mb2_republiccruiser.pk3 (712 files)
/home/jka.46.105.85.236/MBII/mb2_rc_hangarC.pk3 (337 files)
/home/jka.46.105.85.236/MBII/mb2_mygeeto.pk3 (141 files)
/home/jka.46.105.85.236/MBII/mb2_mustafar.pk3 (197 files)
/home/jka.46.105.85.236/MBII/mb2_moseisley.pk3 (1 files)
/home/jka.46.105.85.236/MBII/mb2_lunarbase.pk3 (64 files)
/home/jka.46.105.85.236/MBII/mb2_korriban.pk3 (52 files)
/home/jka.46.105.85.236/MBII/mb2_kamino.pk3 (401 files)
/home/jka.46.105.85.236/MBII/mb2_jeditemple.pk3 (414 files)
/home/jka.46.105.85.236/MBII/mb2_jabba.pk3 (126 files)
/home/jka.46.105.85.236/MBII/mb2_enclave.pk3 (265 files)
/home/jka.46.105.85.236/MBII/mb2_echobase.pk3 (85 files)
/home/jka.46.105.85.236/MBII/mb2_duel_yavin4.pk3 (68 files)
/home/jka.46.105.85.236/MBII/mb2_duel_votj.pk3 (47 files)
/home/jka.46.105.85.236/MBII/mb2_duel_utapau.pk3 (63 files)
/home/jka.46.105.85.236/MBII/mb2_duel_starforge.pk3 (115 files)
/home/jka.46.105.85.236/MBII/mb2_duel_senate.pk3 (71 files)
/home/jka.46.105.85.236/MBII/mb2_duel_sabh.pk3 (62 files)
/home/jka.46.105.85.236/MBII/mb2_duel_revan.pk3 (129 files)
/home/jka.46.105.85.236/MBII/mb2_duel_ravager.pk3 (81 files)
/home/jka.46.105.85.236/MBII/mb2_duel_office.pk3 (115 files)
/home/jka.46.105.85.236/MBII/mb2_duel_malachor.pk3 (101 files)
/home/jka.46.105.85.236/MBII/mb2_duel_emperor.pk3 (146 files)
/home/jka.46.105.85.236/MBII/mb2_dotf.pk3 (267 files)
/home/jka.46.105.85.236/MBII/mb2_deathstar.pk3 (344 files)
/home/jka.46.105.85.236/MBII/mb2_Coruscant_chase.pk3 (230 files)
/home/jka.46.105.85.236/MBII/mb2_corellia.pk3 (254 files)
/home/jka.46.105.85.236/MBII/MB2_Commtower.pk3 (255 files)
/home/jka.46.105.85.236/MBII/mb2_cmp_assets3.pk3 (981 files)
/home/jka.46.105.85.236/MBII/mb2_cmp_assets2.pk3 (4330 files)
/home/jka.46.105.85.236/MBII/mb2_cmp_assets.pk3 (1842 files)
/home/jka.46.105.85.236/MBII/mb2_cloudcity.pk3 (272 files)
/home/jka.46.105.85.236/MBII/mb2_boc.pk3 (539 files)
/home/jka.46.105.85.236/MBII/mb2_alderaan.pk3 (254 files)
/home/jka.46.105.85.236/MBII/FAMBModels.pk3 (1746 files)
/home/jka.46.105.85.236/MBII/03_MovieGameMappack.pk3 (6398 files)
/home/jka.46.105.85.236/MBII/031_MovieGameMappack.pk3 (2139 files)
/home/jka.46.105.85.236/MBII/02_MovieGameMappack.pk3 (2946 files)
/home/jka.46.105.85.236/MBII/01_MovieGameMappack.pk3 (3293 files)
/home/jka.46.105.85.236/MBII
/home/shared/jka/MBII
/home/jka.46.105.85.236/base
/home/shared/jka/base/assets_tiny_maps.pk3 (91 files)
/home/shared/jka/base/assets_tiny_loose.pk3 (3 files)
/home/shared/jka/base/assets_tiny.pk3 (3087 files)
/home/shared/jka/base

----------------------
52701 files in pk3 files
VM_Create: jampgamei386.so failed!
VM_CreateLegacy: jampgamei386.so succeeded
------- Game Initialization -------
gamename: Movie Battles II V1.3.2
gamedate: Oct 31 2015
g_gametype 0 is out of range, defaulting to 7
BAN Warning: file cannot be opened for reading: banIP.dat
------------------------------------------------------------
InitGame: \sv_autoDemo\0\sv_floodProtect\1\sv_hostname\*Jedi*\sv_maxPing\0\sv_maxrate\25000\sv_minPing\0\version\JAmp: v1.0.1.0 linux-i386 Dec 16 2015\dmflags\0\fraglimit\20\timelimit\0\capturelimit\0\g_maxHolocronCarry\3\g_privateDuel\1\g_saberLocking\1\g_maxForceRank\7\duel_fraglimit\10\g_forceBasedTeams\0\g_duelWeaponDisable\1\g_gametype\7\g_needpass\0\protocol\26\mapname\mp/ffa3\sv_privateClients\0\sv_maxclients\8\sv_fps\40\sv_allowDownload\0\g_noSpecMove\0\gamename\Movie Battles II V1.3.2\g_maxGameClients\0\sv_maxConnections\2\roundlimit\15\g_gravity\800\g_SiegeClassQueue\aaaaaaaaaaaa\bg_fighterAltControl\0\g_Authenticity\0\g_MinMBPoints\4\g_AllowedHeroClasses\0\g_AllowedVillainClasses\0\g_timePeriod\0\g_EUAllowed\1\g_TKPointsSpecCount\500\g_TKPointsKickCount\750\g_TKPointsRemovedPerRound\50\g_TKPointsForgiveAfterRounds\2\g_TKPointsMinorFriendly\1\g_FullSpecTalkToPlayers\1\g_HideHUDFromSpecs\0
gsess mallocd
]ICARUS Instance successfully created                                                                                                                                                                                                       Resolving masterjk3.ravensoft.com
masterjk3.ravensoft.com resolved to 104.40.23.123:29060
Sending heartbeat to masterjk3.ravensoft.com
Resolving master.jkhub.org
master.jkhub.org resolved to 178.33.231.116:29060
Sending heartbeat to master.jkhub.org
Sending heartbeat to masterjk3.ravensoft.com
Sending heartbeat to master.jkhub.org
]Segmentation fault (core dumped)

Here's the output of ldd --version:
Code:
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Every other mod on the planet works fine, for what it's worth. Can provide a test server for debugging if wanted.
 

Cat Lady

Movie Battles II Team Retired
Posts
412
Likes
237
mbiided,i386 is actually openjkded with modified master server. you could compile it yourself on target machine (only openjkded), to ensure compatibility with your glib:
Compilation guide · JACoders/OpenJK Wiki · GitHub

...by backporting the (very minor) masterserver fix to latest (or any) OpenJK:
MBII Master Server Changes · JACoders/OpenJK@29fb330 · GitHub

Alternatively, you can wait for next MBII release, which is expected to work fine with glib in question (and for client part, bringing the auto recording HUD improvements to latest working OpenJK).

Cheers,
/Cat Lady

// Edit

Using jampded as ent suggested would also work as temporary workaround, obviously.
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
Maybe my post will look very silly since I have nothing to do with Ubuntu, but I'm just a little concerned about these lines from your log:
Code:
/home/shared/jka/base/assets_tiny_maps.pk3 (91 files)
/home/shared/jka/base/assets_tiny_loose.pk3 (3 files)
/home/shared/jka/base/assets_tiny.pk3 (3087 files)
Shouldn't you have original files from JA, should you?
 

Cat Lady

Movie Battles II Team Retired
Posts
412
Likes
237
While good catch indeed, it won't help with broken abi compatibility between glib versions :( Well, binaries were compiled using Debian Jessie (stable), considering that Ubuntu is based on Debian, one would think it should work. Sadly I'm not into Ubuntu world, so can't explain why they're using different and non inter-compatible glib version.

Anyway, another workaround solution would be to run server from chroot with expected version of glib installed. Yea, far from elegant, but if someone want to stay away from compiling for some reason...
 

Caelum

Donator
Posts
24
Likes
53
@ent Was not aware that exists; running it with that under OpenJK fixed the problem for me. Thanks very muchly :)

@Puppytine I'm intentionally running stripped-down assets instead of the usual ones on servers I host, with all of the purely client-side stuff removed. Good catch, but very much intentional. :p

Anyway, bottom line, that hotfix solved my problem, so thanks again, appreciate the help. :)

The Cat Lady is a freaking amazing game, just saying.
 
Last edited:

Cat Lady

Movie Battles II Team Retired
Posts
412
Likes
237
@ent Was not aware that exists; running it with that under OpenJK fixed the problem for me. Thanks very muchly :)

Huge thank you for returning to tell us that it worked - instead of disappearing silently. Noted to self to check whats different in the toolchain used to compile fixed jampgamei386.so used in the fix, from one used in main release (resulting in the former not having glib warnings on Ubuntu).

Anyway, very glad it worked for you!

The Cat Lady is a freaking amazing game, just saying.
Oh my, someone else know this masterpiece of a game :D You're actually 2nd amongst MB2 community (3th if counting my humble persona), impressive, most impressive.

/Cat Lady
 
Status
Not open for further replies.
Top