启动 Azure DevOPs Server 2019 时出现错误 "TF255115: The following service did not start: TfsJobAgent."

Error "TF255115: The following service did not start: TfsJobAgent." while starting Azure DevOPs Server 2019

我刚刚安装了 Azure DevOPs Server 2019 并且正在 运行ning 服务器配置向导。

我遇到错误 "TF255115: The following service did not start: TfsJobAgent"。

这是我在事件日志中看到的内容:

Faulting module name: KERNELBASE.dll, version: 6.3.9600.19671, time stamp: 0x5e673d0b
Exception code: 0xe0434352
Fault offset: 0x00000000000088dc
Faulting process id: 0x292c
Faulting application start time: 0x01d617e3f41741be
Faulting application path: C:\Program Files\Azure DevOps Server 2019\Application Tier\TfsJobAgent\TfsJobAgent.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 31ebbfa5-83d7-11ea-810c-000d3ab2ccc5
Faulting package full name: 
Faulting package-relative application ID: 

我找到了两个关于错误 TF255115 的 post:

  1. https://social.msdn.microsoft.com/Forums/en-US/75c370fe-7951-44e9-85be-c7d2378f7beb/cannot-start-service-tfsjobagent-on-computer-ltcomputernamegt?forum=tfssetup

此post 建议检查USERS 组是否对文件TFSJobAgent.exe 具有读取和执行权限。我查过了,确实有。

  1. https://social.msdn.microsoft.com/Forums/en-US/9fb2762c-7633-4cb0-9640-a4ded2deddcf/tfs2010-trail-version-configuration-issues-in-win7x64?forum=tfssetup

这个post建议检查我是否有运行Visual Studio Team Foundation Background Job Agent服务的权限。但是,我找不到这样的服务。由于上面写了post,8年前,TFS改名为Azure,所以我也找过Azure相关的服务,但一无所获。

请协助!

由于您使用的是 Azure DevOps Server 2019。Visual Studio Team Foundation Background Job Agent 服务已重命名为 Azure DevOps Server Background Job Agent

根据错误信息,您需要确保此服务在您服务器的服务列表中运行。