Re: virsh console giving Error

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

 



Dňa 12.12.2011 8:05, Amit Tewari  wrote / napísal(a):
Hi,
I am using libvirt 0.9.7

This is a known regression in 0.9.7. It has been fixed by two commits upstream and is now included in 0.9.8 release. An upgrade should fix your problem.

Peter



-----Original Message-----
From: Kashyap Chamarthy [mailto:kchamart@xxxxxxxxxx]
Sent: Monday, December 12, 2011 12:32 PM
To: Amit Tewari
Cc: libvir-list@xxxxxxxxxx
Subject: Re:  virsh console giving Error

On 12/12/2011 12:16 PM, Amit Tewari wrote:
Hi all,

Following is my test environment

Host os= rhel6.1

Guest os=rhel6.1

Hypervisor - kvm



I have a created a guest machine using virt-install command. And it
has created guest
successfully.

But now when I issue following command

#virsh console guest



Following error is displayed -



"Error: internal error character device (null) is not using a PTY"



Please let me no how can I avoid this error.

You have not specified what distribution, version of libvirt are you
using.

First, can you ensure if you have serial console set up in your guest by
checking if you
have the below directives in your guest kernel's command line options
(in /etc/grub.conf)

----
console=tty0 console=ttyS0,115200
----

If not, you can add it by running the below (ensure the guest is
shut-off):

# virt-edit guest /etc/grub.conf

'virt-edit' tool comes with libguestfs-tools-c package.


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]