【问题标题】:Setting up linux build agent for teamcity为 teamcity 设置 linux 构建代理
【发布时间】:2011-03-09 20:58:10
【问题描述】:

我正在尝试在 linux 上为 teamcity 安装构建代理。我下载了 buildAgent.zip 文件并将其解压缩。我按照 teamcity 文档的指示将 buildAgent.dist.properties 文件重命名为 buildAgent.properties。我使用服务器 url 和我将使用的端口号(例如:150)编辑了文件。在 teamcity 服务器机器上,我打开了端口 150。我打开了一个命令 shell 并执行了 ./agent.sh start 命令,它说它已启动,但它没有显示在 teamcity 服务器的列表中。有谁知道这是为什么?

【问题讨论】:

  • 你真的在使用 150 端口吗?您是否以 root 身份运行 TC 服务器?
  • TC Server 安装在 Windows Server 上,而代理在另一台机器上。 TC 服务器在端口 100 上,我尝试运行的代理将使用端口 150。

标签: linux teamcity agent


【解决方案1】:

低于 1024 的端口号只能由 Linux 上的 root 用户访问。只需使用默认端口,一切正常。

Agent and Server logs 应该可以帮助您识别问题。

【讨论】:

  • 我厌倦了使用默认设置,但它仍然不显示。日志说它连接到服务器。但仍然没有出现在列表中。
  • 你授权代理了吗?见confluence.jetbrains.net/display/TCD5/…
  • 请将服务器和代理的最新日志发送至 support@jetbrains.com
猜你喜欢
  • 2015-12-02
  • 2021-06-30
  • 2011-04-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-09-13
  • 2015-12-19
相关资源
最近更新 更多