Posts: 132
Threads: 8
Joined: Aug 2008
Reputation:
0
after your "cd" command, do " chmod 777 * " then try again your " nohup ./samp03svr & " command.
Posts: 132
Threads: 8
Joined: Aug 2008
Reputation:
0
chmod 777 *
dont forget the *
Posts: 132
Threads: 8
Joined: Aug 2008
Reputation:
0
enjoy your server, and look over ****** what is chmod, basicly you just set all the files and folder with read/write/execute permission in your folder. also the way your started it mean that your sa-mp server will not restart by itself if ever it crash.
have an happy linux learning.
Posts: 412
Threads: 20
Joined: Mar 2009
Reputation:
0
Just thought I'd add some useful information...
Your SA:MP server should not be run under root. You should create a new user, and then chown the directory to be owned by the new user. Example:
Use useradd (****** for the syntax for this command), or webmin to add a new user. You could call it "samp" and put it in the group "users".
chown samp:users /home/samp -R
su samp
cd /home/samp
chmod +x samp03svr
nohup ./samp03svr &
That's all you need to do. chmod'ing 777 may work, but it's not a secure way of doing it - it allows any other user on the vps to view/edit/delete the files in there (especially if you run more than one server). Each time you create a new service (voice server, game server, whatever), make a new user and run the service under that.