PhonicUK.com Forums

 

These forums are no longer active. Please visit the new forums at forums.phonicuk.com


Forum Index >> McMyAdmin >> View Thread

You are logged in as: Guest

Viewing Thread: McMyAdmin shuts down when remote connection is lost


 #1 Posted: 8/17/2011 4:09:13 PM GMT
Poster:
micahdg Regular User
Regular User

4 posts
CentOS 5.? 64-bit
McMyAdmin 0.9.6.8
Mono 2.10.1


Summary: McMyAdmin shuts down when connection to console via putty is lost.

Even though I own a portion of it, I don't exactly know a lot about how to run the server I'm running the game on so please forgive me if I sound a little ignorant. My server is located in a facility near San Francisco, just so you understand it's not running on my computer :) I've had McMyadmin set up and running quite well for a few days on my server after running it off my personal computer for the last 2 months. I control the server remotely via an SSH console in putty. Last night my personal internet died and putty lost connection to the server. According to the logs, when my internet died:
2011-08-16 19:51:00 [INFO] pong MCMA
2011-08-16 19:51:45 [INFO] Stopping server
And the server continued to be down until I woke up, reset my cursed router, logged in with putty and restarted mcmyadmin.

Please keep in mind that I barely know what I'm doing with linux so please go easy on me... my question is, how do I set up mcmyadmin to run without me being connected to my server and if it's possible to set up mcmyadmin to run on its own, how do I log into it to manipulate it if I so choose?

Thanks!!

 

 

You need to login to report or quote posts. 

 #2 Posted: 8/17/2011 5:01:42 PM GMT
Poster:
ats1080 Regular User
Regular User

36 posts
You're either going to have to run it on the server or deal with it.  There's no way around that, sorry.

 

 

You need to login to report or quote posts. 

 #3 Posted: 8/17/2011 5:32:33 PM GMT
Poster:
micahdg Regular User
Regular User

4 posts
What do you mean by "running it on the server"?

 

 

You need to login to report or quote posts. 

 #4 Posted: 8/17/2011 8:49:27 PM GMT
Poster:
PhonicUK Admin
Administrator

1431 posts
You need to run McMyAdmin in a screen session, or use nohup

sudo yum install screen

man screen

 

Please only download PhonicUK software from PhonicUK.com!

 

You need to login to report or quote posts. 

 #5 Posted: 8/17/2011 11:00:25 PM GMT
Poster:
micahdg Regular User
Regular User

4 posts
Thank you for your assistance thus far.

I executed "sudo yum install screen" and it downloaded and installed some stuff.

Then I typed "man screen" and I get a list of usage details for 'screen'

Please know that I barely know wth I'm doing with linux. If you can give me specific commands to paste into the terminal and execute, that is by far the best format for me :D A brief explanation of what's going on is welcome but not required.

Thank you!

 

 

You need to login to report or quote posts. 

 #6 Posted: 8/18/2011 7:03:47 PM GMT
Poster:
PhonicUK Admin
Administrator

1431 posts
Simply run "screen" on its own, then in there you can run McMyAdmin as normal and close your session.

You can use screen -x in a new session to recover the existing console.

 

Please only download PhonicUK software from PhonicUK.com!

 

You need to login to report or quote posts. 

 #7 Posted: 8/18/2011 9:38:25 PM GMT
Poster:
micahdg Regular User
Regular User

4 posts
Ahah! Perfect! Thank you very much!

 

 

You need to login to report or quote posts.