SA-MP Forums Archive
Server stops when closing putty (LINUX) - 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: Server stops when closing putty (LINUX) (/showthread.php?tid=65020)



Server stops when closing putty (LINUX) - mdaniel - 08.02.2009

Hi, I have a linux server host and I installed my samp server there.
First it worked fine, but I decided to rewrite the files, so I deleted them and putted again in the host. Now the server starts when I start with putty, but closes if I close putty.
Also, I cant write anything more in putty after I start the SAMP server.
What is that ? and how I fix it ?


Re: Server stops when closing putty (LINUX) - KmanN2 - 09.02.2009

are you sure your using
Код:
./sampsvr &
to start the server?


Re: Server stops when closing putty (LINUX) - d0 - 09.02.2009

Quote:
Originally Posted by JeNkStAX
Its a problem with YOUR script not the SA:MP server, Ask in Scripting Discussion
wrong



i use:
Код:
nohup ./samp02Xsrv &



Re: Server stops when closing putty (LINUX) - mdaniel - 09.02.2009

Well I run it like this:
Код:
./samp02Xsrv &
I tried this one:
Код:
nohup ./samp02Xsrv &
but it does not work, writes that there is missing file nohup or something like this.


Re: Server stops when closing putty (LINUX) - Kalcor - 09.02.2009

You sure your host allows you to keep processes open?


Re: Server stops when closing putty (LINUX) - RoBo - 09.02.2009

hummmm try sudo nohup ./samp02Xsvr &


Re: Server stops when closing putty (LINUX) - Streetplaya - 19.02.2009

another possibility, try the "screen" command