pibvirt php help

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

 



sir 
   i am trying to create ssh connention and i am able to connect with out password from terminal using 
virsh -c qemu+ssh://punit@192.168.102.133/system 

but this is not working with libvirt-php binding 

error :for libvirt-php ssh connection
"Libvirt last error: cannot recv data: Resource temporarily unavailable"

my php code is
<?php

$res1=libvirt_connect("qemu+ssh://punit@192.168.102.133/system",false);


print_r($res1); printf ("\n");

if ($res1==false)
{
    echo ("Libvirt last error: ".libvirt_get_last_error());
    
}
?>




--
Punit Gupta
M-Tect (jiit noida)


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]