[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xenconsole: Could not read tty from store: No such file or directory





On Sat, Mar 17, 2012 at 3:24 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Fri, 2012-03-16 at 23:45 +0000, Su Zhang wrote:
> Hello Community,
>
> I encountered an error while running "xm console domU". Here is the
> running script:
>
> # xm console domU
> xenconsole: Could not read tty from store: No such file or directory
>
> I googled and found out that this issue is mostly result from
> forgetting starting xenconsole service.
> However, after I started xenconsole, the issue is still there. Please
> see:

You might need to restart your guests and/or toolstack after starting
xenconsole.

This should all have been taken care of by the initscripts shipped with
xen -- are you not using them for some reason?


Ian,

   Do initscripts here refer to the xen-related scripts under /etc/init.d/ ?
   Like xencomms?
   I've actually used xencomms and xend, also I reinstalled the domU (f13 here).
   However, the issue is still there.
  Could you please take a look at the following running script and see what is the problem here?

  [root@XenTester su]# /etc/init.d/xencommons start
Starting xenstored...
Setting domain 0 name...
Starting xenconsoled...
[root@XenTester su]# /etc/init.d/xend start
RTNETLINK answers: Device or resource busy
[root@XenTester su]# /etc/init.d/xend start
[root@XenTester su]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3328     2     r-----    122.2
f13                                              768     1                 0.0
[root@XenTester su]# xm destroy f13
[root@XenTester su]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3328     2     r-----    137.9
f13                                              768     1                 0.0
[root@XenTester su]# xm delete f13
[root@XenTester su]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3328     2     r-----    138.3
[root@XenTester su]# virt-install -l http://mirror.centos.org/centos/5/os/i386/ -p -n f13 -r 768 --vcpus=1 --disk=/srv/xen/mailserver.img --graphics vnc,listen=0.0.0.0,port=5901 --noautoconsole

Starting install...
Retrieving file .treeinfo...                                                                                                                                                            |  826 B     00:00 ...
Retrieving file vmlinuz...                                                                                                                                                              | 4.4 MB     00:02 ...
Retrieving file initrd.img...                                                                                                                                                           |  22 MB     00:08 ...
Creating domain...                                                                                                                                                                      |    0 B     00:01    
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
[root@XenTester su]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3328     2     r-----    146.2
f13                                          1   768     1     -b----      0.5
[root@XenTester su]# xm console f13
xenconsole: Could not read tty from store: No such file or directory


Thanks,

>
> # /usr/sbin/xenconsoled
> # xm console domU
> xenconsole: Could not read tty from store: No such file or directory
>
> Can anyone take a look at this issue?
>
> Any suggestions will be appreciated,
>
> --
> Su Zhang
> Ph.D Candidate
> Computing and Information Sciences
> Kansas State University





--
Su Zhang
Ph.D Candidate
Computing and Information Sciences
Kansas State University
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.