GoldenEye: Source Forums

  • March 28, 2024, 11:31:46 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Server Linux for GE.S problem!  (Read 9295 times)

0 Members and 2 Guests are viewing this topic.

alextalha

  • Agent
  • *
  • Posts: 2
  • Reputation Power: 0
  • alextalha has no influence.
  • Offline Offline
Server Linux for GE.S problem!
« on: August 17, 2016, 03:00:33 am »

Hello friends.
I'm having trouble running a server for this game .

did all the procedure mentioned in the link :
http://wiki.geshl2.com/goldeneye/server_install#downloads

source : https://drive.google.com/file/d/0B2IZbjMyzq2nd0p2MU9qNEY3NVk/view?usp=sharing

but the server does not rise

Has anyone experienced this problem?


thx

SERVER UBUNTU X32  14 Digital Ocean
Log

----------------------------------------------
CRASH: Wed Aug 17 02:45:39 UTC 2016
Start Line: ./srcds_i486 -debug -game ./gesource/ +maxplayers 16 +map ge_archives
[New LWP 4830]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `./srcds_i486 -debug -game ./gesource/ +maxplayers 16 +map ge_archives'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
#0  0x00000000 in ?? ()
#1  0xb6ea2c80 in CModAppSystemGroup::Create() () from /home/goldeneye/source/bin/engine_i486.so
#2  0xb6f082ae in CAppSystemGroup::Run() () from /home/goldeneye/source/bin/engine_i486.so
#3  0xb6ea238f in CDedicatedServerAPI::ModInit(ModInfo_t&) () from /home/goldeneye/source/bin/engine_i486.so
#4  0xb702620a in CDedicatedAppSystemGroup::Main() () from bin/dedicated_i486.so
#5  0xb7085ba5 in CAppSystemGroup::Run() () from bin/dedicated_i486.so
#6  0xb70800db in CSteamApplication::Main() () from bin/dedicated_i486.so
#7  0xb7085ba5 in CAppSystemGroup::Run() () from bin/dedicated_i486.so
#8  0xb702678b in main () from bin/dedicated_i486.so
#9  0xb701eb83 in DedicatedMain () from bin/dedicated_i486.so
#10 0x0804949d in main ()
No symbol table info available.
From        To          Syms Read   Shared Object Library
0xb7701600  0xb772f33b  Yes         /lib/i386-linux-gnu/libm.so.6
0xb76f8ad0  0xb76f996c  Yes         /lib/i386-linux-gnu/libdl.so.2
0xb76df840  0xb76ec467  Yes         /lib/i386-linux-gnu/libpthread.so.0
0xb7543490  0xb767499e  Yes         /lib/i386-linux-gnu/libc.so.6
0xb774e860  0xb776676c  Yes         /lib/ld-linux.so.2
0xb74f3d50  0xb75179a4  Yes         ./bin/tier0_i486.so
0xb74be060  0xb74d5164  Yes         ./bin/vstdlib_i486.so
0xb701e730  0xb7093014  Yes         bin/dedicated_i486.so
0xb6ce2480  0xb6f1e654  Yes         /home/goldeneye/source/bin/engine_i486.so
0xb6c3ffe0  0xb6c4c8c4  Yes         ./bin/steam_api_i486.so
0xb679e290  0xb67c7ce4  Yes         /home/goldeneye/source/bin/soundemittersystem_i486.so
0xb6622180  0xb674a284  Yes         /home/goldeneye/source/bin/materialsystem_i486.so
0xb5d94f50  0xb5e3d204  Yes         /home/goldeneye/source/bin/studiorender_i486.so
0xb58a7b40  0xb5b30bb4  Yes         /home/goldeneye/source/bin/vphysics_i486.so
0xb5810bd0  0xb5879a74  Yes         /home/goldeneye/source/bin/datacache_i486.so
0xb57f8b30  0xb5802684  Yes         /home/goldeneye/source/bin/shaderapiempty_i486.so
Stack level 0, frame at 0xbfcdf350:
 eip = 0x0; saved eip = 0xb6ea2c80
 called by frame at 0xbfcdf3c0
 Arglist at 0xbfcdf348, args:
 Locals at 0xbfcdf348, Previous frame's sp is 0xbfcdf350
 Saved registers:
  eip at 0xbfcdf34c
End of Source crash report
----------------------------------------------
Logged

illwieckz

  • Agent
  • *
  • Posts: 37
  • Reputation Power: 0
  • illwieckz is looked down upon.
  • Offline Offline
    • gg.illwieckz.net
Re: Server Linux for GE.S problem!
« Reply #1 on: August 17, 2016, 04:46:52 pm »

As far as I know, there is not yet Linux server build, you will only find .dll files and no one .so files in the gesource/bin/ directory

By the way, the 2007 SDK for linux is very buggy is broken, you have to force some permissive malloc option or it will never run:

Code: [Select]
export MALLOC_CHECK_=0

Even with that, you will only get one or two successfull launch for ten or twenty try. The default scrds launcher retry in case of failure, but use a too long sleep, so the only way to start srcds within seconds (skipping ten or twenty broken attempts as fast as possible) is to redo this launch script.

Once the server started successfully, it will never break, with my experience, it breaks at startup or never.

Do not use the srcds_run script, it is useless unless you want to wait 10min to start your server.

This is the script I use, according to this path tree (adapt with your own path):

Code: [Select]
/home/gesource
/home/gesource/steamcmd
/home/gesource/steamcmd/srcds_linux            # srcds engine directory
/home/gesource/steamcmd/srcds_linux/gesource   # gesource mod directory

This is my launcher script (name it ugly_srcds_run.sh if you want):

Code: [Select]
#! /bin/sh

cd /home/gesource/steamcmd/srcds_linux

export MALLOC_CHECK_=0
export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
while true
do
./srcds_i486 -debug -game gesource -port 27015 +maxplayers 16 +map ge_archives
sleep .5s
done

#EOF

These problems are not GoldenEye:Source issues, they are Steam's SRCDS 2007 issues.

And you must be happy, even with these horrible bugs, SRCDS 2007 binaries run far far better than the SRCDS 2006 binaries that no longer run on Intel branded CPUs (only on AMD CPUs) due to broken runtime optimization. That's probably why they stopped to distribute them…  ;D

By the way, as I said before, there is not yet GE:S 5.0 linux binaries as far as I know.

Additionnaly, I read you said:
“SERVER UBUNTU X32  14 Digital Ocean”

Linux knows 3 architectures for the same CPUs:

  • amd64 or x86_64 (sometime called x64 by some people)
  • i686 or x86, as known as i386/i486/i586 in some older compatible variants
  • x32, only exists in the Linux world, offer the best 32bit experience with moderne 64bit cpu

Unless you know what you are doing, prefer using an i686/x86 distro or an amd64/x86_64 distro with i686/x86 layer (but if it's only to run 32bit stuff like that old 2007 source SDK server, 32 bit is ok), unless you know what your are doing and I'm missing something you have no need for x32, by the way, it must works, you just have to enable the i686/x86 layer as people do with amd64/x86_64 distros.

If the server renter rents you a x32 distro, forget what I have said, keep your server, do not reinstall it, it works very well, this setup is just less common, but it must work with both standard 32bit and 64 bit (x86, x86_64) binaries. You already have the x86 layer since the log said srcds_i486 found the /lib/i386-linux-gnu/libthread_db.so.1 library for example.
« Last Edit: August 17, 2016, 04:56:56 pm by illwieckz »
Logged

illwieckz

  • Agent
  • *
  • Posts: 37
  • Reputation Power: 0
  • illwieckz is looked down upon.
  • Offline Offline
    • gg.illwieckz.net
Re: Server Linux for GE.S problem!
« Reply #2 on: August 17, 2016, 05:01:33 pm »

Additional stuff, I'm currently running the server through wine, it needs an headless X server since even the text console is a graphical interface on windows, and giving it working is hackier than the stuff explained above (you must install wine, windows steamcmd, windows srcds, an headless Xserver, and write a script that runs the Xserver then srcds in it, etc.)

If the GE:S team does not manage at all to get their linux binaries working, i can write a documentation, but I prefer to see the native linux binaries working. Because I don't like having the wineserver eating 20% of my CPU, and because I want text-based server console administration through ssh, not through VNC. And because my server is a Linux server, of course. :p
« Last Edit: August 17, 2016, 05:12:16 pm by illwieckz »
Logged

alextalha

  • Agent
  • *
  • Posts: 2
  • Reputation Power: 0
  • alextalha has no influence.
  • Offline Offline
Re: Server Linux for GE.S problem!
« Reply #3 on: August 17, 2016, 07:07:39 pm »


Thanks for help.
But I noticed that you said you have not native . but in the tutorial to run the server there explains how the linux . therefore i did not like would have to
As far as I know, there is not yet Linux server build, you will only find .dll files and no one .so files in the gesource/bin/ directory

By the way, the 2007 SDK for linux is very buggy is broken, you have to force some permissive malloc option or it will never run:

Code: [Select]
export MALLOC_CHECK_=0

Even with that, you will only get one or two successfull launch for ten or twenty try. The default scrds launcher retry in case of failure, but use a too long sleep, so the only way to start srcds within seconds (skipping ten or twenty broken attempts as fast as possible) is to redo this launch script.

Once the server started successfully, it will never break, with my experience, it breaks at startup or never.

Do not use the srcds_run script, it is useless unless you want to wait 10min to start your server.

This is the script I use, according to this path tree (adapt with your own path):

Code: [Select]
/home/gesource
/home/gesource/steamcmd
/home/gesource/steamcmd/srcds_linux            # srcds engine directory
/home/gesource/steamcmd/srcds_linux/gesource   # gesource mod directory

This is my launcher script (name it ugly_srcds_run.sh if you want):

Code: [Select]
#! /bin/sh

cd /home/gesource/steamcmd/srcds_linux

export MALLOC_CHECK_=0
export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
while true
do
./srcds_i486 -debug -game gesource -port 27015 +maxplayers 16 +map ge_archives
sleep .5s
done

#EOF

These problems are not GoldenEye:Source issues, they are Steam's SRCDS 2007 issues.

And you must be happy, even with these horrible bugs, SRCDS 2007 binaries run far far better than the SRCDS 2006 binaries that no longer run on Intel branded CPUs (only on AMD CPUs) due to broken runtime optimization. That's probably why they stopped to distribute them…  ;D

By the way, as I said before, there is not yet GE:S 5.0 linux binaries as far as I know.

Additionnaly, I read you said:
“SERVER UBUNTU X32  14 Digital Ocean”

Linux knows 3 architectures for the same CPUs:

  • amd64 or x86_64 (sometime called x64 by some people)
  • i686 or x86, as known as i386/i486/i586 in some older compatible variants
  • x32, only exists in the Linux world, offer the best 32bit experience with moderne 64bit cpu

Unless you know what you are doing, prefer using an i686/x86 distro or an amd64/x86_64 distro with i686/x86 layer (but if it's only to run 32bit stuff like that old 2007 source SDK server, 32 bit is ok), unless you know what your are doing and I'm missing something you have no need for x32, by the way, it must works, you just have to enable the i686/x86 layer as people do with amd64/x86_64 distros.

If the server renter rents you a x32 distro, forget what I have said, keep your server, do not reinstall it, it works very well, this setup is just less common, but it must work with both standard 32bit and 64 bit (x86, x86_64) binaries. You already have the x86 layer since the log said srcds_i486 found the /lib/i386-linux-gnu/libthread_db.so.1 library for example.
build.

Another thing. with this method you showed then I can then run a server for this game?
Logged

illwieckz

  • Agent
  • *
  • Posts: 37
  • Reputation Power: 0
  • illwieckz is looked down upon.
  • Offline Offline
    • gg.illwieckz.net
Re: Server Linux for GE.S problem!
« Reply #4 on: August 17, 2016, 07:16:28 pm »

On the tutorial you linked ( http://wiki.geshl2.com/goldeneye/server_install ), there is written:

Quote
Currently, GoldenEye: Source 5.0 does not provide binaries for operating systems other than Windows. This means it is currently not possible to host a Linux-based server. The server install media will be updated with the Linux binary when it is ready for release.

So, currently, nothing of what I've written can help you. It will be useful for you once the GE:S team will release the linux server stuff, not before.
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: Server Linux for GE.S problem!
« Reply #5 on: August 17, 2016, 08:53:53 pm »

If you want to test the Linux Server binary please PM me. I have it available for limited release testing. illwieckz, you would be a prime tester as you know what your are doing.
Logged

illwieckz

  • Agent
  • *
  • Posts: 37
  • Reputation Power: 0
  • illwieckz is looked down upon.
  • Offline Offline
    • gg.illwieckz.net
Re: Server Linux for GE.S problem!
« Reply #6 on: August 29, 2016, 02:01:49 am »

Hey alextalha, you can try the 5.0.1 linux server binaries if you want, see https://www.geshl2.com/2016/08/28/goldeneye-source-5-0-recap/ ;-)
Logged
Pages: [1]   Go Up