Linux server restarter
#1

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
Reply
#2

https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online
Reply
#3

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
Reply
#4

Are you logged in a root? If not, try "su root".
Reply
#5

It's permissions. You need to set the file to +x.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)