VPS: So such file or Directory
#1

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

do the files actually exist?

# ls -l /home/overdriv/samp03
Reply
#3

yes ls /home/overdriv/samp03 does show there is files there
Reply
#4

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

http://forum.sa-mp.com/showthread.ph...ight=ia32-libs
Reply
#6

it works
thnx
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)