Hi everybody, after creating the virtual machine successfully (and I have done it many times), it seems I have no console. I give the command # xm console <Domain> and I get the result "xenconsole: Could not read tty from store: No such file or directory" I''m a newbie and my efforts to solve this problem have been useless until now. Is there anybody who could give me a hint? Thanks in advance _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009/3/13 Molly Bloom <psalviato@gmail.com>> > Hi everybody,Hello,> > after creating the virtual machine successfully (and I have done it many times), it seems I have no console. > I give the command > # xm console <Domain> > and I get the result > "xenconsole: Could not read tty from store: No such file or directory" > I''m a newbie and my efforts to solve this problem have been useless until now. > Is there anybody who could give me a hint?Have you check your tty configuration in the xen-tools.conf? you have to add or uncomment this line: serial_device = hvc0 Hope this will help.> > Thanks in advance > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
rsi 42 wrote:> 2009/3/13 Molly Bloom <psalviato@gmail.com> > >> Hi everybody, >> > > Hello, > > >> after creating the virtual machine successfully (and I have done it many times), it seems I have no console. >> I give the command >> # xm console <Domain> >> and I get the result >> "xenconsole: Could not read tty from store: No such file or directory" >> I''m a newbie and my efforts to solve this problem have been useless until now. >> Is there anybody who could give me a hint? >> > > Have you check your tty configuration in the xen-tools.conf? > you have to add or uncomment this line: > > serial_device = hvc0 > > Hope this will help. >One of my problems is that I''m working on a red-hat with a xen kernel (dom0) and, apart from that, I have just virt-manager installed. Nobody told me to use xen-tools or xen-shell, it seems things should work anyway, but it''s also true that I''m quite free to do what I want. With virt-install I have already succeeded in installing virtual machines, but I don''t have the console anyway. What should I do, in your opinion?>> Thanks in advance >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Mar 16, 2009 at 3:47 PM, Paola Salviato <psalviato@gmail.com> wrote:> One of my problems is that I''m working on a red-hat with a xen kernel (dom0) > and, apart from that, I have just virt-manager installed. Nobody told me to > use xen-tools or xen-shell, it seems things should work anyway, but it''svirt-install, virt-manager, and virsh is enough if you''re comfortable with with it. Personally I like "xm" better. Any of them should work. The same is also true when you use Xen 3.3.1 rpms from Gitco on RHEL/Centos.> also true that I''m quite free to do what I want. With virt-install I have > already succeeded in installing virtual machines, but I don''t have the > console anyway. What should I do, in your opinion?AFAIK virt-install on RHEL should create a working xen installation with a usable vnc console. If you want a text console that you can connect to with "xm console", however, you need to do some additional setup. Basically the same thing you''d do if you want to setup serial console on a real machine, with the difference that serial port name is xvc0. I wrote something earlier on this list about using jailtime.org images on RHEL/Centos. It should give you an alternative way to setup domU (other than using virt-install), plus give you a hint on how to setup domU with text console http://lists.xensource.com/archives/html/xen-users/2009-03/msg00372.html The part that sets up serial port are the ones about /etc/inittab and /etc/securetty. Note that my example config file is different from the ones created with virt-install, in that it ONLY have text console without vnc. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Molly Bloom <psalviato@gmail.com> writes:> after creating the virtual machine successfully (and I have done it many > times), it seems I have no console. > I give the command > # xm console <Domain> > and I get the result > "xenconsole: Could not read tty from store: No such file or directory"Nearly always, this problems is caused by a dead xenconsoled. If xenconsoled isn''t running, restart it with /usr/sbin/xenconsoled and then try to restart your domain. If that was the problem, let me see your uname -a. I''ve seen this a lot on i386 CentOS/RHEL hosts, not much on x86_64 or on i386 xen.org kernels. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks a lot, I''ve been able to solve my problem with your help. Cheers, paola 2009/3/16 Fajar A. Nugraha <fajar@fajar.net>> On Mon, Mar 16, 2009 at 3:47 PM, Paola Salviato <psalviato@gmail.com> > wrote: > > One of my problems is that I''m working on a red-hat with a xen kernel > (dom0) > > and, apart from that, I have just virt-manager installed. Nobody told me > to > > use xen-tools or xen-shell, it seems things should work anyway, but it''s > > virt-install, virt-manager, and virsh is enough if you''re comfortable > with with it. Personally I like "xm" better. Any of them should work. > The same is also true when you use Xen 3.3.1 rpms from Gitco on > RHEL/Centos. > > > also true that I''m quite free to do what I want. With virt-install I have > > already succeeded in installing virtual machines, but I don''t have the > > console anyway. What should I do, in your opinion? > > AFAIK virt-install on RHEL should create a working xen installation > with a usable vnc console. > If you want a text console that you can connect to with "xm console", > however, you need to do some additional setup. Basically the same > thing you''d do if you want to setup serial console on a real machine, > with the difference that serial port name is xvc0. > > I wrote something earlier on this list about using jailtime.org images > on RHEL/Centos. It should give you an alternative way to setup domU > (other than using virt-install), plus give you a hint on how to setup > domU with text console > > http://lists.xensource.com/archives/html/xen-users/2009-03/msg00372.html > > The part that sets up serial port are the ones about /etc/inittab and > /etc/securetty. Note that my example config file is different from the > ones created with virt-install, in that it ONLY have text console > without vnc. > > Regards, > > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks a lot, I''ve been able to solve my problem with your help. Cheers, paola 2009/3/16 Fajar A. Nugraha <fajar@fajar.net>> On Mon, Mar 16, 2009 at 3:47 PM, Paola Salviato <psalviato@gmail.com> > wrote: > > One of my problems is that I''m working on a red-hat with a xen kernel > (dom0) > > and, apart from that, I have just virt-manager installed. Nobody told me > to > > use xen-tools or xen-shell, it seems things should work anyway, but it''s > > virt-install, virt-manager, and virsh is enough if you''re comfortable > with with it. Personally I like "xm" better. Any of them should work. > The same is also true when you use Xen 3.3.1 rpms from Gitco on > RHEL/Centos. > > > also true that I''m quite free to do what I want. With virt-install I have > > already succeeded in installing virtual machines, but I don''t have the > > console anyway. What should I do, in your opinion? > > AFAIK virt-install on RHEL should create a working xen installation > with a usable vnc console. > If you want a text console that you can connect to with "xm console", > however, you need to do some additional setup. Basically the same > thing you''d do if you want to setup serial console on a real machine, > with the difference that serial port name is xvc0. > > I wrote something earlier on this list about using jailtime.org images > on RHEL/Centos. It should give you an alternative way to setup domU > (other than using virt-install), plus give you a hint on how to setup > domU with text console > > http://lists.xensource.com/archives/html/xen-users/2009-03/msg00372.html > > The part that sets up serial port are the ones about /etc/inittab and > /etc/securetty. Note that my example config file is different from the > ones created with virt-install, in that it ONLY have text console > without vnc. > > Regards, > > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users