SA-MP Forums Archive
Help me launch sa-mp server on linux vps - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help me launch sa-mp server on linux vps (/showthread.php?tid=643685)



Help me launch sa-mp server on linux vps - Qbao - 25.10.2017

I try to boot but it says: -bash: ./samp03svr: /lib/ld-linux.so.2: bad ELF interpreter: No such file or dir, got chmod
IMG:



Re: Help me launch sa-mp server on linux vps - -Shifty- - 25.10.2017

Try
chmod +x samp-npc samp03svr announce

Then
nohup ./samp03svr &


Re: Help me launch sa-mp server on linux vps - Qbao - 25.10.2017

Quote:
Originally Posted by -Shifty-
Посмотреть сообщение
Try
chmod +x samp-npc samp03svr announce

Then
nohup ./samp03svr &
I've been tried:
and error:
Код:
nohup: failed to run `./samp03svr 'command: No such file or directory



Re: Help me launch sa-mp server on linux vps - -Shifty- - 26.10.2017

Are you 100% sure that file is in your directory? Make sure you also cd’ed to that directory before excruciating the command.


Re: Help me launch sa-mp server on linux vps - dugi - 26.10.2017

You need 32bit libstdc++6 to run sa-mp server on a 64bit system, I'll create a test virtual machine and edit this post with details on how to do it.

EDIT: Looks like it's not that simple, you can look for it yourself just search for "32bit libstdc++6 on 64bit centos"


Re: Help me launch sa-mp server on linux vps - Sgt.TheDarkness - 26.10.2017

Код:
yum install glibc.i686



Re: Help me launch sa-mp server on linux vps - dugi - 26.10.2017

Quote:
Originally Posted by Sgt.TheDarkness
Посмотреть сообщение
Код:
yum install glibc.i686
I tried it in a VM and the server still wouldn't run, looks like you need libstdc++ regular libc won't do it:
Код:
yum install libstdc++.i686
Server starts fine after installing this.