kimchi-project / wok

A cherrypy framework for multi-purpose plug-ins
https://github.com/kimchi-project/wok/releases/latest
Other
236 stars 77 forks source link

ibvirt-bin.service failed to load #97

Closed elproducto closed 8 years ago

elproducto commented 8 years ago

I am attempting to utilize Kimchi, but running into issue starting Wokd service. I get the following error when I attempt to start the Wokd service.

Wokd Start Error Failed to start wokd.service: Unit libvirt-bin.service failed to load: No such file or directory.

pvital commented 8 years ago

Hello @elproducto

Could you tell us which distro and version are you using Wok, and also wok version?

Thanks.

elproducto commented 8 years ago

Distro is Debian Jessie. I am not sure what version, but I download Ubuntu .deb package posted on the Kimchi project website. Link to Deb file is Located at this URL https://kimchi-project.github.io/wok/downloads/

pvital commented 8 years ago

@elproducto I could reproduce your issue in a Debian Stable (jessie) release.

The thing is that Kimchi DEB package was developed to run in an Ubuntu system and the name of libvirt service in Ubuntu is different from the name in Fedora and Debian.

To quickly solve your issue, please edit the /etc/systemd/system/wokd.service.d/kimchi.conf and substitute the name libvirt-bin to libvirtd. Then, reload systems and restart wokd.

$ sudo vi /etc/systemd/system/wokd.service.d/kimchi.conf
<ESC>
:%s/libvirt-bin/libvirtd/g
:wq
$ sudo systemctl daemon-reload
$ sudo systemctl restart wok.service
elproducto commented 8 years ago

Pvital,

Thanks. All is good now.