-
Failed to shutdown agent gracefully: Connection refused (Connection refused) Cannot stop agent gracefully, you can try to kill agent by ‘./agent.sh stop kill’ command。
分析:
下载teamcity server安装包的用户和解压teamcity server的家目录不是一个用户。即使改了家目录的所有者,所属组,发现错误也无法解决。但从错误提示中看,是8111端口没有打开的原因。因此无法访问teamcity UI。但使用安装包所在的用户(后来的用户)启动,无法打开端口。
解决:
切换到下载安装包的用户执行启动命令。发现8111端口启动了。且可以访问teamcity UI。
总结:1.这可能和权限有关系。因为我我成功启动UI对应的用户权限很大。2.这也可能是两个用户下文件不同导致。我用diff命令对比发现两个文件夹中文件不同。而这些文件可能于启动服务相关。 -
问题:Failed to locate buildAgent.properties file at /home/tcuser/bin/…/conf/buildAgent.properties, you may create it from buildAgent.dist.properties file
分析:缺少buildAgent.properties文件。
解决:复制buildAgent.dist.properties文件重命名为 buildAgent.properties即可。 -
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file(来自b
teamcity server使用错误和处理
最新推荐文章于 2021-12-30 10:15:47 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)