CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - General Support
  New installation v6.2 won't shutdown

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  artw
      artw
New installation v6.2 won't shutdown
#1
Newbie
Joined: 2012/2/19
From
Posts: 6
I know next to nothing about Linux (but am trying to learn). Now that we have that out of the way ...

I have an i5 - quad core 3.3Ghz, 16GB, 1TB SATA drives running (as plain as possible) Windows 7 Ultimate x64host - current on patches. On top of that I am running VMware Workstation v8 - VMware-workstation-full-8.0.2-591240 (latest update).

I have downloaded and installed http://ftp.telus.net/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD1.iso as a guest VM. I also installed the VMware tools into this CentOS installation.

The issue I'm facing is when I attempt to shutdown or restart CentOS, I am presented a black (non-graphical) screen with :

Shutting Down...Running guests on default URI:

(if it's a restart, replace "Shutting Down" with "Restarting")

and it just sits there. Every other VM (including Windows 7, Red Hat v6.2 and Fedora 16) shuts down "properly" and "powers off" the VM.

I did some searching on that text and came up with a few indications that it was something to do with Linux's Virtual environment .... possibly a bug in earlier versions.

I did a - yum remove *virt* - which did nothing to affect my issue.

Any (easy to follow ) suggestions?

Cheers,
Art
Posted on: 2012/2/19 16:18
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: New installation v6.2 won't shutdown
#2
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6361
Quote:

I did a - yum remove *virt* - which did nothing to affect my issue.


What does `yum list \*virt\*` say?
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/2/19 21:16
Create PDF from Post Print
Top
  •  artw
      artw
Re: New installation v6.2 won't shutdown
#3
Newbie
Joined: 2012/2/19
From
Posts: 6
Installed Packages
libvirt.x86_64 0.9.4-23.el6_2.4 @updates
libvirt-client.x86_64 0.9.4-23.el6_2.4 @updates
libvirt-devel.x86_64 0.9.4-23.el6_2.4 @updates
libvirt-java.noarch 0.4.7-1.el6 @anaconda-CentOS-201112091719.x86_64/6.2
libvirt-java-devel.noarch 0.4.7-1.el6 @anaconda-CentOS-201112091719.x86_64/6.2
libvirt-python.x86_64 0.9.4-23.el6_2.4 @updates
python-virtinst.noarch 0.600.0-5.el6 @anaconda-CentOS-201112091719.x86_64/6.2
virt-what.x86_64 1.11-1.1.el6 @base
Available Packages
...
Posted on: 2012/2/20 1:30
Create PDF from Post Print
Top
  •  artw
      artw
Re: New installation v6.2 won't shutdown
#4
Newbie
Joined: 2012/2/19
From
Posts: 6
Sorry, I think I did a - yum remove virt* - and installed that virt-what today ... it comes back and says vmware.
Posted on: 2012/2/20 1:32
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: New installation v6.2 won't shutdown
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
You are inappropriately installing the hypervisor tools inside a virtual machine. I don't know if that is the cause of the shutdown issue, but it is certainly not a good thing to do.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/20 16:10
Create PDF from Post Print
Top
  •  artw
      artw
Re: New installation v6.2 won't shutdown
#6
Newbie
Joined: 2012/2/19
From
Posts: 6
Quote:

pschaff wrote:
You are inappropriately installing the hypervisor tools inside a virtual machine. I don't know if that is the cause of the shutdown issue, but it is certainly not a good thing to do.


Pardon? VMware Tools is an appropriate thing to install. Other than that, I didn't intentionally select any other hypervisor tools and tried to remove virt* things.

What needs to be removed, or installed "appropriately"?

Cheers,
Art
Posted on: 2012/2/20 17:09
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: New installation v6.2 won't shutdown
#7
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Pardon me, but nothing listed in post #3 is from VMware Tools.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/20 17:56
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: New installation v6.2 won't shutdown
#8
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6361
Remove all that libvirt\* set of packages, none of them should be installed on a client. The virt-what utility just tells you which virtualization package your guest is running underneath - your case you are apparently on a VMWare virtual machine.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/2/20 21:13
Create PDF from Post Print
Top
  •  gbohn
      gbohn
Re: New installation v6.2 won't shutdown
#9
Newbie
Joined: 2012/2/20
From
Posts: 8
> Shutting Down...Running guests on default URI:

I just went through this myself running CentOS 6.2 64-bit under a VMware Workstation 8.0.2 host (Windows-7). If your issue is the same as mine, then this is a bug in the VMware Workstation 8.0.2 BIOS.

See the thread at http://communities.vmware.com/thread/391186?tstart=0 .

In my case, I tried the workaround of changing

vcpu.hotadd = "TRUE"

to

vcpu.hotadd = "FALSE"

in the VMs .vmx file and this solved my issue.

I was even able to start a nested Guest VM after this.

Alternately (if you don't care about getting nested Virtualization working), I found another way to avoid the shutdown issue. I discovered that I could just disable and stop the libvirt-guest service (from the System/Services panel) to avoid the shutdown issue (before I changed the VMware VMs .vmx file).

Good Luck.
Posted on: 2012/2/20 21:25
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: New installation v6.2 won't shutdown
#10
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
First report I've seen on nested virtualization working - apparently a recent development, but still seems rather bleeding-edge.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/21 11:23
Create PDF from Post Print
Top
  •  artw
      artw
Re: New installation v6.2 won't shutdown
#11
Newbie
Joined: 2012/2/19
From
Posts: 6
Quote:

pschaff wrote:
You are inappropriately installing the hypervisor tools inside a virtual machine. I don't know if that is the cause of the shutdown issue, but it is certainly not a good thing to do.


I had chosen the "Software Development Workstation" installation option and it included the virtualization software ... and also enabled it by default.

Cheers,
Art
Posted on: 2012/3/11 16:00
Create PDF from Post Print
Top
  •  artw
      artw
Re: New installation v6.2 won't shutdown
#12
Newbie
Joined: 2012/2/19
From
Posts: 6
Quote:

gbohn wrote:
> Shutting Down...Running guests on default URI:

I just went through this myself running CentOS 6.2 64-bit under a VMware Workstation 8.0.2 host (Windows-7). If your issue is the same as mine, then this is a bug in the VMware Workstation 8.0.2 BIOS.

See the thread at http://communities.vmware.com/thread/391186?tstart=0 .

In my case, I tried the workaround of changing

vcpu.hotadd = "TRUE"

to

vcpu.hotadd = "FALSE"

in the VMs .vmx file and this solved my issue.

I was even able to start a nested Guest VM after this.

Alternately (if you don't care about getting nested Virtualization working), I found another way to avoid the shutdown issue. I discovered that I could just disable and stop the libvirt-guest service (from the System/Services panel) to avoid the shutdown issue (before I changed the VMware VMs .vmx file).

Good Luck.


Disabling the service "fixed" my issue. I will leave the virtualization software there and try the vm fix ... see if I can get nested vm's working.

Perhaps the hypervisor shouldn't be enabled by default on installation?

Thanks,
Art
Posted on: 2012/3/11 16:03
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: New installation v6.2 won't shutdown
#13
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

artw wrote:

I had chosen the "Software Development Workstation" installation option and it included the virtualization software ... and also enabled it by default.

I've noticed that, and generally find I get a configuration to suit my needs better by choosing Desktop and then adding development tools, particularly in a VM.

Quote:

...
Disabling the service "fixed" my issue. I will leave the virtualization software there and try the vm fix ... see if I can get nested vm's working.

That should get interesting. Last time I tried it all I managed was to lock up the guest.

Quote:

Perhaps the hypervisor shouldn't be enabled by default on installation?

I agree, but apparently upstream thinks differently. It might also be good if the installer could detect if it was running on a virtualized system and adapt accordingly, but it currently does not, at least on VirtualBox or VMware.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/11 16:56
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com