VMware Cloud Community
lee_hyperic
Contributor
Contributor

agent won't run on G5 xserve

It doesn't want to find the native lib. Log shows this error:
2008-08-17 10:10:55,205 ERROR [AgentDaemon] Critical error running agent
java.lang.UnsatisfiedLinkError: gather
at org.hyperic.sigar.SysInfo.gather(Native Method)
at org.hyperic.sigar.OperatingSystem.getInstance(OperatingSystem.java:90)
at org.hyperic.hq.product.PluginManager.<init>(PluginManager.java:66)
at org.hyperic.hq.product.ProductPluginManager.<init>(ProductPluginManager.java:160)
at org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers(AgentDaemon.java:580)
at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:700)
at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:769)
at org.hyperic.hq.agent.server.AgentDaemon.main(AgentDaemon.java:782)
2008-08-17 10:11:01,424 INFO [AgentConnection] 127.0.0.1 -> agent:die

Trying to run the test does something similar:
java -jar pdk/lib/sigar.jar test
/Users/lschumac/hyperic/hyperic-hq-installer/agent-3.2.0/pdk/lib/libsigar-universal-macosx.dylib:
org.hyperic.sigar.SigarException: /Users/lschumac/hyperic/hyperic-hq-installer/agent-3.2.0/pdk/lib/libsigar-universal-macosx.dylib:
at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:160)
at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:90)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.hyperic.sigar.SigarLoader.class$(SigarLoader.java:80)
at org.hyperic.sigar.SigarLoader.getLocation(SigarLoader.java:80)
at org.hyperic.sigar.cmd.Runner.main(Runner.java:161)
java.lang.UnsatisfiedLinkError: isatty
at org.hyperic.sigar.util.Getline.isatty(Native Method)
at org.hyperic.sigar.util.Getline.<clinit>(Getline.java:36)
at org.hyperic.sigar.shell.ShellBase.init(ShellBase.java:93)
at org.hyperic.sigar.cmd.Shell.main(Shell.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.hyperic.sigar.cmd.Runner.main(Runner.java:214)

I haven't tried building sigar from scratch because i don't have xcode installed on a powerpc machine anywhere convenient.

Any advice?
Reply
0 Kudos
3 Replies
lee_hyperic
Contributor
Contributor

Oh, I'm using agent-3.2.0 on Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
Reply
0 Kudos
dougm_hyperic
VMware Employee
VMware Employee

Hi Lee,

This one was fixed in 3.2.1:
http://jira.hyperic.com/browse/HHQ-1673
Reply
0 Kudos
lee_hyperic
Contributor
Contributor

Upgrade to agent 3.2.4 fixed it.
Reply
0 Kudos