Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

31.9. ローカルホストエントリの欠如が virt-manager の失敗原因

virt-manager アプリケーションが起動を失敗して、 “Unable to open a connection to the Xen hypervisor/daemon” と言うようなエラーメッセージを 表示する可能性があります。これは、通常 /etc/hosts ファイル内に localhost エントリが欠如していることが 原因です。実際に localhost エントリが あることを確認して、それが /etc/hosts 内に存在しない場合は、 新規のエントリを挿入します。不正な /etc/hosts の例として以下のような 状態があります:
# Do not remove the following line, or various programs
# that require network functionality will fail.
localhost.localdomain localhost
正しいエントリは以下に似たものになるはずです:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
localhost.localdomain localhost