On Sat, 2012-03-17 at 16:30 +0000, Su Zhang wrote:
> On Sat, Mar 17, 2012 at 3:24 AM, Ian Campbell
> 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
> > I googled and found out that this issue is mostly result
> > forgetting starting xenconsole service.
> > However, after I started xenconsole, the issue is still
I'm not at all familia!
virt-install or Fedora but given this
> > see:
> You might need to restart your guests and/or toolstack after
> This should all have been taken care of by the initscripts
> shipped with
> xen -- are you not using them for some reason?
> Do initscripts here refer to the xen-related scripts
> under /etc/init.d/ ?
> Like xencomms?
> [root@XenTester su]# virt-install -l
/ -p -n f13 -r 768 --vcpus=1
> --disk=/srv/xen/mailserver.img --graphics vnc,listen=0.0.0.0,port=5901
to your guest configuration. I'm afraid I don't know h!
domain is to be called "f13" I would have expected a Fedora mirror to be
listed rather than the CentOS 5 mirror. Is this normal?
Do you know if this command will create a PV or an HVM guest?
If this is an HVM domain then it is possible that it simply doesn't have
a text console which you can connect to with xl console. The "Could not
read tty from store" message is often indicative of this.
It appears you have configured VNC for this domain, have you tried
connecting a vncviewer to port 5901 on the host? e.g. vncviewer
localhost:1 or localhost::5091 (check the vncviewer manpage, I'm not
sure of the syntax). Perhaps virt-* includes a command to do this for
If you want a text console from an HVM guest then you can do the
virt-install equivalent of adding
series = 'pty'
that with virt-install though.
If this is a PV guest then I have no idea what might be wrong.