SA-MP Forums Archive
Ubuntu Server Will Not Execute SAMP... - 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: Ubuntu Server Will Not Execute SAMP... (/showthread.php?tid=266064)



Ubuntu Server Will Not Execute SAMP... - Eriick_OwnZ - 03.07.2011

Hey,Sorry For my Bad English...
I have a problem with my dedicated
I have a problem with my dedicated, it does not execute samp03svr

Error:

root@migrehost:~/samp7722# nohup ./samp03svr
nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `./samp03svr': No such file or directory

This File Exist!
ls -l \/
-rwxrwxrwx 1 root root 1292928 2011-07-03 04:48 samp03svr

Thanks.


Re: Ubuntu Server Will Not Execute SAMP... - Mauzen - 03.07.2011

Does it work without nohup?


Re: Ubuntu Server Will Not Execute SAMP... - Eriick_OwnZ - 03.07.2011

does not work ;S


Re: Ubuntu Server Will Not Execute SAMP... - Sew_Sumi - 03.07.2011

Should be in the folder where the files are and run that, and just do ./samp03srv


That's why your command isn't working, Wrong folder.


Screen is also a good thing, rather than nohup.


Also, Don't use root. Make a user for it.


Re: Ubuntu Server Will Not Execute SAMP... - iLinx - 03.07.2011

Can you please post the output of the following command:

ls -l ~/server7722


Re: Ubuntu Server Will Not Execute SAMP... - Eriick_OwnZ - 03.07.2011

@iLinx

total 1980
-rwxrwxrwx 1 root root 11104 2011-07-03 04:47 announce
drwxrwxrwx 2 root root 4096 2011-07-03 04:47 filterscripts
drwxrwxrwx 2 root root 4096 2011-07-03 04:47 gamemodes
drwxrwxrwx 2 root root 4096 2011-07-03 04:47 include
-rwxrwxrwx 1 root root 3777 2011-07-03 04:47 LICENSE
-rwxrwxrwx 1 root root 617 2011-07-03 04:47 nohup.out
drwxrwxrwx 3 root root 4096 2011-07-03 04:56 npcmodes
drwxrwxrwx 5 root root 4096 2011-07-03 04:56 plugins
-rwxrwxrwx 1 root root 1847 2011-07-03 04:47 README
-rwxrwxrwx 1 root root 1292928 2011-07-03 04:48 samp
-rwxrwxrwx 1 root root 589020 2011-07-03 04:47 samp-npc
drwxrwxrwx 13 root root 94208 2011-07-03 04:58 scriptfiles
-rwxrwxrwx 1 root root 334 2011-07-03 12:02 server.cfg


Re: Ubuntu Server Will Not Execute SAMP... - Eriick_OwnZ - 03.07.2011

@Sew
is installed correctly


Re: Ubuntu Server Will Not Execute SAMP... - Sew_Sumi - 03.07.2011

Quote:
Originally Posted by Eriick_OwnZ
Посмотреть сообщение
@Sew
is installed correctly
First rule in linux, Is RUN NOTHING UNDER ROOT.


Personally, I doubt it is installed correctly.


Re: Ubuntu Server Will Not Execute SAMP... - iLinx - 03.07.2011

Eric, you're missing the samp03svr file. I'm not sure where your samp03svr file is located, however you could run the following command to get it back to your directory:

# mv /path/to/samp03svr ~/server7722

If you cannot find it yourself you could run the following command:

# locate samp03svr

Additionally, you could just do a fresh install using the following commands:

# cd ~
# rm -rf server7722
# wget http://team.sa-mp.com/files/samp03csvr_R2-2.tar.gz
# tar xvfz samp03c*
# mv samp03 server7722
# cd server7722
# cat server.cfg | sed s/'rcon_password changeme'/'rcon_password changeme2'/ > tmp && mv tmp server.cfg
# ./samp03svr


Re: Ubuntu Server Will Not Execute SAMP... - Calgon - 03.07.2011

Quote:

-rwxrwxrwx 1 root root 1292928 2011-07-03 04:48 samp

Did you rename your SA-MP server file?