-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't start any server #53
Comments
I have the same issue. I think this is the same issue for SAMP as before - if you leave the rcon password empty inthe config, the server silently fails. Here is an strace: read(5, "\nPST8PDT,M3.2.0,M11.1.0\n", 4096) = 24 |
Fixed it. Reinstall SAMP from cloud games, and replace your includes/classes/servers.php file with the latest from github. This issue was caused due to no Rcon Password being specified, so when you hit Restart, the server reset the rcon in the config, and samp silently failed. See commit: 594e923 |
Thats not it. I actually had my own rcon password in the config. I still get "Failed: success" with the latest servers.php file. |
Not in the config file. Do you have an rcon password set in the Settings tab for your server in GPX? That fix I sent out only fixed new SAMP servers; current ones are fixed by adding an rcon pass in the settings tab, saving that, and restarting the server. What happens if you su - gpx, cd to the game directory, and run the samp executable by hand? |
Ok so i now tried to create a new server and now I get "Failed: Success" on creating it. After that i get "Error: error, Internal Server Error" in the Servers page and i get "Failed: Failed to move server: Sorry, did not receive all required options!" when i try to save the server settings... Also the files are now completely missing on the panel, but the FTP is working fine. |
I enabled the debug mode again, i even get "Failed:" in debug mode before the log. I think the master or the remote files are messed up since I updated my October install with the latest files. I ran the update script on the remote with the latest files too. |
Yeah it sounds like there are some inconsistencies between versions that you have. Getting all those errors is very weird and I have not seen that myself. For the internal server error, can you check your PHP/http error log for what the error was? How many servers are you running? I suppose it's not as simple these days since I provide code via GitHub and have not done an official release in some time. I should probably provide an official one more often. |
Can't find any recent error log in /var/log/httpd. The latest one is from 3 days ago (some bot searching for exploits). |
Any chance I can have access to a machine there to check this out? Also, does this issue happen on any other server, or just SAMP? (sorry if you already mentioned) I had meant to ask how many gameservers that system is managing, to see if a clean reinstall would be in the cards. |
K, so i just did complete Master and Remote reinstall and the SA-MP server is not starting. I only get Success now and nothing happens.. the game server is not starting. I also did su - gpx and i can run the server manually. |
I installed a Minecraft server now and i can't start it.. same as the SA-MP server. I'm using the same parameter as the old install (it was working fine). |
Fresh github code for both master and remote? I'd really like to see how
|
I found the issue: Any idea how to fix this? It looks like some issue with screen or permissions on the remote? Can you please help me? Anyway, i used the tutorial from the wiki to install the master on my centos server and i just did a clean install of the remote with the uninstall script and installing it with the install script. The code is the latest one from github for both remote and the master installations. |
Strange, i rebooted the remote server with "reboot -n" and everything works after the reboot.. |
The screen permissions issue...that is weird, so what was "/var/run/screen/S-theserveruser", in relation to the actual user you were trying to restart for? Was it the exact same username with gpx prefixed? Otherwise, where do we stand? All is working? |
It was not gpx prefixed. It was just the username of the account without gpx prefix. Everything is working fine after the reboot. |
Good to hear. Will close this as things are working for you. |
I've just installed manually the latest SA-MP server 0.3X(R2). I created a new user and a new server and it failed to start. All i get is "Failed: success" with a red cross. So i enabled the debug mode in the config and i found no error in the start up procedure. It shows up as normal, with "success" at the end of the log.
I'm using the latest master and remote files from github. There are no indications of any error. I also tried using the command "top -U gpxtheusername" but i see no processes running even when i click on the restart button. Maybe occasionally it shows few processes and they disappear quickly afterwards.
The FTP is working fine, the remote user is fine, SSH is fine, the game ports are open.
The text was updated successfully, but these errors were encountered: