SA-MP Forums Archive
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: Linux? (/showthread.php?tid=543876)



Linux? - ZombieNest - 29.10.2014

Whenever I try to start my linux server (Using nohup) I got Debian 7 here
It adds ' at my file, What I did:
When at Root used
cd samp03
Then it take me to my samp files folder where my samp server files etc is and gamemodes folder then./.
nohup ./samp03svr &
Then it says:
not found etc but the file is there

Other: What I did.
Код:
login as: root
Linux secret 2.6.32-042stab093.4 #1 SMP Mon Aug 11 18:47:39 MSK 2014 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Oct 29 12:06:37 2014 from -----
root@secret:~# cd samp03
root@secret:~/samp03# nohup ./samp03svr &
[1] 1853
root@secret:~/samp03# nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `./samp03svr': No such file or directory
Please help!


Re: Linux? - Bartels - 29.10.2014

Try entering the command ls to confirm if the file is actually in the directory.


Re: Linux? - ZombieNest - 29.10.2014

It is.
Код:
root@secret:~/samp03# ls
(a)Panel      audio.ini      pawno              sscanf
CHANGES.txt   audiopacks     plugins            ssleay32.dll
LICENSE       client.wyc     samp-license.txt   testhelp.amx
LICENSE.txt   crashinfo.txt  samp-npc           testhelp.pwn
PHP           filterscripts  samp-npc.exe       vsinit.dll
README        gamemodes      samp-server.exe    y_classes.txt
README.txt    include        samp03svr          y_colours.bmp
Roadmap.txt   msvcp120.dll   scriptfiles        y_colours.png
Settings.ini  nohup.out      server-readme.txt  y_ini.txt
Whirlpool     npcmodes       server-starter.sh  ysi readme.txt
announce      pawnc.dll      server.cfg
announce.exe  pawncc.exe     server_log.txt
root@secret:~/samp03# ls samp03svr
samp03svr
root@secret:~/samp03#



Re: Linux? - Alex Magaсa - 29.10.2014

Did you try to check if your server works?
If you do thisnohup ./samp03svr & it will start samp server.


Re: Linux? - ZombieNest - 29.10.2014

The server was running in another linux host before with no problems (It was triangle.gs) now I've changed..
I still get error:

Код:
root@secret:~/samp03# nohup: ignoring input and appending to `nohup.out'
nohup: failed to run command `./samp03svr': No such file or directory
root@secret:~/samp03#
I'll try to change my OS to CentOS 5 and try with new things/files
Atlast fixed!
By reinstalling the OS and new files.
//


Re: Linux? - NeGaTiveZ - 08.11.2014

Hmmmmm.......
I think there's a problem with the hosting company, as you've said the errors isn't showing in triangle.gs....try contacting the hosting company or go to another hosting company.
.
And by the way you asked me if i was the NeGaTivE in your server the answer is Yes.....
But That time i don't have any knowledge on scripting nor mapping......
If you need more help or questions feel free to add me on ******** : Rahmani Dibansa


Re: Linux? - Sithis - 09.11.2014

Running SAMP as root.. very bad idea.