<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<div>    When I tend to use "virsh # connect qemu:///system", the debug info shown below:</div><div>Failed to connect socket to '/usr/local/libvirt/var/run/libvirt/libvirt-sock': No such file or directory</div><div><br></div><div>    I use libvirt-bin's file "libvirt-sock" linking to the directory(<span style="font-size: 12pt; ">usr/local/libvirt/var/run/libvirt</span><span style="font-size: 12pt; ">) where virsh needs to search it, then the problem solved. </span></div><div><span style="font-size: 12pt; ">    But I need to debug libvirt with gdb tracing libvirt's source code, to avoid the effects of libvirt-bin, I should remove libvirt-bin. As a result, the symbolic of libvirt-sock is missed.</span></div><div><span style="font-size: 12pt; ">    Also I can't copy "libvirt-sock", because "</span><span style="font-size: 12pt; ">cp: cannot open `/var/run/libvirt/libvirt-sock' for reading: No such device or address</span><span style="font-size: 12pt; ">".</span></div><div><span style="font-size: 12pt; "> </span></div><div><span style="font-size: 12pt; ">    So could you please give me some advise to add the file "libvirt-sock" after the source installation in ubuntu?</span></div><div><span style="font-size: 12pt; ">   </span></div><div><span style="font-size: 12pt; ">   Thanks a lot!</span></div><div><span style="font-size: 12pt; "><br></span></div><div><span style="font-size: 12pt; ">  Corey</span></div>                                     </div></body>
</html>