VMware Cloud Community
krajamani
Contributor
Contributor

New agent not starting

Hi,

I installed agent-4.2.0 in my linux server.
While starting the agent, it is giving

[hyperic]$ ./hq-agent.sh start
Starting HQ Agent...
./bundles/agent-4.2.0-1260/bin/hq-agent.sh: line 606: /home/hyperic/agent-4.2.0/jre/bin/java: cannot execute binary file


Please tell me may be the reason?
0 Kudos
5 Replies
ebailey
Enthusiast
Enthusiast

Anything in the agent log that looks interesting?
0 Kudos
krajamani
Contributor
Contributor

There is nothing in agent.log, but in wrapper.log, following information is there.
Please check it.

STATUS | wrapper | 2009/12/22 05:22:31 | --> Wrapper Started as Daemon
STATUS | wrapper | 2009/12/22 05:22:31 | Launching a JVM...
ERROR | wrapper | 2009/12/22 05:22:31 | JVM exited while loading the application.
INFO | jvm 1 | 2009/12/22 05:22:31 | /home/hyperic/agent-4.2.0/jre/bin/java: /home/hyperic/agent-4.2.0/jre/bin/java: cannot execute binary file
STATUS | wrapper | 2009/12/22 05:22:35 | Reloading Wrapper configuration...
STATUS | wrapper | 2009/12/22 05:22:35 | Launching a JVM...
ERROR | wrapper | 2009/12/22 05:22:35 | JVM exited while loading the application.
INFO | jvm 2 | 2009/12/22 05:22:35 | /home/hyperic/agent-4.2.0/jre/bin/java: /home/hyperic/agent-4.2.0/jre/bin/java: cannot execute binary file
STATUS | wrapper | 2009/12/22 05:22:40 | Reloading Wrapper configuration...
STATUS | wrapper | 2009/12/22 05:22:40 | Launching a JVM...
ERROR | wrapper | 2009/12/22 05:22:40 | JVM exited while loading the application.
INFO | jvm 3 | 2009/12/22 05:22:40 | /home/hyperic/agent-4.2.0/jre/bin/java: /home/hyperic/agent-4.2.0/jre/bin/java: cannot execute binary file
STATUS | wrapper | 2009/12/22 05:22:44 | Reloading Wrapper configuration...
STATUS | wrapper | 2009/12/22 05:22:44 | Launching a JVM...
ERROR | wrapper | 2009/12/22 05:22:44 | JVM exited while loading the application.
INFO | jvm 4 | 2009/12/22 05:22:44 | /home/hyperic/agent-4.2.0/jre/bin/java: /home/hyperic/agent-4.2.0/jre/bin/java: cannot execute binary file
STATUS | wrapper | 2009/12/22 05:22:48 | Reloading Wrapper configuration...
STATUS | wrapper | 2009/12/22 05:22:48 | Launching a JVM...
ERROR | wrapper | 2009/12/22 05:22:48 | JVM exited while loading the application.
INFO | jvm 5 | 2009/12/22 05:22:48 | /home/hyperic/agent-4.2.0/jre/bin/java: /home/hyperic/agent-4.2.0/jre/bin/java: cannot execute binary file
FATAL | wrapper | 2009/12/22 05:22:48 | There were 5 failed launches in a row, each lasting less than 60 seconds. Giving up.
FATAL | wrapper | 2009/12/22 05:22:48 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2009/12/22 05:22:48 | <-- Wrapper Stopped


Thanks,
Kavitha
0 Kudos
ebailey
Enthusiast
Enthusiast

Which agent package did you download from the web site? Was it the tar ball? How did you decompress the file? Under what permissions are you running trying to start the agent? Has this ever worked before on this server?
0 Kudos
excowboy
Virtuoso
Virtuoso

Hi,

looks like the JRE does not fit to your platform. Please run the following commands "file home/hyperic/agent-4.2.0/jre/bin/java" and "uname -a" ?

Mirko
0 Kudos
krajamani
Contributor
Contributor

I did a mistake,
From my 64 bit server, I copied the hyperic.tgz file into 32 bit server.
After installing 32 bit hyperic, it is fine.

Thanks,
Kavitha
0 Kudos