首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

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

2013-03-22 
Hyperic agent 5 安装配置 报 - No token file found, waiting for Agent to initialize 解决方案最近在安

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

最近在安装配置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.

热点排行