You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joaquin Casares (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/09 22:15:17 UTC

[jira] [Resolved] (CASSANDRA-4133) Opscenter Agent Manual Install Uses Incorrect JAVA_HOME

     [ https://issues.apache.org/jira/browse/CASSANDRA-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joaquin Casares resolved CASSANDRA-4133.
----------------------------------------

    Resolution: Not A Problem

Pulled this into the DataStax internal Jira.

Thanks for reporting this!
                
> Opscenter Agent Manual Install Uses Incorrect JAVA_HOME
> -------------------------------------------------------
>
>                 Key: CASSANDRA-4133
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4133
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Eric Lubow
>            Priority: Minor
>              Labels: opscenter-agent
>
> When manually installing the opscenter agent, the 2.2 AMI thinks the java binary is in the wrong place (this is what JAVA_HOME is set to).
> root@ip-10-191-3-159:/usr/share/opscenter-agent# bin/opscenter-agent: line 44: /usr/lib/jvm/java-6-sun/bin/java: No such file or directory
> bin/opscenter-agent: line 44: exec: /usr/lib/jvm/java-6-sun/bin/java: cannot execute: No such file or directory
> This is the fix:
> root@ip-10-191-3-159:/usr/share/opscenter-agent# ln -s /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira