Cannot open connection to hypervisor

Posted On // Leave a Comment

I have installed the KVM and libvert php on a cent os machine.


But when I try to connect to hypervisor via php code it gives the message "Cannot open connection to hypervisor"


---------Code from the file------- <?php require('libvirt.php'); $lv = new Libvirt('qemu:///system'); $hn = $lv->get_hostname(); if ($hn == false)


die('Cannot open connection to hypervisor');


Is anyone came across this problem. Please help me


I have turned off the iptables and check other options but no joy


Any advice is appreciated


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment