SA-MP Forums Archive
Help VPS AWS - 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 VPS AWS (/showthread.php?tid=641307)



Help VPS AWS - Qbao - 14.09.2017

I have followed this tutorial https://sampforum.blast.hk/showthread.php?tid=327272
But to the "nohup ./samp03svr &" section, there was a "nohup: failed to run command './samp03svr': No such file or directory"

I use AWS's Ubuntu VPS


Re: Help VPS AWS - Djole1337 - 14.09.2017

You didn't even download the server...

cd ~;wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz;tar -zxvf samp037svr_R2-1.tar.gz;cd samp03

it's up to you to edit the server config and change rcon_password to your own, otherwise it won't run.

EDIT: if you really want to RUN your fucking server by cping commands off the forums then go ahead and type

sed -i 's/rcon_password changeme/rcon_password YOUROWNGOESHERE/' server.cfg;nohup ./samp03svr &


Re: Help VPS AWS - Qbao - 14.09.2017

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
You didn't even download the server...

cd ~;wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz;tar -zxvf samp037svr_R2-1.tar.gz;cd samp03

it's up to you to edit the server config and change rcon_password to your own, otherwise it won't run.

EDIT: if you really want to RUN your fucking server by cping commands off the forums then go ahead and type

sed -i 's/rcon_password changeme/rcon_password YOUROWNGOESHERE/' server.cfg;nohup ./samp03svr &
I have finished downloading, I've done server.cfg but can not start


Re: Help VPS AWS - Djole1337 - 14.09.2017

What it says? cat nohup.out


Re: Help VPS AWS - donB - 14.09.2017

If you're trying to use the folder inside the directory ~/, login as root. Although its not recommended to use root. Better change the directory to something else, say - /home/ubuntu/samp03/.

Also, make sure you got all the server files inside the directory. If you're running a 64 bit OS, check if the libraries are installed accordingly. Did you change your RCON password, as the default "changeme" prevents the server from starting.

BTW, do activate your Windows version soon.


Re: Help VPS AWS - Sew_Sumi - 14.09.2017

Jesus, what in the heck are you 2 on about...

First, the issue is likely to be that he hasn't installed the required runtimes for the server executable.

Suggesting even in the slightest that he uses root, is plain out reckless.


OP, if the files were downloaded by another user, then there'd be the reason why you can't chmod them.

run
Код:
ls -lrt
in the server folder and show the output.

It's highly likely that this should get you moving again as I think that tutorial is lacking.

http://forum.sa-mp.com/showpost.php?...11&postcount=6


Re: Help VPS AWS - jlalt - 14.09.2017

^, also you may try to check the access mode, seems like your chmod action was always ending with a failure.