[Linux]Samp server not found - FIXED -
DRIFT_HUNTER - 04.03.2015
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
Re: [Linux]Samp server not found -
Jake187 - 05.03.2015
Haven't used Ubuntu in a while but try /home/samp1/samp03svr ?
Re: [Linux]Samp server not found -
BroZeus - 05.03.2015
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
Re: [Linux]Samp server not found -
Jake187 - 05.03.2015
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
|
Doesn't really matter if you use nohup or not, nohup is simply to keep the server running after you close the command prompt.
Re: [Linux]Samp server not found -
Parallax - 05.03.2015
Did you chmod samp03svr/announce?
Re: [Linux]Samp server not found -
DRIFT_HUNTER - 05.03.2015
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...
Re: [Linux]Samp server not found -
Isolated - 05.03.2015
I found the solution, you need 32 bit libs.
https://support.humblebundle.com/hc/...t-Linux-system
Try that.
Re: [Linux]Samp server not found -
DRIFT_HUNTER - 05.03.2015
Quote:
Originally Posted by Isolated
|
Worked like a charm! Thanks!