Hyperic agent 5 安装配置 报 - No token file found, waiting for Agent to initialize 解决方案

17 篇文章 0 订阅
9 篇文章 0 订阅

最近在安装配置hyperic agent 5.0的时候总碰到这个错误,沟通了好久才从找到这个解决方案,跟大家分享一下:

 * Stop the agent Windows service.

* Make sure all the agent processes are down - wrapper and Java processes.

* Verify that the the path %SystemRoot%\TEMP exist in the machine.

* If it exists, remove the file:%SystemRoot%\TEMP\agent.encrypt.lock

 

* Open %AGENT_INSTALL_HOME%\bundles\agent-5.0.0\bin\hq-agent.bat(%AGENT_INSTALL_HOME% is probably C:\hyperic\hyperic-hqee-agent-5.0.0)

** Search for the following text:

set CLIENT_CMD="%HQ_JAVA_HOME%\bin\java"

** And replace it with the text:

set CLIENT_CMD="%HQ_JAVA_HOME%\bin\java"-Djava.io.tmpdir="%SystemRoot%\TEMP"

** The rest of the line should stay as is.

 

* Open%AGENT_INSTALL_HOME%\bundles\agent-5.0.0\conf\wrapper.conf(%AGENT_INSTALL_HOME% is probably C:\hyperic\hyperic-hqee-agent-5.0.0)

** Look for the wrapper.java.additional properties section.

** Add the following new line at the end of the section.Don't forget to replace the XXX with the correct number.

wrapper.java.additional.XXX=-Djava.io.tmpdir=%SystemRoot%\TEMP

 

* Start the agent in the usual way.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值