Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Apr 21, 2012 4:47 pm 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
I am trying to log in via LISH because like an idiot I disabled my ssh remote access. When I log in I get redis server output.
2234] 21 Apr 16:28:11 - 0 clients connected (0 slaves), 547448 bytes in use
[2234] 21 Apr 16:28:16 - 0 clients connected (0 slaves), 547448 bytes in use
[2234] 21 Apr 16:28:21 - 0 clients connected (0 slaves), 547448 bytes in use
[2234] 21 Apr 16:28:26 - 0 clients connected (0 slaves), 547448 bytes in use
[2234] 21 Apr 16:28:31 - 0 clients connected (0 slaves), 547448 bytes in use

Can anyone tell me how I can terminate this process so I can get into my server. Right now I am not able to do anything due to this output.


Top
   
 Post subject:
PostPosted: Sat Apr 21, 2012 5:16 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
It sounds like you might have installed redis such that it isn't detaching from the console (like a daemon should) when you start it. Try hitting ctrl-c to see if that coerces it into stopping.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject: ctrl c
PostPosted: Sat Apr 21, 2012 5:29 pm 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
yeah tried that ctrl c does not work.


Top
   
 Post subject:
PostPosted: Sat Apr 21, 2012 5:43 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
ps aux | grep redis

Grab the pid
kill [pid]

How did you install redis?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sun Apr 22, 2012 9:57 pm 
Offline
Junior Member

Joined: Mon Sep 19, 2011 2:48 am
Posts: 28
obs wrote:
ps aux | grep redis

Grab the pid
kill [pid]

How can he do this when the whole problem is he cant do anything due to redis having control of the console? Correct me if I'm wrong but if he could issue commands, there wouldn't be a problem here.

Can you run ps and kill from lish?

Maybe I don't understand how lish works and I suppose I could go try it out but I didn't really plan on playing with it unless I actually need to.


Top
   
 Post subject:
PostPosted: Sun Apr 22, 2012 10:46 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
Typo wrote:
Can you run ps and kill from lish?


not if the console is locked up. Something with sysrq might do it, looks like k would kill what's running on the console.


Top
   
 Post subject:
PostPosted: Mon Apr 23, 2012 7:13 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Typo wrote:
obs wrote:
ps aux | grep redis

Grab the pid
kill [pid]

How can he do this when the whole problem is he cant do anything due to redis having control of the console? Correct me if I'm wrong but if he could issue commands, there wouldn't be a problem here.

Can you run ps and kill from lish?

Maybe I don't understand how lish works and I suppose I could go try it out but I didn't really plan on playing with it unless I actually need to.


Ah whoops didn't read the post properly, in that case then it's possible that the redis output is just covering the login shell so pressing enter a few times can make it appear, otherwise the problem is the login shell isn't appearing and that's a broken console setup.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group