VMware Cloud Community
SarahBaker
Contributor
Contributor

Agent configuration problem

On first installation and then startup of
hyperic-hq-agent-4.0.2-939-x86_64-linux.tgz
the following error occurred. It never waits for user input at the server password prompt and spits out the error.
Is this an installation issue?

$ /opt/hyperic/hyperic-hq-agent/bin/hq-agent.sh start
Starting hq-agent..
Starting HQ Agent...
[ Running agent setup ]
What is the HQ server IP address: <omitted>
Should Agent communications to HQ always be secure [default=no]: yes
What is the HQ server SSL port [default=7443]:
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]:
What is your HQ password: Error: Argument cannot be null
java.lang.IllegalArgumentException: Argument cannot be null
at org.hyperic.lather.LatherValue.checkArg(LatherValue.java:108)
at org.hyperic.lather.LatherValue.setStringValue(LatherValue.java:123)
at org.hyperic.hq.bizapp.shared.lather.UserIsValid_args.setPword(UserIsValid_args.java:57)
at org.hyperic.hq.bizapp.shared.lather.UserIsValid_args.<init>(UserIsValid_args.java:45)
at org.hyperic.hq.bizapp.client.BizappCallbackClient.userIsValid(BizappCallbackClient.java:79)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetup(AgentClient.java:666)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:517)
at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1215)
0 Kudos
1 Reply
SarahBaker
Contributor
Contributor

Resolved.

I was starting the agent from a init script wrapper and it didn't handle the input properly. When I ran by hand from the hyperic user I setup it worked fine.
0 Kudos