Linux don't work - 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 don't work (
/showthread.php?tid=313633)
Linux don't work -
SamyRomafia - 26.01.2012
Look the error in console:
Код:
root@dsrclan:/#
root@dsrclan:/# tar -zxf samp03dsvr_R2.tar.gz
root@dsrclan:/#
root@dsrclan:/# cd samp03
root@dsrclan:/samp03#
root@dsrclan:/samp03# nohup ./samp03svr &
[1] 3320
root@dsrclan:/samp03#
root@dsrclan:/samp03# nohup: ignoring input and appending output to `nohup.out'
nohup: cannot run command `./samp03svr': No such file or directory
cd samp03
-bash: cd: samp03: No such file or directory
[1]+ Exit 127 nohup ./samp03svr
root@dsrclan:/samp03#
root@dsrclan:/samp03# ./samp03svr &
[1] 3321
root@dsrclan:/samp03#
root@dsrclan:/samp03# -bash: ./samp03svr: No such file or directory
Re: Linux don't work - Riddy - 26.01.2012
Do the command "ls" without the quotes, check if samp03svr is in the folder
Re: Linux don't work -
SamyRomafia - 26.01.2012
Quote:
Originally Posted by Riddy
Do the command "ls" without the quotes, check if samp03svr is in the folder
|
YEP IS IN THE FOLDER
Re: Linux don't work -
SamyRomafia - 27.01.2012
Please help me
Re: Linux don't work -
s0cket - 27.01.2012
It would help if you pasted the output you get with ls command while you are in samp03 directory. It really shouldn't give you this error if samp03svr is there
Re: Linux don't work -
SamyRomafia - 27.01.2012
Код:
It would help if you pasted the output you get with ls command while you are in samp03 directory. It really shouldn't give you this error if samp03svr is there
Re: Linux don't work -
SamyRomafia - 27.01.2012
Quote:
Originally Posted by SamyRomafia
Код:
It would help if you pasted the output you get with ls command while you are in samp03 directory. It really shouldn't give you this error if samp03svr is there
|
Код:
root@dsrclan:/#
root@dsrclan:/# cd samp03
root@dsrclan:/samp03#
root@dsrclan:/samp03# ls
LICENSE announce gamemodes nohup.out samp-npc scriptfiles
README filterscripts include npcmodes samp03svr server.cfg
root@dsrclan:/samp03#
root@dsrclan:/samp03#
Re: Linux don't work -
s0cket - 27.01.2012
Sorry, I didn't have time to reply to the thread properly and I didn't read your bash log properly either. First of all, not a good idea to run everything as root, second, you were running the server already
indicated that the process with this pid was created. You can check what is running by using "top" command, it should say something like this in one of the lines:
Quote:
Originally Posted by top window
26187 root 20 0 45552 13m 2964 S 0.7 3.2 0:04.81 samp03svr
|
I also recommend using "screen" over "nohup", because it allows to manage the server window in console more conveniently.