Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
Cannot open connection to hypervisor
New on LowEndTalk? Please Register and read our Community Rules.

Cannot open connection to hypervisor

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

Comments

Sign In or Register to comment.