CentOS 6 problem... ./samp03svr doing nothing. -
Tasty_Noob - 20.11.2012
It just creates a new line for input. Says nothing, logs nothing. I've restarted the dedi, reuploaded the server files. Can't seem to figure this out.
Re: CentOS 6 problem... ./samp03svr doing nothing. -
CrazyChoco - 20.11.2012
Explain, if you wanna run your VPS, maybe try: nohup ./samp03svr &
or first cd to your samp folder
Re: CentOS 6 problem... ./samp03svr doing nothing. -
kaisersouse - 20.11.2012
If you are using screen or nohup to launch server, it doesnt behave the same way as the windows server console. While server is running, change directories to your SAMP server dir and do
"tail -f server_log.txt"
Play on server, you should see server_log.txt updating as usual.
If you ARE using screen, Make sure you hit ctrl-a and then the 'd' key to disconnect from the screen. Simply closing the SSH window will stop your server.
Re: CentOS 6 problem... ./samp03svr doing nothing. -
Manuel_Franco - 20.11.2012
Open your port, if you have firewall open ports in firewall, if you have iptables open port in iptables.
Example if you want open port 7777 you have write
iptables -A INPUT -p udp --dport 7777 -j ACCEPT
then service iptables save
after service iptables restart and
Check if you install well samp server and dont forget give permission chmod 700 * in samp directory
Check it here.
https://sampwiki.blast.hk/wiki/Linux_Server
Sorry for my bad English.
Re: CentOS 6 problem... ./samp03svr doing nothing. -
kaisersouse - 20.11.2012
I run CentOS6 as well, heres my "sampstart.sh" script:
navigate to SAMP folder
"nano sampstart.sh"
Paste the following in it:
Quote:
#!/bin/sh
screen -S samp ./samp03svr
|
ctrl-x to close, make sure you save changes
"chmod +x sampstart.sh"
Then to start server just navigate to SAMP folder and do "./sampstart.sh"
After it starts hit ctrl-a and then press 'd' to disconnect from screen. To reconnect do 'screen -r samp' if you want to ctrl-c your server (stops it).
To keep eye on server log do 'tail -f server_log.txt'
Re: CentOS 6 problem... ./samp03svr doing nothing. -
GWMPT - 20.11.2012
when you do ./samp-server at centos 6
It is just going to show "server started at port...".
Re: CentOS 6 problem... ./samp03svr doing nothing. -
Tasty_Noob - 20.11.2012
I don't want to run the server in the background. I want to be able to CTRL+C end the server in order to restart it. I use a GUI so I can do that and not have to worry about closing my SSH. I had it running earlier but it just wont work now. I CD to my samp03 directory and do
./samp03svr
All ports are automatically opened on the server, I'm not new to running game servers, I have a few others. Anyway, I don't understand at all what the problem is.
Re: CentOS 6 problem... ./samp03svr doing nothing. -
kaisersouse - 20.11.2012
Is the server running? Can you join it and play it?
Re: CentOS 6 problem... ./samp03svr doing nothing. -
Tasty_Noob - 20.11.2012
No I can not.
Re: CentOS 6 problem... ./samp03svr doing nothing. -
park4bmx - 20.11.2012
cd to your server and just execute this
It will ignore input and output and still run if you close the window.