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

[libvirt-users] Failed to bind socket to '/var/run/libvirt/libvirt-sock': Permission denied



Hi all,
     When I start self-built libvirtd by "libvirtd -d -l -f libvirtd.conf", it shows that 
     error : virNetSocketNewListenUNIX:346 : Failed to bind socket to '/var/run/libvirt/libvirt-sock': Permission denied
      I have removed some requested comments in libvirtd.conf. The key settings are shown as below:
       
       listen_tcp = 1
       tcp_port = "16509"
       listen_addr = "0.0.0.0"
       
       unix_sock_group = "root"
       unix_sock_rw_perms = "0770"
       unix_sock_ro_perms = "0777" 
       unix_sock_dir = "/var/run/libvirt"
      
       Is there any thing wrong? Need I start libvirtd by root?

      Thanks a lot!

Best Regards!
Corey

      
   




   
       

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