The Meaning of Life, the Universe, and Everything.
Location:
Neverland
Join Date:
7/25/2012
Posts:
302
Minecraft:
HalestormXV
Member Details
Alright maybe some other server owners out there have a solution to this. I run a dedicated box that hosts three servers. One of the server is fairly popular and naturally is the one that this error occurs on.
The server doesn't crash. As a matter of fact it is still running but the issue that occurs is that it "hangs-up." And by hang up I mean the server itself is still running but all that occurs when you try to connect is "Pinging" and users cannot connect to it. So the only way to resolve this is to restart the server and then generally it goes back to normal. (Unless of course my data-center is having a network issue)
I honestly don't know what causes this and that is not what I am trying to solve. I am trying to figure out a way to correct this when it happens. Now I run, as a stated above, a dedicated box. So I have full root shell access to it and I utilize Multicraft to manager my servers. Does anyone have a method or shell script that I can perhaps run via cron that will ping the server and if it fails can execute the restart command? I imagine since the server is run by multicraft the restart command would have to be executed by the Daemon since I don't think I have a way to detect the screenID in order to use the "stuff" command to have it run a "restart" in the console to fix the issue.
Anyone have any suggestions? Or hey maybe there is a much simpler way to do it all via Multicraft itself. I was checking out their command documentation here: http://www.multicraft.org/site/docs?view=howto#commands and it looks like maybe it is possible utilizing their custom commands system to execute a shell script that pings and if no response executes a restart? Anyone share some thoughts or what they may do to resolve this if they run across it?
The Meaning of Life, the Universe, and Everything.
Location:
Neverland
Join Date:
7/25/2012
Posts:
302
Minecraft:
HalestormXV
Member Details
No it is a dedicated box that I own. I am able to access it via SSH login. It's my box essentially that I am renting. I have a feeling it is not the company. It is OVH and I know they host a decent amount of some dedicated servers.
Alright maybe some other server owners out there have a solution to this. I run a dedicated box that hosts three servers. One of the server is fairly popular and naturally is the one that this error occurs on.
The server doesn't crash. As a matter of fact it is still running but the issue that occurs is that it "hangs-up." And by hang up I mean the server itself is still running but all that occurs when you try to connect is "Pinging" and users cannot connect to it. So the only way to resolve this is to restart the server and then generally it goes back to normal. (Unless of course my data-center is having a network issue)
I honestly don't know what causes this and that is not what I am trying to solve. I am trying to figure out a way to correct this when it happens. Now I run, as a stated above, a dedicated box. So I have full root shell access to it and I utilize Multicraft to manager my servers. Does anyone have a method or shell script that I can perhaps run via cron that will ping the server and if it fails can execute the restart command? I imagine since the server is run by multicraft the restart command would have to be executed by the Daemon since I don't think I have a way to detect the screenID in order to use the "stuff" command to have it run a "restart" in the console to fix the issue.
Anyone have any suggestions? Or hey maybe there is a much simpler way to do it all via Multicraft itself. I was checking out their command documentation here: http://www.multicraft.org/site/docs?view=howto#commands and it looks like maybe it is possible utilizing their custom commands system to execute a shell script that pings and if no response executes a restart? Anyone share some thoughts or what they may do to resolve this if they run across it?
Bump this, maybe it was missed by people?
It's a kCauldron server (the continuation of the Cauldron project)
No it is a dedicated box that I own. I am able to access it via SSH login. It's my box essentially that I am renting. I have a feeling it is not the company. It is OVH and I know they host a decent amount of some dedicated servers.