Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libvirt daemon doesn't start on Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
erthalion
n00b
n00b


Joined: 19 Sep 2012
Posts: 9

PostPosted: Wed Jun 19, 2013 12:31 pm    Post subject: libvirt daemon doesn't start on Gentoo Reply with quote

Hi all. I'm trying to use Xen with virt-manager on Gentoo system and I have some troubles with libvirt daemon (I asked about this at unix.stackexchange.com). When it starts:

Quote:
Starting libvirtd ...

/usr/sbin/libvirtd: error: Unable to initialize network sockets. Check /var/log/messages or run without --daemon for more info.

start-stop-daemon: failed to start `/usr/sbin/libvirtd' [ !! ]

ERROR: libvirtd failed to start


But file '/var/log/messages' doesn't exists!

Libvirtd config file (/etc/libvirt/libvirtd.conf):

Quote:
listen_tls = 0

listen_tcp = 1

unix_sock_group = "libvirt"

unix_sock_ro_perm = "0777"

unix_sock_rw_perm = "0770"

log_level = 3

log_filters = "3:remote 4:event"

log_outputs = "3:syslog:libvirtd"


Can anybody help me, what i'm doing wrong?)
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2383
Location: Wisconsin (USA)

PostPosted: Wed Jun 19, 2013 8:22 pm    Post subject: Reply with quote

If you don't have a logging daemon installed, try that, and see if you can find log messages then.
Back to top
View user's profile Send private message
erthalion
n00b
n00b


Joined: 19 Sep 2012
Posts: 9

PostPosted: Thu Jun 20, 2013 8:52 am    Post subject: Reply with quote

Thx, you're right - i'm so inattentive that i forgot install syslog-ng)
And daemon didn't start because there was no group with name libvirt - after this group was created libvirtd is ok
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum