[Linux]Samp server not found
#1

I have Ubuntu VPS 12.04 (32 bit)

created user samp1 with homedir /home/samp1
All samp files are extracted there, and dir command returns:
Код:
$ dir
announce       gamemodes  LICENSE    npcmodes  samp03svr  scriptfiles
filterscripts  include    nohup.out  README    samp-npc   server.cfg
Now when i try to start server:
Код:
$ ./samp03svr
sh: 24: ./samp03svr: not found
$ samp03svr
sh: 25: samp03svr: not found
$ ./samp03svr &
$ sh: 26: ./samp03svr: not found
As you can see it just say it doesn't exists...I even did chmod 777 for samp03svr, announce and scriptfiles.

And yes i do have root access (sudo) but from other account.

[EDIT] Fix for the problem: http://forum.sa-mp.com/showpost.php?...87&postcount=7
Reply
#2

Haven't used Ubuntu in a while but try /home/samp1/samp03svr ?
Reply
#3

First you have to mark the file executable then run it..
To mark file executalbe use chmod like this :
Код:
chmod +x samp-npc samp03svr announce
And run the file using nohup like this
pawn Код:
nohup ./samp03svr &
Reply
#4

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
First you have to mark the file executable then run it..
To mark file executalbe use chmod like this :
Код:
chmod +x samp-npc samp03svr announce
And run the file using nohup like this
pawn Код:
nohup ./samp03svr &
Doesn't really matter if you use nohup or not, nohup is simply to keep the server running after you close the command prompt.
Reply
#5

Did you chmod samp03svr/announce?
Reply
#6

Tried global path, relative path and just binary file name.
I did chmod all three binaries with X flag, i even give 777 permissions for a moment to be sure
Tried with and without & flag , also with and without nohup, including all possible combinations...
Also tried running it as sudo...
Reply
#7

I found the solution, you need 32 bit libs.

https://support.humblebundle.com/hc/...t-Linux-system


Try that.
Reply
#8

Quote:
Originally Posted by Isolated
Посмотреть сообщение
I found the solution, you need 32 bit libs.

https://support.humblebundle.com/hc/...t-Linux-system


Try that.
Worked like a charm! Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)