Re: error when trying to connect with virt-manager

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

 



On Wed, Nov 22, 2006 at 12:27:01PM -0000, Fischer, Anna wrote:
> The log says:
> 
> Wed, 22 Nov 2006 12:17:44 ERROR    Unable to open connection to
> hypervisor URI 'xen': socket.gaierror (-2, 'Name or service not known') 

Hmm, sounds like you have a messed up /etc/hosts file - check that
the line for '127.0.0.1' has a name 'localhost' associated with it,
eg

$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost.localdomain localhost


> 
> "virsh list" runs perfect on my system. Furthermore, a strange thing is
> that while this error message window is shown when virt-manager starts
> up, I can see in the background (virt-manager GUI is actually loaded
> while showing the error message) that virt-manager shows Dom0 and its
> CPU usage etc. correctly. So why do I get this error message then and
> virt-manager shuts down?

Its it failing to lookup 'localhost' when opening the console for the
guest I think.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux