Author Topic: Server won't start [Linux x86_64bit]  (Read 1706 times)

0 Members and 1 Guest are viewing this topic.

Offline MilkNCookies

  • Major(1)
  • Posts: 5
Server won't start [Linux x86_64bit]
« on: August 21, 2007, 04:13:53 am »
I have an odd problem and it wouldn't be so odd if it wasn't for the fact the other servers previous to the last 2 versions work.

My problem is that soldat server versions 2.6.1 and 2.6.2 do not work at all, they don't even spit an error, not even in debug mode 1, 2 and ./soldatserver > log.
The server does not even execute, it just puts me back to terminal.

However, 2.6.0 Works fine, everything starts up and doesn't give me any problems.

At first, i thought maybe it's because i am running under 64 bit but i appear to have 32 bit support as well. Also, all of my permissions are set correctly.

I'm not quite sure what the problem can be, maybe a patch is in order?

This is the information i can provide regarding the system i am attempting to run the soldat server on.

-------

2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:14:47 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

Linux version 2.6.9-55.0.2.ELsmp (mockbuild@builder6.centos.org) (gcc version 3.
4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Tue Jun 26 14:14:47 EDT 2007

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz
stepping        : 2
cpu MHz         : 1995.004
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor
ds_cpl est tm2 cx16 xtpr
bogomips        : 3992.91
clflush size    : 64
cache_alignment : 64

GLIBC, if it's any concern.

glibc.x86_64                             2.3.4-2.36             installed
glibc.i686                               2.3.4-2.36             installed
« Last Edit: August 21, 2007, 06:19:18 am by MilkNCookies »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Server won't start [Linux x86_64bit]
« Reply #1 on: August 21, 2007, 05:26:52 am »
Read the readme. It clearly says 64 bit is NOT supported.

Offline MilkNCookies

  • Major(1)
  • Posts: 5
Re: Server won't start [Linux x86_64bit]
« Reply #2 on: August 21, 2007, 05:37:05 am »
 Compatability:
  The Soldat Dedicated Server is designed to run on 32-Bit Linux and Windows.
  There is no FreeBSD or 64-Bit versions of the Soldat Dedicated Server.

I did read it, that doesn't solve my problem. I CLEARLY stated that the system is capable of handling both 32bit and 64bit applications.  I also stated that 2.6.0 works like a charm, would you happen to know why it works and the next 2 versions up from that don't?


Offline pucmeloun

  • Major(1)
  • Posts: 1
Re: Server won't start [Linux x86_64bit]
« Reply #3 on: August 22, 2007, 02:55:44 pm »
2.6.1 and 2.6.2 binaries seems to be packed with UPX executable packer which basicaly means smaller size and broken elf header (corrupted section header size) ... so, the binary isn't recognized as GNU/Linux 32-bit.

It runs on 32bit linux system but other systems cant recognize it = for example it wont run under FreeBSD emulation layer any more (you can't brandelf the binary as Linux executable) and ofc it can't work in 32bit sandbox on your 64bit linux system.

How to fix it. Simply unpack the binary, install upx packer (http://upx.sourceforge.net/) and execute upx -d soldatserver. Unpacking will fix FreeBSD compatibility too (brandelf -t Linux soldatserver is still needed tho).

Offline MilkNCookies

  • Major(1)
  • Posts: 5
Re: Server won't start [Linux x86_64bit]
« Reply #4 on: August 23, 2007, 06:21:32 am »
2.6.1 and 2.6.2 binaries seems to be packed with UPX executable packer which basicaly means smaller size and broken elf header (corrupted section header size) ... so, the binary isn't recognized as GNU/Linux 32-bit.

It runs on 32bit linux system but other systems cant recognize it = for example it wont run under FreeBSD emulation layer any more (you can't brandelf the binary as Linux executable) and ofc it can't work in 32bit sandbox on your 64bit linux system.

How to fix it. Simply unpack the binary, install upx packer (http://upx.sourceforge.net/) and execute upx -d soldatserver. Unpacking will fix FreeBSD compatibility too (brandelf -t Linux soldatserver is still needed tho).


Ohhh how clever, thank you very much.

Tested  and it works wonderfully now! I would have NEVER thought of that.

Offline Major .:Noob:.

  • Major
  • *
  • Posts: 85
Re: Server won't start [Linux x86_64bit]
« Reply #5 on: August 23, 2007, 02:25:24 pm »
Milk&SEXIES!!

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Server won't start [Linux x86_64bit]
« Reply #6 on: August 23, 2007, 10:39:42 pm »