Code Monkey home page Code Monkey logo

Comments (17)

devryan avatar devryan commented on June 13, 2024

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
write(3, "[14:16:23] rcon_password = "chan"..., 48) = 48
read(4, "", 4096) = 0
write(3, "[14:16:23] Error: Your password "..., 93) = 93

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

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

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

Thats not it. I actually had my own rcon password in the config. I still get "Failed: success" with the latest servers.php file.

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

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?

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

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.

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

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.
The permissions are fine too, i did this:
sudo chown apache: . -R
sudo chmod ug+rw configuration.php _SERVERS/*
sudo chmod ug+x _SERVERS/scripts/*

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

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.

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

Can't find any recent error log in /var/log/httpd. The latest one is from 3 days ago (some bot searching for exploits).
I'm running 1 remote server.

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

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.

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

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.

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

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).

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

Fresh github code for both master and remote? I'd really like to see how
you're installing things as something is very wrong.
On Jan 2, 2014 6:19 PM, "antoniobenedetti" [email protected] wrote:

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).


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-31501512
.

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

I found the issue:
Fri Jan 3 03:18:20 CET 2014 host1 Restart: Failed to start GNU Screen, no PID! Exiting.
Fri Jan 3 03:28:04 CET 2014 host1 Restart: Restarting The-IP-Here:25567 for user theserveruser ...
You are not the owner of /var/run/screen/S-theserveruser.

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.

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

Strange, i rebooted the remote server with "reboot -n" and everything works after the reboot..

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

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?

from gamepanelx-v3.

antoniobenedetti avatar antoniobenedetti commented on June 13, 2024

It was not gpx prefixed. It was just the username of the account without gpx prefix. Everything is working fine after the reboot.

from gamepanelx-v3.

devryan avatar devryan commented on June 13, 2024

Good to hear. Will close this as things are working for you.

from gamepanelx-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.