Hudson 无法启动从属设备 - hudson-slave.exe 未被复制

发布于 2024-11-05 15:36:37 字数 709 浏览 7 评论 0 原文

我正在尝试向我的 Hudson master 添加一个节点。

该节点运行Windows Server 2008 Enterprise Edition,并安装了Java、Ant和.NET。

该机器的连接日志显示此输出并且永远无法连接。

Connecting to machine01 
Checking if Java exists
java full version "1.6.0_25-b06"
Copying slave.jar
Starting the service
Connecting to machine01
Checking if Java exists
java full version "1.6.0_25-b06"
Copying slave.jar
Starting the service
Connecting to machine01 

该消息不断重复并且永远不会连接。

经过进一步调查,我发现“Hudson Slave at >”服务已注册,但 FS 根目录中的“hudson-slave.exe”不存在。这意味着这个 .exe 文件根本没有复制到从属设备上。我已经检查了整个 hudson.war,但其中不存在 exe 文件 - 可能它正在被创建?仅复制slave.jar。

我想知道为什么没有报错,master一直在尝试。任何人都可以为此提出解决方案吗?

I am trying to add a node to my Hudson master.

The node runs Windows Server 2008 Enterprise edition and it has Java, Ant and .NET installed on it.

The connection log of that machine shows this output and is never able to connect.

Connecting to machine01 
Checking if Java exists
java full version "1.6.0_25-b06"
Copying slave.jar
Starting the service
Connecting to machine01
Checking if Java exists
java full version "1.6.0_25-b06"
Copying slave.jar
Starting the service
Connecting to machine01 

The message keeps on repeating and never connects.

Upon further investigation, I see that the "Hudson Slave at <FS Root>" service is registered, but the "hudson-slave.exe" in the FS root is not there. It means that this .exe file is not copied onto the slave at all. I have checked the entire hudson.war, but no exe file exists in it - may be it is getting created? Only slave.jar is being copied.

I wonder why no error is reported and master keeps trying. Can any one suggest a solution for this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

断念 2024-11-12 15:36:37

试试这个:

  • 将您的从站转换为 JNLP(Java Web Start)从站,从您的从站启动 Web 服务,然后使用它安装该服务(文件 > 安装为服务)

此外,检查以确保您已分配的文件夹因为 FS Root 可由您指定的用户写入。

Try this:

  • Convert your slave into a JNLP (Java Web Start) slave, start the web service from your slave, and then use it install the service (File > Install as Service)

Also, check to make sure the folder you have assigned as FS Root is writeable by the user you have specified.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文