Linux server restarter - 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: Linux server restarter (
/showthread.php?tid=97010)
Linux server restarter -
Kurence - 12.09.2009
Hi,
I own a linux server(not by hosting so i have putty and FTP access) and sometimes (few times in week) it will crash. It is not in my script.
I m big n00b with using linux - i know only 2 commands - cd samp02Xsvr and ./samp02Xsvr

Please, can someone make a restarter for me?
location of samp folder: /root/samp02Xsvr and that file that i have to run is too samp02Xsvr

Thanks
Re: Linux server restarter -
Blacklite - 12.09.2009
https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online
Re: Linux server restarter -
Kurence - 14.09.2009
Yes i have seen that.
I used method 2.
I have changed that restart.sh to fit my directories and i used "nohup ./restart.sh &"and it writed:
nohup: nelze provйst přнkaz ,,./restart.sh": Přнstup odmнtnut
that means:
nohup: unable to execute '. / restart.sh ": Access Denied
Re: Linux server restarter -
Blacklite - 04.10.2009
Are you logged in a root? If not, try "su root".
Re: Linux server restarter -
Westie - 04.10.2009
It's permissions. You need to set the file to +x.