James B. Byrne
2011-Sep-07 20:53 UTC
[CentOS-virt] CentOS-6 KVM virt-manager will not shutdown guest
I have a CentOS-6 guest VM configured on a CentOS-6 host. If I run virt-manager then I can start the guest VM but once it is running I cannot get a shutdown command to have effect. To shutdown the running guest I either must select Force Off from the Shut Down menu or open the guest console and issue shutdown from the command line. Is there some setting that is required to have Shut Down have effect when issued from within virt-manager? is this a bug or a configuration problem? When I issue the shutdown command to the guest then there is no entry made in /var/log/messages. It just has no effect. However, if I issue a reboot command from the same menu then I get an error: libvirtd: 16:43:51.027: error: VirLibConnError 450 : this function is not supported by the connection driver: virDominReboot Am I to infer that Reboot and Shutdown options actually are not available to use from the virt-manager Shut Down menu, notwithstanding that they are present? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Paul Norton
2011-Sep-07 21:18 UTC
[CentOS-virt] CentOS-6 KVM virt-manager will not shutdown guest
Hi James,> -----Original Message----- > From: centos-virt-bounces at centos.org [mailto:centos-virt- > bounces at centos.org] On Behalf Of James B. Byrne > Sent: Wednesday, September 07, 2011 1:53 PM > To: centos-virt at centos.org > Subject: [CentOS-virt] CentOS-6 KVM virt-manager will not shutdownguest> > I have a CentOS-6 guest VM configured on a CentOS-6 host. > If I run virt-manager then I can start the guest VM but once it isrunning I> cannot get a shutdown command to have effect. To shutdown the running > guest I either must select Force Off from the Shut Down menu or openthe> guest console and issue shutdown from the command line. > > Is there some setting that is required to have Shut Down have effectwhen> issued from within virt-manager? is this a bug or a configurationproblem?> > When I issue the shutdown command to the guest then there is no entry > made in /var/log/messages. It just has no effect. However, if Iissue a> reboot command from the same menu then I get an error: > > libvirtd: 16:43:51.027: error: VirLibConnError 450 : this function isnot> supported by the connection driver: > virDominReboot > > Am I to infer that Reboot and Shutdown options actually are notavailable to> use from the virt-manager Shut Down menu, notwithstanding that theyare> present?You need to have acpid installed. In your KVM VM guest, run the following: yum -y install acpid service acpid start chkconfig acpid on -- Paul Norton Linux Network Consultant TechnoCom Corporation(tm) Direct: +1.760.644.5510 Email: pnorton at technocom-wireless.com Web: www.technocom-wireless.com