From mboxrd@z Thu Jan 1 00:00:00 1970 From: aq Subject: Re: Cannot connect to console? Date: Wed, 22 Dec 2004 23:59:35 +0900 Message-ID: <9cde8bff041222065949b169d2@mail.gmail.com> References: <9cde8bff04122118507b161323@mail.gmail.com> <41C973D3.1040007@fzu.cz> Reply-To: aq Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41C973D3.1040007@fzu.cz> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: =?ISO-8859-1?Q?Jan_Kundr=E1t?= , Mark Williamson Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > > Here is how I connect to console (my Xen installation is from Xen > > 2.0.1 binary tarball): > > --- > > $ xm list > > Name Id Mem(MB) CPU State Time(s) Console > > Domain-0 0 245 0 r---- 271.4 > > tty 13 64 0 -b--- 0.5 9613 > > $ xm console tty > > ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** > > Cannot connect to console 13 on domain 13 > > > > ************ REMOTE CONSOLE EXITED ***************** > > $ xm console 13 > > ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** > > Cannot connect to console 13 on domain 13 > > > > ************ REMOTE CONSOLE EXITED ***************** > > $ > > what does `nc localhost 9613`? in other words, are you able to connect > to the TCP port that console is bound to? does option "-c" for `xend > create` work? ah, I forgot to tell you that the problem I got was with -c option (xm create tty.xen -c) here is the output of my attempt to connect to tcp socket, as suggested by Jan: --- $ nc localhost 9602 Cannot connect to console 13 on domain 2 --- as you see, the problem still occurs. then I tried again, this time without -c option. and I was surprised to see that "xm console tty" works (!!). so I conclude that this is the expected behaviour of Xen: if I want to connect to console with "xm console", then I must not use "-c" option? Thank you, AQ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/