SA-MP Forums Archive
Cannot start server on 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: Cannot start server on VPS (/showthread.php?tid=558974)



Cannot start server on VPS - RoC4life - 20.01.2015

Guys i opened server and off using
Quote:

killall samp03svr

but not started again use
Quote:

chmod +x samp03svr announce samp-npc

Help please
Help plz
Код:
Help please



Re: Cannot start server on VPS - Samp_India - 20.01.2015

The CMD to start samp server in Background is
Quote:

nohup ./samp03svr &




Re: Cannot start server on VPS - S4MSUNG - 20.01.2015

Quote:
Originally Posted by RoC4life
Посмотреть сообщение
Guys i opened server and off using but not started again use Help please
Help plz
Код:
Help please
chmod is writing file permissons to it. Use what samp_india says.


Re: Cannot start server on VPS - www - 20.01.2015

May be this will help you:

1. Give right permissions to samp03svr, announce, samp-npc

Код:
# cd /path/to/sampserver
Код:
# chmod 711 samp03svr announce samp-npc
2.
Код:
# rand_pass=$(date | md5sum | cut -f 1 -d " ")
Код:
# sed -i \"s/rcon_password changeme/rcon_password $rand_pass/g\" server.cfg
3. If you are using a firewall you need to forward an INPUT UDP port for your samp server.

Код:
iptables -t filter -A INPUT -p udp --dport 7777 -j ACCEPT
Change 7777 by your server port.

4. run your server

Код:
# killall samp03svr
Код:
# nohup ./samp03svr &



Re: Cannot start server on VPS - RoC4life - 20.01.2015

Not starting yet -_- help me please


Re: Cannot start server on VPS - Ironboy - 20.01.2015

Quote:
Originally Posted by RoC4life
Посмотреть сообщение
Not starting yet -_- help me please
Make sure that you're on the right directory.


Re: Cannot start server on VPS - www - 20.01.2015

What is the return that you got form console when you tape ./samp03svr ?


Re: Cannot start server on VPS - RoC4life - 20.01.2015

nothing it dosen't start server


Re: Cannot start server on VPS - RoC4life - 20.01.2015

sorry it was my mistake i changed port and and trying with 7778 but my port was set to 7777 thanks guys for helping me
Quote:

Thanks