TF400783:无法启动主机'收集'。主机正在服务中。 [英] TF400783: The Host 'Collection' cannot be started. The host is in the process of being serviced.

查看:337
本文介绍了TF400783:无法启动主机'收集'。主机正在服务中。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试将我们的prod TFS集合复制并移动到我们的UAT服务器进行一些测试。  但是,当我们尝试启动集合时,我们会收到以下错误。   TF400783: 无法启动主机'Collection'。  正在服务的主机
....
$


我认为发生的事情是Prod集合db在进行备份之前没有分离。此外,在顶部复制备份时,UAT集合db也未分离。  现在我无法分离或附加任何数据库。  如果我尝试分离默认集合
,我会在日志文件中看到此错误。 
$


[2014-10-08 13:31: 44Z] [错误] TF400876:找不到主机1384c074-d682-4071-ae1a-6eb6b1a364e8的分区。



有没有办法可以强行拆分还是附上?  我已经尝试过使用TFSConfig分离而没有运气。



我使用的是TFS 2013和SQL 2012R2。



谢谢,

解决方案

嗨PravinKadam,



感谢您在此处发帖。



在备份集合数据库之前,需要分离集合数据库,否则会出现此错误。所以我建议您可以尝试使用以下命令首先删除集合:(该命令在我的测试中运行良好)


TFSConfig Collection / delete / collectionName:TeamProjectcollection


然后再次移动并附上该集合,如下面的链接:


https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-project-collection



Bes Regards


Limitxiao Gao



We are trying to copy and move our prod TFS collection over to our UAT server for some testing.  However when we try to start the collection we get the following error.  TF400783:  The host 'Collection' cannot be started.  The host in the process of being serviced....

I think what happeded was the Prod collection db was not detached before taking backup. Also, UAT collection db was also not detached when backup was copied on top.  Now I cannot detach or attach any database.  If I attempt to detach the Default collection I see this error in the logfile. 

[2014-10-08 13:31:44Z][Error] TF400876: Could not find the partition for host 1384c074-d682-4071-ae1a-6eb6b1a364e8.

Is there a way I can force this to detach or attach ?  I've tried using TFSConfig detach with no luck.

I am using TFS 2013 and SQL 2012R2.

Thanks,

解决方案

Hi PravinKadam,

Thank you for posting here.

Before you backup the collection database, you need to detach the collection database, otherwise you will get this error. So I suggest that you could try to use the following command to delete the collection first:(The command worked well in my test)

TFSConfig Collection /delete /collectionName: TeamProjectcollection

Then move and attach the collection again like the following link:

https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-project-collection

Bes Regards

Limitxiao Gao


这篇关于TF400783:无法启动主机'收集'。主机正在服务中。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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