hi rhq-users
I solve the problem below.
Cause of the problem was due to the glibc version.
rhq agent 4.5.1 does not seem to be supported glibc 2.4.x
that's why ,After I install hyperic-sigar-1.6.4 ,overwrite
libsigar-x86-linux.so
*my system info : centos 4.8 , rhq-agent 4.5.1 *
#java -jar lib/sigar-1.6.5.132-3.jar
/usr/local/rhq-agent/lib/libsigar-x86-linux.so:
/usr/local/rhq-agent/lib/libsigar-x86-linux.so: *requires glibc 2.5 or
later dynamic linker*
org.hyperic.sigar.SigarException:
/usr/local/rhq-agent/lib/libsigar-x86-linux.so:
/usr/local/rhq-agent/lib/libsigar-x86-linux.so: requires glibc 2.5 or later
dynamic linker
*but , Another error has occurred.*
When I click on the inventory->platform , the following errors occurred.
Resource information will not be displayed.
Message : Globally uncaught exception
Severity : Error
Root Cause : (TypeError): Object does not support property or method,
description: Object 'sparkline'
does not support property or method.
number: -2146827850
Detail :
com.google.gwt.core.client.JavaScriptException:(TypeError):Object 'sparkline'
does not support property or method.
RHQ Server 4.5.1(centos 6.3)
jdk 1.6
Daeok.
2012/11/2 daeok kim <dok3809(a)gmail.com>
> hi rhq-users
>
> i have been installed rhq agent.
> The following error occurs.
>
> my system jdk version : jdk1.6.0_37
>
> *rhq-agent log
> WARN [main] (org.rhq.enterprise.agent.AgentMain)-
> {AgentMain.native-sysinfo-unavailable}Native system info is enabled, but
> the system info API is not accessible on this platform (*sigar.jar not
> found in classpath or SIGAR shared library not found in shared library path
> *). Enable DEBUG logging for more details.
>
> # sh rhq-agent-wrapper.sh start
> rhq-agent-wrapper.sh: pidfile will be located at
> /usr/local/rhq-agent/bin/rhq-agent.pid
> Starting RHQ Agent...
> rhq-agent-wrapper.sh: Start script found here:
> /usr/local/rhq-agent/bin/rhq-agent.sh
> rhq-agent-wrapper.sh: Executing agent with command:
> '/usr/local/rhq-agent/bin/rhq-agent.sh'
> rhq-agent.sh: RHQ_AGENT_HOME: /usr/local/rhq-agent
> rhq-agent.sh: No embedded JRE found - will try to use JAVA_HOME:
> /usr/local/jdk
> rhq-agent.sh: RHQ_AGENT_JAVA_HOME: /usr/local/jdk
> rhq-agent.sh: RHQ_AGENT_JAVA_EXE_FILE_PATH: /usr/local/jdk/bin/java
> rhq-agent.sh: CLASSPATH entry: /usr/local/rhq-agent/lib/commons-io-1.4.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/commons-logging-1.1.0.jboss.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/concurrent-1.3.4-jboss-update1.jar
> rhq-agent.sh: CLASSPATH entry: /usr/local/rhq-agent/lib/dom4j-1.6.jar
> rhq-agent.sh: CLASSPATH entry: /usr/local/rhq-agent/lib/getopt-1.0.13.jar
> rhq-agent.sh: CLASSPATH entry: /usr/local/rhq-agent/lib/i18nlog-1.0.10.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/jboss-common-1.2.1.GA.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/jboss-jmx-4.2.3.GA.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/jboss-remoting-2.2.2.SP8.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/jboss-serialization-1.0.3.GA.jar
> rhq-agent.sh: CLASSPATH entry: /usr/local/rhq-agent/lib/jline-0.9.94.jar
> rhq-agent.sh: CLASSPATH entry: /usr/local/rhq-agent/lib/log4j-1.2.16.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/persistence-api-1.0.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-common-drift-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-client-api-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-comm-api-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-domain-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-native-system-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-plugin-api-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-plugin-container-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-core-util-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-enterprise-agent-4.5.1.jar
> rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/rhq-enterprise-comm-4.5.1.jar
> *rhq-agent.sh: CLASSPATH entry:
> /usr/local/rhq-agent/lib/sigar-1.6.5.132-3.jar*
> rhq-agent.sh: CLASSPATH entry: /usr/local/jdk/lib/tools.jar
> rhq-agent.sh: RHQ_AGENT_JAVA_OPTS: -Xms64m -Xmx128m
> -Djava.net.preferIPv4Stack=true
> rhq-agent.sh: RHQ_AGENT_JAVA_ENDORSED_DIRS:
> /usr/local/rhq-agent/lib/endorsed
> rhq-agent.sh: RHQ_AGENT_JAVA_LIBRARY_PATH: /usr/local/rhq-agent/lib
> rhq-agent.sh: RHQ_AGENT_ADDITIONAL_JAVA_OPTS:
> rhq-agent.sh: RHQ_AGENT_CMDLINE_OPTS: --daemon
> rhq-agent.sh: LD_LIBRARY_PATH: /usr/local/rhq-agent/lib/augeas/lib
> rhq-agent.sh: Executing the agent with this command line:
> rhq-agent.sh: "/usr/local/jdk/bin/java"
> "-Djava.endorsed.dirs=/usr/local/rhq-agent/lib/endorsed"
> "-Djava.library.path=/usr/local/rhq-agent/lib" -Xms64m -Xmx128m
> -Djava.net.preferIPv4Stack=true -Dlog4j.configuration=log4j-debug.xml
> -Di18nlog.dump-stack-traces=true -Dsigar.nativeLogging=true -cp
> "/usr/local/rhq-agent/conf:/usr/local/rhq-agent/lib/commons-io-1.4.jar:/usr/local/rhq-agent/lib/commons-logging-1.1.0.jboss.jar:/usr/local/rhq-agent/lib/concurrent-1.3.4-jboss-update1.jar:/usr/local/rhq-agent/lib/dom4j-1.6.jar:/usr/local/rhq-agent/lib/getopt-1.0.13.jar:/usr/local/rhq-agent/lib/i18nlog-1.0.10.jar:/usr/local/rhq-agent/lib/jboss-common-1.2.1.GA.jar:/usr/local/rhq-agent/lib/jboss-jmx-4.2.3.GA.jar:/usr/local/rhq-agent/lib/jboss-remoting-2.2.2.SP8.jar:/usr/local/rhq-agent/lib/jboss-serialization-1.0.3.GA.jar:/usr/local/rhq-agent/lib/jline-0.9.94.jar:/usr/local/rhq-agent/lib/log4j-1.2.16.jar:/usr/local/rhq-agent/lib/persistence-api-1.0.jar:/usr/local/rhq-agent/lib/rhq-common-drift-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-client-api-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-comm-api-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-domain-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-native-system-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-plugin-api-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-plugin-container-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-core-util-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-enterprise-agent-4.5.1.jar:/usr/local/rhq-agent/lib/rhq-enterprise-comm-4.5.1.jar:/usr/local/rhq-agent/lib/sigar-1.6.5.132-3.jar:/usr/local/jdk/lib/tools.jar"
> org.rhq.enterprise.agent.AgentMain --daemon
> rhq-agent.sh: /usr/local/rhq-agent/bin/rhq-agent.sh done.
>
> what do i fix?
>
> thnaks~
>
>