Menu

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

Bug
open
None
1
2012-10-09
2010-12-29
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
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.