LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Unable to run virt-manager (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/unable-to-run-virt-manager-4175562250/)

gauravprashar17 12-24-2015 12:55 AM

Unable to run virt-manager
 
I am using a KVM host, while i execute "virt-manager",
i am unable to see it started.
Here is what i get it the virt-manager logs
[root@APP1 ~]# tail /root/.virt-manager/virt-manager.log
[Thu, 24 Dec 2015 12:39:08 virt-manager 26454] DEBUG (virt-manager:308) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
[Thu, 24 Dec 2015 12:39:34 virt-manager 26454] ERROR (virt-manager:407) Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Could not send message to GConf daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 400, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 329, in main
config = virtManager.config.vmmConfig(appname, appversion, glade_dir)
File "/usr/share/virt-manager/virtManager/config.py", line 98, in __init__
self.conf.add_dir(self.conf_dir, gconf.CLIENT_PRELOAD_NONE)
GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Could not send message to GConf daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)


Can anyone help please?

berndbausch 12-24-2015 09:55 AM

I would google for the error. There might be a bug, e.g. https://bugs.centos.org/view.php?id=5334. You don't say which distro or version you are using, perhaps you need to upgrade?

TB0ne 12-24-2015 04:19 PM

Quote:

Originally Posted by gauravprashar17 (Post 5468323)
I am using a KVM host, while i execute "virt-manager",
i am unable to see it started.
Here is what i get it the virt-manager logs
[root@APP1 ~]# tail /root/.virt-manager/virt-manager.log
[Thu, 24 Dec 2015 12:39:08 virt-manager 26454] DEBUG (virt-manager:308) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
[Thu, 24 Dec 2015 12:39:34 virt-manager 26454] ERROR (virt-manager:407) Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Could not send message to GConf daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 400, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 329, in main
config = virtManager.config.vmmConfig(appname, appversion, glade_dir)
File "/usr/share/virt-manager/virtManager/config.py", line 98, in __init__
self.conf.add_dir(self.conf_dir, gconf.CLIENT_PRELOAD_NONE)
GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Could not send message to GConf daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)


Can anyone help please?

You're trying to run the GUI as root...which isn't allowed. This goes nicely with your unregistered RHEL thread...and this is why you pay for RHEL, since you could then call them for support.

In any event, running the GUI as root is NOT a good thing. And if you're logged in as a 'regular' user, and running that program from the terminal as root, root doesn't have access to the X system.

John VV 12-24-2015 08:11 PM

the FIRST thing you need to do is pay for this redhat 6.6 install and regiuster it
then UPGRADE!!!!! to RHEL 6.7 -- 6.8 will be released soon

or
install RHEL 7.2 -- AND PAY FOR IT
or
install the FREE!!!!! clone CemtOS 6.7 or 7.2

gauravprashar17 01-17-2016 11:38 PM

Hi All,

Thanks for your suggestions on this. I forgot to mention the distro, which is RHEL 6.6. I would not prefer an upgrade of RHEL.
Looking at the logs that are posted above, can anyone suggest any solutions?


All times are GMT -5. The time now is 08:51 AM.