构建控制器无法在 TFS 2013 上启动“无法启动服务.句柄无效" [英] Build Controller failing to start on TFS 2013 "Service cannot be started. The handle is invalid”

查看:28
本文介绍了构建控制器无法在 TFS 2013 上启动“无法启动服务.句柄无效"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在克隆 2010 TFS 服务器、将克隆的操作系统升级到 2012R2、将 SQL Server 升级到 2012 SP2 (11.0.5343)、卸载 TFS 2010 以及使用更新 5 升级到 TFS 2013 之后,我们在开始构建时遇到了问题克隆服务.

After cloning a 2010 TFS server, upgrading the clone's OS to 2012R2, upgrading SQL Server to 2012 SP2 (11.0.5343), uninstalling TFS 2010, and upgrading to TFS 2013 with update 5, we are running into issues starting the Build Service on the clone.

我已在 Visual Studio 2013 中通过管理构建控制器"删除了引用其他原始服务器的代理和构建控制器.

I've removed the agents and build controllers referencing the other original server through Manage Build Controllers, in Visual Studio 2013.

我尝试使用 TFS 2013 升级向导,但在尝试启动构建服务时失败,因此我尝试取消配置:tfsconfig.exe setup/uninstall:TeamBuild"并通过 TFS 2013 升级向导重新配置,但它得到了相同的结果.

I've tried to use the TFS 2013 upgrade wizard and it fails when attempting to start the build service so I tried to unconfigure: "tfsconfig.exe setup /uninstall:TeamBuild" and reconfigure through the TFS 2013 upgrade wizard but it yielded the same result.

TFS 数据库服务器、构建服务器、控制器和代理位于同一个机器上

The TFS database server, Build Server, controller, and agent are located on the same box

作为衡量,我什至在 Team Foundation Server 管理控制台中删除了代理、控制器和未注册和注册构建服务作为原始服务器上使用的批处理帐户,但未能排除身份验证,我使用了我的域帐户(我是本地管理员、SQL Server 管理员和 TFS 管理员),但两个帐户的结果仍然相同.

For measure, I've even deleted the agents, controllers, and Unregistered and Registered the Build Service in the Team Foundation Server Administration Console as both the batch account used on the original server but that failed so to rule out authentication, I used my domain account (I'm a Local Admin, SQL Server Admin, and TFS Admin) but still had the same result with both accounts.

Windows 事件日志指出无法启动服务.句柄无效".

The Windows event log states "Service cannot be started. The handle is invalid".

我不确定还有什么可以遗漏的,有人有任何指点吗?

I'm not sure what else could be missed does anyone have any pointers?

推荐答案

周末应用了 100 多个 Microsoft 补丁/更新,问题消失了.微软确认该问题与操作系统有关,与 TFS 配置或安装/升级无关.

There were over 100 Microsoft patches/updates applied over the weekend and the issue went away. Microsoft confirmed that the issue was related to the OS, not the TFS configuration or installation/upgrade.

感谢您的所有建议.希望这会帮助其他人,如果他们处于相同的情况并且旋转轮子找到答案.尽可能让您的系统保持最新状态!

Thanks for all your suggestions. Hopefully this will help someone else out if they are in the same situation and spinning wheels to find the answer. Keep your systems as up to date as possible!

这篇关于构建控制器无法在 TFS 2013 上启动“无法启动服务.句柄无效"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆