Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Lish logview on web
PostPosted: Mon Oct 29, 2007 10:24 am 
Offline
Junior Member
User avatar

Joined: Sun Sep 19, 2004 7:42 pm
Posts: 27
Website: http://eric.gatenby.org/
Location: New York, NY
Hi,

A minor feature request: Can you please add the ability to see a linode's console log on the web, perhaps under the Utilities menu? When my linode is acting up, it would be helpful to see the console log. I do not always have access to ssh (due to work firewall, etc), but always have access to the web.

Thanks,

--Eric


Top
   
 Post subject:
PostPosted: Mon Oct 29, 2007 11:10 am 
Offline
Senior Member
User avatar

Joined: Thu Jun 21, 2007 7:13 pm
Posts: 100
Website: http://neo101.org
Do this from inside your linode:

neo101:/var/www/public# ssh harmone@host91.atlanta.linode.com > data.txt

Then you (anyone) can browse to your textfile to read what is happening.
Ask again if you wish me to elaborate.


Top
   
 Post subject:
PostPosted: Mon Oct 29, 2007 8:13 pm 
Offline
Junior Member
User avatar

Joined: Sun Sep 19, 2004 7:42 pm
Posts: 27
Website: http://eric.gatenby.org/
Location: New York, NY
harmone wrote:
neo101:/var/www/public# ssh harmone@host91.atlanta.linode.com > data.txt



The main reason I am asking this to be implemented by Linode is that it will always have the latest data, assuming that they just grab the logview output.

I could cron a command myself to grab it, but the best that it can get is 1 minute snapshots. Such a solution is very kludgy, at it's best.

If the kernel panics and the VM dies, I want to know why. As I said, I do not have access to ssh at all times, but I always have web access.


Top
   
 Post subject:
PostPosted: Mon Oct 29, 2007 8:33 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 21, 2007 7:13 pm
Posts: 100
Website: http://neo101.org
But if you run the command I suggested you will have a textfile that grows by itself in real time. You would only need to run the command once and the text file would just keep growing.

There could of course be a problem if you get a huge amount of console messages. Then the text file would grow extremely big.

EDIT 1:
btw: Is "logview output" the same thing as "console messages"?

EDIT2:
Kernel panics you say. Well. My suggestion would not work in those cases.


Top
   
 Post subject:
PostPosted: Mon Oct 29, 2007 9:01 pm 
Offline
Junior Member
User avatar

Joined: Sun Sep 19, 2004 7:42 pm
Posts: 27
Website: http://eric.gatenby.org/
Location: New York, NY
harmone wrote:
Is "logview output" the same thing as "console messages"?


Code:
% ssh myid@myhost.fremont.linode.com logview
myid@myhost.fremont.linode.com's password:


Showing last 250 lines from previous boot
-----------------------------------------

<logs removed>

Showing last 100 lines from current boot
-----------------------------------------

<logs removed>



Top
   
 Post subject: Re: Lish logview on web
PostPosted: Thu Sep 06, 2012 10:09 am 
Offline

Joined: Thu Sep 06, 2012 10:07 am
Posts: 1
Is there a way to get more than the last 250 lines of console messages prior to the last boot?

250 lines are not enough to view what the problem was ...


Top
   
 Post subject: Re: Lish logview on web
PostPosted: Fri Sep 07, 2012 12:32 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
FYI, in addition to ports 22 and 2200, Lish listens on port 443, which shouldn't be firewalled unless your workplace is really anal.


Top
   
 Post subject: Re: Lish logview on web
PostPosted: Fri Sep 07, 2012 10:47 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Mine is.
They have a proxy that MITMs all SSL pages, presenting you with an internal certificate signed by the corporate CA (so browsers accept it silently). If it's not really HTTPS, all you'll see will be a proxy error.

_________________
rsk, providing useless advice on the Internet since 2005.


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