LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2014, 08:28 PM   #1
connor12568
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
Exclamation Urgent help needed! (Minecraft and PuTTy)


Hello, I am managing a MC server with the Owner. And recently he has given me the PuTTy login details to start servers if they crash. We are using bungee and there is multiple screens that I can connect to for diffirent types of servers.

Anyways I was trying to fix up one of our servers (Creative) when I was detaching from the screen it said [screen is terminating] and now it's gone from the list of screens when I do screen -ls. I am a complete noob and I have no idea on what to do all I know how to do is the commands he gave me which was just screens to connect to servers. Can someone walk me through this to get the server back on my screen list?!!? Please help me!!
 
Old 04-16-2014, 09:04 PM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
if screen terminated, it terminated !

easily done, and not the end of anything real.

normally you would detach from screen with ( Ctrl+a d )
screen is still running, and you get back with screen -x <name>

it is easy to 'skip' the a and send just a Crtl+d , if it were the last shell in the screen then screen exits

Now, to get it back, best bet is 'hold up hands' and ask your friend, it might be scripted

as an example, here is one of my dumb scripts

Code:
#!/bin/bash
. /home/firerat/.profile
MAIL=/var/mail/firerat
screen -s /bin/bash -dmS AndroidCompiler -t AndroidCompiler
screen -S AndroidCompiler -p 0 -X stuff $'/home/firerat/bin/AndroidCM.sh '$@'\n'
( "stuff" is a legit screen command , not something I made up
best 'example' I can come up with right now is
https://unix.stackexchange.com/quest...n-from-outside
)

basically I have a cronjob which starts that script
it starts screen, and then injects a command, a script which runs off and gets cyanogenmod source updates and then compiles (or fails to )

So hopefully your friend has some script(s) which setup the screen sessions for each server
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Minecraft world trickery (and even minecraft on ipad) lhartvik LinuxQuestions.org Member Success Stories 2 05-28-2015 02:32 AM
LXer: GOL MineCraft Weekly. Grab Issue 2 Today, Linux Minecraft server LXer Syndicated Linux News 0 08-04-2013 12:41 PM
Help Needed with putty session damoh Linux - Newbie 11 05-10-2009 11:39 AM
help needed using the putty tool varala_kanth Linux - Newbie 2 03-19-2004 08:58 AM
help needed using the putty tool varala_kanth Linux - Software 3 03-19-2004 04:47 AM


All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration