SA-MP Forums Archive
VPS Server on linux - Please help! +REP - 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 Server on linux - Please help! +REP (/showthread.php?tid=329547)



VPS Server on linux - Please help! +REP - Joshb93 - 29.03.2012

Ok, so i downloaded the server files uses wget, i setup the port in my firewall, and i added all my files, and setup the server.cfg file just like its supposed to be. But when i go into the ssh and start the server, it says its started, but when i add the IP:PORT to my list, it jsut says (retrieving info...).. Can someone help me??

+ REP!


Re: VPS Server on linux - Please help! +REP - [D]Stanley - 29.03.2012

Hmm, Okay.

1) Check if the IP & Port were written correctly
2) Make sure the server is running, tell me what it says when It started
3)Make sure you have the server online running.
4) If it still doesn't work, try reinstalling the client


Re: VPS Server on linux - Please help! +REP - Joshb93 - 29.03.2012

Quote:
Originally Posted by [D]Stanley
View Post
Hmm, Okay.

1) Check if the IP & Port were written correctly
2) Make sure the server is running, tell me what it says when It started
3)Make sure you have the server online running.
4) If it still doesn't work, try reinstalling the client
Already done all of that, not working.

"Started server on 108.***.***.***:1993, with maxplayers: 100 lanmode is OFF."


Re: VPS Server on linux - Please help! +REP - [D]Stanley - 29.03.2012

Okay, what version is your client?


Re: VPS Server on linux - Please help! +REP - Joshb93 - 29.03.2012

My SAMP client is 0.3d


Re: VPS Server on linux - Please help! +REP - [D]Stanley - 29.03.2012

Try turning off your firewall.


Re: VPS Server on linux - Please help! +REP - Joshb93 - 29.03.2012

Nope, didnt help. :/

Also, my VPS is running CentOS, if that helps...


Re: VPS Server on linux - Please help! +REP - Cameltoe - 29.03.2012

Is the ports forwarded in iptables?


Re: VPS Server on linux - Please help! +REP - Joshb93 - 29.03.2012

Quote:
Originally Posted by Cameltoe
View Post
Is the ports forwarded in iptables?
All i did was went to the firewall setting in my VPS panel and forwarded the port im using.


Re: VPS Server on linux - Please help! +REP - Unknownich - 29.03.2012

Login as root and add permission on 'announce', also make sure that announce is '1' in server cfg.


Re: VPS Server on linux - Please help! +REP - LiadDoriToS - 29.03.2012

mybe your server using External FireWall?
if you are using a External firewall you need to open in the firewall the port.


Re: VPS Server on linux - Please help! +REP - denNorske - 29.03.2012

I know this problem, i just had it. Click on properties on the Announce-file, and select "allow to run this file as a program" and close. Be sure that announce is set to 1 in CFG file, and try again. Show me output of log-file if it doesnt work. I have linux too.


Re: VPS Server on linux - Please help! +REP - kikito - 29.03.2012

Quote:
Originally Posted by airplanesimen
View Post
I know this problem, i just had it. Click on properties on the Announce-file, and select "allow to run this file as a program" and close. Be sure that announce is set to 1 in CFG file, and try again. Show me output of log-file if it doesnt work. I have linux too.
You should be running linux with remote desktop, because via ssh, you cannot do that LOL.


Re: VPS Server on linux - Please help! +REP - VOXrr - 29.03.2012

Quote:
Originally Posted by (A)rray
View Post
You should be running linux with remote desktop, because via ssh, you cannot do that LOL.
Yes you can.

Code:
chmod +x samp03svr



Re: VPS Server on linux - Please help! +REP - kikito - 29.03.2012

Quote:
Originally Posted by VOXrr
View Post
Yes you can.

Code:
chmod +x samp03svr
No we can't.
He said:

Code:
Click on properties on the Announce-file, and select "allow to run this file as a program" and close. Be sure that announce is set to 1 in CFG file, and try again. Show me output of log-file if it doesnt work. I have linux too.
Since when ssh have gui?


Re: VPS Server on linux - Please help! +REP - VOXrr - 29.03.2012

The function is the same, making a binary executable.
Using the gui for that is just a fluffy version of chmod.

If you want me to correct my last post:
Code:
chmod +x announce
and if you really, really want to push it.

Code:
nano server.cfg
To edit the server config file.

Just because CLI terrifies you, doesn't make it impossible.


Re: VPS Server on linux - Please help! +REP - Joshb93 - 29.03.2012

Quote:
Originally Posted by airplanesimen
View Post
I know this problem, i just had it. Click on properties on the Announce-file, and select "allow to run this file as a program" and close. Be sure that announce is set to 1 in CFG file, and try again. Show me output of log-file if it doesnt work. I have linux too.
I do not see where i can apply this, i right clicked > went to properties, and there is not an option as described. :/


Re: VPS Server on linux - Please help! +REP - VOXrr - 30.03.2012

Just read through this again; you said you 'setup a port in the firewall'.
Could you paste the iptables entry, or whatever firewall rule you've used?