Hide Forgot
Description of problem: VDSM refuses to start, due to dependent services "initctl: Unknown job: libvirtd" "vdsm: one of the dependent services did not start, error co[FAILED]" Version-Release number of selected component (if applicable): RHEL 6.2 How reproducible: Using the "service" command : # service vdsmd start Steps to Reproduce: 1.# service vdsmd start Actual results: # service vdsmd start Stopping libvirtd daemon: [ OK ] vdsm: libvirt already configured for vdsm [ OK ] Starting iscsid: initctl: Unknown job: libvirtd vdsm: one of the dependent services did not start, error co[FAILED] Expected results: # service vdsmd start vdsm: libvirt already configured for vdsm [ OK ] Starting iscsid: Starting up vdsm daemon: vdsm start [ OK ] [root@slh-fr-bench-hyp1 init.d]# Additional info:
This problem is due to the init script on the directory /etc/init.d/vdsmd I just change the lines 352 /sbin/initctl restart libvirtd 2>/dev/null || : to 352 service libvirtd restart 2>/dev/null || : 411 startout=`/sbin/initctl start libvirtd 2>&1` to 411 startout=`service libvirtd start 2>&1` Because using /sbin/initctl produce this : # /sbin/initctl start libvirtd initctl: Unknown job: libvirtd
How did you install Vdsm? It should have configured libvirt to run as an upstart daemon. Please attach the output of `bash -xv /etc/init.d/vdsmd start`. What's `rpm -q upstart vdsm` ?
Hi! VDSM has been installed using yum. It has been installed automaticaly by RHEV-M. vds_bootstrap.652864.log:Fri, 23 Dec 2011 16:49:55 DEBUG ['/usr/bin/yum', '-y', 'install', 'vdsm'] You will find in attachment the output of `bash -xv /etc/init.d/vdsmd start`
Created attachment 549669 [details] vdsm start output
You did not supply the installed vdsm version, but from the logs I see that it is an oldish beta version, not the vdsm-4.9-112.1 that we all should be using now. I suspect that you are experiencing bug 733000, please uninstall vdsm, install vdsm-4.9-112.1, and reopen the bug if there is an(other) issue.