虚拟机关机时出现:Shutting down ... Running guests on default URI,停止不动的情况

 

转自:http://www.cnblogs.com/saptechnique/archive/2013/01/04/2843845.html

 

在网上找了一下,大部分不太管用,只需要在安装虚拟机的目录下改一下  ***.vmx  文件就可以了,具体方法如:

把vcpu.hotadd = "TRUE"
  改成
vcpu.hotadd = "FALSE"

 

 

 

下面是引用的原文:

网址在:https://www.centos.org/modules/newbb/viewtopic.php?topic_id=35897

 

 

> 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.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这段引用是关于Spring框架中的应用关闭过程的日志信息。在这段日志中,可以看到控制台执行了preDestroy方法,并且正在关闭名为'applicationTaskExecutor'的ExecutorService,这是由ThreadPoolTaskExecutor来负责的。 该ExecutorService的关闭是在Spring的AbstractApplicationContext中通过registerShutdownHook方法注册的一个关闭钩子来完成的。 这意味着在应用关闭时,会执行doClose方法来进行资源释放和清理工作。 这是Spring框架提供的一种自动执行的方法,它可以在应用启动后自动执行一些初始化操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [SpringBoot 优雅停止服务的几种方法 - 第309篇](https://blog.csdn.net/linxingliang/article/details/106645443)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [SpringBoot--启动时执行--方案大全/方法/实例](https://blog.csdn.net/feiying0canglang/article/details/106129098)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值