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

Re: [Fedora-xen] error when trying to connect with virt-manager

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 '' has a name 'localhost' associated with it,

$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.               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.

|=- 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  -=| 

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