Hi, good day... somebody can help me.. I'm installing the agent 4.5 on windows and I recieved this errors..
C:\Program Files\Hyperic agent 4.5\agent-4.5\bin>hq-agent.bat setup
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
Some solution??
Thanks
In windows you will need to first run install command to install Agent windows services
and then run setup.
C:\Program Files\Hyperic agent 4.5\agent-4.5\bin>hq-agent.bat install
C:\Program Files\Hyperic agent 4.5\agent-4.5\bin>hq-agent.bat setup
Please let me know if you still see the issue.
Thank you,
Nipuna
Hi, .. I did that... but still the same... it doesn't work... look.. the log.
If you note... I have the agent instaled
C:\Program Files\Hyperic agent 4.5\agent-4.5\bin>hq-agent.bat install
wrapper | CreateService failed - The specified service already exists. (0x431)
Press any key to continue . . .
But I can't configure it.
C:\Program Files\Hyperic agent 4.5\agent-4.5\bin>hq-agent.bat setup
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
Terminate batch job (Y/N)? y
Any idea about what is the problem??? o what is the solution ???
Thanks again.
Can you please try to install a agent where there is no space in the path
for eg.c:\hyperic instead of C:\Program Files
and also just make sure that the port you are using is free.
Hope it will work for you this time.
Thank you,
Nipuna
Hi All,
I am facing the same issue but on solaris server . I have tried with different options that are suggested in different communities .
Suggestions from communities :
1. To remove the hyperic.agent.lock file in /tmp 0r /var/tmp . But I could not find the file in both locations
2. To run the command hq-agent.sh start . But there is no use . Agent is still in maintenance mode .
How to make the agent up ? Please guide us .
We ar very helpfull to you .
Thanks in Advance
Please find the error snapshot from the log :
-n Starting HQ Agent...
-n .
-n .
-n .
running (16681).
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize
What version of the Hyperic Agent are you installing?
Which download did you use? Solaris (SPARC 32 or 64 bit) or the Platform independent version?
Is this a SPARC or x86 system?
What version of Solaris are you running?
Can you provide the wrapper and agent log files?
There is likely no communication between the server and the agent. Make sure you do not have firewall rules and can ping the agent from the server or vice versa. At least in linux, what helps is to stop the agent. (./hq-agent.sh stop). then go up a dir then rm -rf data. Then start the agent again. This will then rebuild the /data dir. You can also do this in windows. The fact it's not getting a token just means it's never establishing a proper link between agent and server. Also check out the server.log
Hi,
You need to test the communications path between the agent and the server.
Can you telnet from the platform with the agent toward the management server?
telnet 7080 [or port 7443 for SSL]
Can you curl from the manager to the agent?, the return path on 2144 should work.
#curl http://:2144
Thanks,
Yaron
Hi
Once you've got correct answer please update the post.
Thanks
I was facing the same issue..
you go and change the properties of the agent in hyperic/conf/
agent.setup.resetupTokens=no
agent.setup.acceptUnverifiedCertificate=yes
Make sure these agent.setup.acceptunverifiedcertificate to be yes.
and then restart the service
If above method doesnt work.. you can check the firewall settings as well.