#4586 [HHQ-2559] Agent Fails to Start on Certain Linux Distributio

Bug
open
Hyperic Team
None
1
2012-10-09
2010-12-29
Hyperic Team
No

http://jira.hyperic.com/browse/HHQ-2559
Agent fails to start on certain Linux distributions.



Diagnosis:


The problem manifests itself in the following way:


./hq-agent.sh start



Unable to locate any of the following binaries:


  /usr/local/hyperic-hq-agent-4.0.0/wrapper/sbin/../../wrapper/sbin/wrapper-linux-intel(r)pentium(r)4cpu3.20ghz-32


  /usr/local/hyperic-hq-agent-4.0.0/wrapper/sbin/../../wrapper/sbin/wrapper-linux-intel(r)pentium(r)4cpu3.20ghz-64


  /usr/local/hyperic-hq-agent-4.0.0/wrapper/sbin/../../wrapper/sbin/wrapper



Suggested workaround:


Establish a symbolic link pointing to the appropriate wrapper binary as determined by running the "uname -m" command.


e.g. ln -s /usr/local/hyperic-hq-agent-4.0.0/wrapper/sbin/wrapper-linux-x86-32 "/usr/local/hyperic-hq-agent-4.0.0/wrapper/sbin/wrapper-linux-intel(r)pentium(r)4cpu3.20ghz-32"



Cause:


The problem is caused by the usage of the "uname -p" posix command in the wrapper startup scripts instead of the more accurate "uname -m". The bug fix was suggested but not committed to the 4.0.0. release so as not to destabilize the branch and require regression testing across all hardware platforms.



Further info:


More info on the bug can be found at the following sites:


http://sourceforge.net/mailarchive/forum.php?thread_name=18713173.post%40talk.nabble.com&forum_name=wrapper-user


http://mule.mulesource.org/jira/browse/MULE-1288

Discussion


Anonymous


Cancel   Add attachments