VPS: So such file or Directory - 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: VPS: So such file or Directory (
/showthread.php?tid=171250)
VPS: So such file or Directory -
deadly - 25.08.2010
Hi all , i own a VPS and have uploaded the files are said in
https://sampwiki.blast.hk/wiki/Linux_Server
Im down to Running Your server. Adn yes the 2 files are chmodded 0777 or 777. , i have done the 3 methods and it comes up with the same error of: no such file or Directory
i have tried going through /../root etc etc and still not worked. So im not sure exactly what to do now. I've moved the samp03 folder into the overdriv folder before public_html.
image attached
edit:
Foudn that i hadent chmodded but done that now so they are defently 777 and now getting new issue
Code:
root@v-251 [~]# . /home/overdriv/samp03/samp03svr
-bash:ELF: command not found
root@v-251 [~]# ./home/overdriv/samp03/samp03svr
-bash: ./home/overdriv/samp03/samp03svr: No such file or directory
root@v-251 [~]#
the first one is with a space and the second one is not
If i add & i will get
Code:
root@v-251 [~]# . /home/overdriv/samp03/samp03svr &
[1] 5595
root@v-251 [~]# -bash:ELF: command not found
and if i do nohup i get
Code:
nohup ./home/overdriv/samp03/samp03svr &
[2] 5710
[1] Exit 127 . /home/overdriv/samp03/samp03svr
root@v-251 [~]# nohup: appending output to `nohup.out'
nohup: cannot run command `./home/overdriv/samp03/samp03svr': No such file or directory
Re: VPS: So such file or Directory -
iLinx - 25.08.2010
do the files actually exist?
# ls -l /home/overdriv/samp03
Re: VPS: So such file or Directory -
deadly - 25.08.2010
yes ls /home/overdriv/samp03 does show there is files there
Re: VPS: So such file or Directory -
kevinwalter - 23.10.2010
i've got this to..
Code:
[root@vps samp03]#dir
LICENSE README announce filterscripts gamemodes include nohup.out npcmodes samp-npc samp03svr scriptfiles server.cfg
[root@vps samp03]#./samp03svr
-bash: ./samp03svr: No such file or directory
[root@vps samp03]#chmod +x samp03svr
[root@vps samp03]#chmod +x announce
[root@vps samp03]#chmod +x samp-npc
[root@vps samp03]#./samp03svr
-bash: ./samp03svr: No such file or directory
[root@vps samp03]#chmod -v -R 777 /root/samp03/
mode of `/root/samp03/' changed to 0777 (rwxrwxrwx)
mode of `/root/samp03/filterscripts' changed to 0777 (rwxrwxrwx)
[...]
mode of `/root/samp03/npcmodes/npctest.pwn' changed to 0777 (rwxrwxrwx)
mode of `/root/samp03/npcmodes/taxi_ls_test.amx' changed to 0777 (rwxrwxrwx)
mode of `/root/samp03/npcmodes/train_lv.pwn' changed to 0777 (rwxrwxrwx)
[root@vps samp03]#./samp03svr
-bash: ./samp03svr: No such file or directory
Re: VPS: So such file or Directory -
dugi - 23.10.2010
http://forum.sa-mp.com/showthread.ph...ight=ia32-libs
Re: VPS: So such file or Directory -
kevinwalter - 23.10.2010
it works

thnx