SA Blog --系统管理员的博客生涯

书写自己的系统管理博客生涯
posts(330) comments(254) trackbacks(0)
  • IT博客
  • 联系
  • RSS 2.0 Feed 聚合
  • 管理

常用链接

  • 我的随笔
  • 我的评论
  • 我参与的随笔

留言簿

  • 给我留言
  • 查看公开留言
  • 查看私人留言

随笔分类(395)

  • *UNIX系统(148)
  • Cloud(3)
  • Moive
  • Music(1)
  • OpenStack(7)
  • openstack
  • Wiki(1)
  • Windows系统(32)
  • 其他(33)
  • 娱乐
  • 存储相关(22)
  • 存储网络(10)
  • 常用工具下载(25)
  • 数据库应用技术(53)
  • 网络技术(41)
  • 英语
  • 虚拟化(19)

随笔档案(330)

  • 2020年9月 (1)
  • 2020年8月 (1)
  • 2020年7月 (8)
  • 2020年4月 (1)
  • 2020年2月 (1)
  • 2020年1月 (1)
  • 2019年9月 (2)
  • 2019年4月 (1)
  • 2016年1月 (1)
  • 2015年12月 (1)
  • 2015年7月 (4)
  • 2015年5月 (2)
  • 2014年3月 (2)
  • 2014年1月 (1)
  • 2013年12月 (1)
  • 2013年3月 (5)
  • 2013年2月 (4)
  • 2012年12月 (1)
  • 2012年11月 (2)
  • 2012年9月 (2)
  • 2012年8月 (1)
  • 2012年6月 (1)
  • 2012年5月 (1)
  • 2012年1月 (1)
  • 2011年12月 (2)
  • 2011年10月 (1)
  • 2011年9月 (3)
  • 2011年8月 (1)
  • 2011年7月 (5)
  • 2011年6月 (3)
  • 2011年5月 (5)
  • 2011年4月 (2)
  • 2011年3月 (2)
  • 2011年2月 (1)
  • 2011年1月 (5)
  • 2010年12月 (1)
  • 2010年11月 (4)
  • 2010年9月 (13)
  • 2010年8月 (4)
  • 2010年7月 (5)
  • 2010年6月 (5)
  • 2010年5月 (13)
  • 2010年4月 (10)
  • 2010年3月 (5)
  • 2010年2月 (1)
  • 2010年1月 (9)
  • 2009年12月 (5)
  • 2009年11月 (5)
  • 2009年10月 (1)
  • 2009年9月 (3)
  • 2009年8月 (2)
  • 2009年7月 (6)
  • 2009年6月 (3)
  • 2009年5月 (2)
  • 2009年4月 (1)
  • 2009年3月 (2)
  • 2009年2月 (3)
  • 2008年12月 (3)
  • 2008年11月 (1)
  • 2008年10月 (9)
  • 2008年9月 (5)
  • 2008年8月 (3)
  • 2008年7月 (1)
  • 2008年6月 (1)
  • 2008年5月 (2)
  • 2008年4月 (1)
  • 2008年3月 (1)
  • 2008年2月 (3)
  • 2008年1月 (1)
  • 2007年12月 (5)
  • 2007年11月 (1)
  • 2007年10月 (6)
  • 2007年9月 (4)
  • 2007年8月 (4)
  • 2007年7月 (34)
  • 2007年6月 (1)
  • 2007年4月 (2)
  • 2007年3月 (1)
  • 2007年2月 (1)
  • 2006年11月 (1)
  • 2006年9月 (4)
  • 2006年8月 (4)
  • 2006年7月 (1)
  • 2006年6月 (10)
  • 2006年5月 (3)
  • 2006年4月 (14)
  • 2006年2月 (6)
  • 2006年1月 (6)
  • 2005年12月 (12)

收藏夹(5)

  • Other(5)

IT技术

  • MSDN 库(中文)
  • 欢迎使用 MSDN 库(中文),MSDN 库为使用 Microsoft® 工具、产品、技术和服务的开发人员提供必不可少的信息资源。MSDN 库包含操作方法和参考文档、示例代码、技术文章和其他内容。请浏览目录或使用搜索功能来查找所需内容。

健康

  • 体检咨询
  • 北京体检 体检咨询
  • 足医生
  • 足医生

友情链接

  • TestLink中文论坛
  • Testlink 中文论坛
  • 备案专题
  • 备案专题
  • 微软大中华区安全博客
  • 微软大中华区安全博客

存储技术

  • doit存储
  • doit 存储,存储热门论坛
  • ITPUB
  • Oracle DBA 热门中文社区
  • TechTarget IT专家网
  • 蓝德科技

网络技术

  • ChinaUnix 中文社区
  • ChinaUnix 热门中文社区

搜索

  •  

最新评论

  • 1. re: 吐槽一下阿里系软件,就是天天的升级???
  • 评论内容较长,点击标题查看
  • --David
  • 2. re: Symantec Backup exec system recovery 2010(BESR 2010)故障汇总
  • 评论内容较长,点击标题查看
  • --112
  • 3. re: OpenStack安装部署管理中常见问题解决方法(OpenStack-Lite-FAQ)
  • /home/stack/devstack/tools/worlddump.py -d /home/stack/logs
    求救这是什么问题啊。
  • --陈晓龙
  • 4. re: nokia 手机密码忘记后破解
  • nokia 2630,密码不见,恳请帮忙,谢谢
    串号:355219037959407
    lipolipo@gmail.com
  • --沈同学
  • 5. re: chroot 工具 jailkit 限制用户 活动范围 和 权限 _ 笔记
  • 是一个很好的工具嘛。感谢分享。
  • --少林功夫好

阅读排行榜

评论排行榜

View Post

VMware VirtualCenter服务开机不能自动启动问题解决

最近Windows2003 server + VI4 update1 环境突然工作不正常, VC4开机后无法连接,经检查是VC的计算机出现故障。由于VC server 启动依赖SQL 2005,而本机的SQL 服务貌似启动较慢,查实VMware解决方法如下:

VMware 官方原文:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007669

照着下面提示将SQLserver与VCserver 建立依赖关系,验证成功。

VMware VirtualCenter service does not start automatically after reboot


Symptoms

  • VirtualCenter service does not start after reboot
  • VMware Infrastructure (VI) Client cannot connect to VirtualCenter
  • You are using Microsoft SQL Server or SQL Express
  • VirtualCenter Server service can be started manually with no problems

Purpose

In some cases a race condition can occur and VirtualCenter starts before the SQL database it depends on.
 
This article provides steps to prevent the race condition from occurring.

Resolution

This issue may occur if the VirtualCenter Server service starts before one of the services it depends on. The VirtualCenter Server service is dependent on the following services:
  • SQL Services
  • ADAM Services (when using linked mode in vCenter Server 4.0)
To resolve this issue, add a dependency to the VirtualCenter service so that it only starts after the necessary services have started.

Note : This solution assumes that the database server and the SQL server reside on the same machine. If the SQL server is on a different physical machine, you must ensure that the SQL server is functioning before attempting to start the VirtualCenter service.
 
To create a service dependency:
  1. Click Start > Run.
  2. Type services.msc and press Enter.
  3. Locate any services that VirtualCenter requires. For example, SQLEXP_VIM or ADAM_VCMSDS.
  4. Open the service properties and note the Service Name. For example, MSSQL$SQLEXP_VIM .
  5. In the Run dialog, type Regedit.exe and press Enter. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpxd.
  6. Double-click the DependOnService key and add the Service name using the name identified in step 4.
  7. Close Regedit.
  8. Go back to the Services window and open the service properties for the service identified in step 3.
  9. On the Dependencies tab, verify the VMware VirtualCenter service is listed as depending on the service.
  10. Repeat steps 3 to 9 for any services that VirtualCenter requires.

posted on 2010-05-24 11:27 David 阅读(12388) 评论(2)  编辑 收藏 引用 所属分类: 虚拟化

View Comments

# re: VMware VirtualCenter服务开机不能自动启动问题解决  回复  更多评论   
貌似这么做了之后,N天后又不可以了。
2010-06-17 10:30 | David
# re: VMware VirtualCenter服务开机不能自动启动问题解决  回复  更多评论   
Vmware VirtualCenter Server 服务无法自动启动


症状:

每次重新启动机器后,Vmware VirtualCenter Server服务都无法自动启动。
服务的启动类型是设为自动的,日志里有如下报错信息
“Vmware VirtualCenter Server服务因2(0x2)服务性错误而停止。”
每次都需要手动启动一下,就OK了





查看vCenter Serve启动日志:
Section for VMware VirtualCenter, pid=3460, version=4.0.0, build=build-162856, option=Release
[2009-10-27 15:15:31.406 03472 info 'App'] Current working directory: C:\WINDOWS\system32
[2009-10-27 15:15:31.406 03472 info 'Libs'] HOSTINFO: Seeing Intel CPU, numCoresPerCPU 1 numThreadsPerCore 2.
[2009-10-27 15:15:31.406 03472 info 'Libs'] HOSTINFO: This machine has 2 physical CPUS, 2 total cores, and 4 logical CPUs.
[2009-10-27 15:15:31.406 03472 info 'App'] Log path: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs
[2009-10-27 15:15:31.406 03472 info 'App'] Initializing SSL
[2009-10-27 15:15:31.406 03472 info 'Libs'] Using system libcrypto, version 9080AF
[2009-10-27 15:15:32.515 03472 info 'App'] Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000
[2009-10-27 15:15:32.515 03472 info 'App'] Starting VMware VirtualCenter 4.0.0 build-162856
[2009-10-27 15:15:32.515 03472 info 'App'] Log directory: C:\Documents and Settings\Default User\Local Settings\Application Data\VMware\vpx.
[2009-10-27 15:15:32.515 03472 info 'App'] Account name: SYSTEM
[2009-10-27 15:15:32.515 03472 info 'App'] Total virtual memory available for the process 2097024 KB
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxOsLayer] Enabled low-frag process heap.
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxOsLayer] Enabled low-frag crt heap.
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:749] Calling: InfoDeclSchema(gDB)
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:751] Calling: VpxCallbackDesc::Init(MakeFunctor(this, &ServerApp::RequestShutdown))
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:752] Calling: VpxCryptInit()
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:753] Calling: VpxLRO::Init()
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:754] Calling: VpxLroList::Init(ltud)
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxLRO] 128 max LROs
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxLRO] 12 reserved internal LROs
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxLRO] 12 reserved blocker LROs
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxLRO] 12 reserved short LROs
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxLRO] 8 reserved long LROs
[2009-10-27 15:15:32.515 03472 info 'App'] [VpxLRO] 600-second task lifetime
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:755] Calling: VpxdCharacterizeThreadpool(ltud, minNumThreads, maxNumThreads)
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:756] Calling: VpxdCertificate_Load(gDB, CERTIFICATE_VMDBPATH )
[2009-10-27 15:15:32.515 03472 info 'App'] [Vpxd::ServerApp::Init:757] Calling: VpxdVdb::Init(Vdb::GetInstance(), false, false)
[2009-10-27 15:15:32.593 03472 error 'App'] ODBC error: (28000) - [Microsoft][SQL Native Client][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
[2009-10-27 15:15:32.593 03472 error 'App'] Error getting configuration info from the database[2009-10-27 15:15:32.593 03472 error 'App'] [Vpxd::ServerApp::Init] Init failed: VpxdVdb::Init(Vdb::GetInstance(), false, false)
[2009-10-27 15:15:32.593 03472 error 'App'] Failed to intialize VMware VirtualCenter. Shutting down...
[2009-10-27 15:15:32.593 03472 info 'App'] Forcing shutdown of VMware VirtualCenter now





遇到过这种问题, 原因是 VC服务启动的速度快过SQL服务启动的速度,
造成VC启动时时找不到数据库,所以提示错误,当SQL服务启动完成,再重启
一次VC服务,VC服务恢复正常。。。
可以尝试一下设置来解决问题:
1 先在服务中找到负责VC的SQL服务的准确名称,一般是MSSQLXXX or MSSQL$SQLEXPRESSXXX
2 打开注册表 HKLM\System\CurrentControlSet\Services\vpxd,打开DependOnService值,
添加 VC数据库服务的准确名称,例如: MSSQL$SQLEXPRESSXXX (添加后最后一行要留一个空白行)
3 保存,重启服务器.
2010-06-17 10:54 | David
刷新评论列表
只有注册用户登录后才能发表评论。
 
Powered by:
IT博客
Copyright © David