<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Install Error</title>
		<link>http://www.datastax.com/support-forums/topic/install-error</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 19:42:26 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/install-error" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-601</link>
			<pubDate>Thu, 03 Nov 2011 00:30:27 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">601@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I got around this problem by changing my PATH variable to look in OpsCenter bin first and then I create a symlink pointing to java's keygen. It fixed the problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-396</link>
			<pubDate>Thu, 28 Jul 2011 23:50:26 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">396@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;A normal yum install from the repository would work on RHEL 5.6 I believe. Is there a reason you aren't installing through yum?&#60;/p&#62;
&#60;p&#62;Are you seeing the same error now that you removed the 1.4.2 jvm? If you are seeing the same error and you only have 1.6.0_24 installed then there could perhaps be a compatibility problem, but that seems unlikely.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mohitanchlia on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-395</link>
			<pubDate>Thu, 28 Jul 2011 23:43:09 +0000</pubDate>
			<dc:creator>mohitanchlia</dc:creator>
			<guid isPermaLink="false">395@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;But java is in the path&#60;/p&#62;
&#60;p&#62;[root@dsdb1 ~]# java -version&#60;br /&#62;
java version &#34;1.6.0_24&#34;&#60;br /&#62;
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)&#60;br /&#62;
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)&#60;br /&#62;
[root@dsdb1 ~]# which java&#60;br /&#62;
/usr/java/jdk1.6.0_24/bin/java&#60;br /&#62;
[root@dsdb1 ~]#&#60;br /&#62;
[root@dsdb1 ~]# echo $PATH&#60;br /&#62;
/usr/java/jdk1.6.0_24/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/cassandra/bin:/root/.mohit/hadoop/hadoop-0.20.203.0/bin:/root/.mohit/hadoop/pig/pig-0.8.1/bin:/root/.mohit/hadoop/hadoop-0.20.203.0/conf:/root/bin&#60;/p&#62;
&#60;p&#62;It's Rhel 5.6 64 bit
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-389</link>
			<pubDate>Thu, 28 Jul 2011 19:46:49 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">389@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You can find the oracle version of java in an rpm format here: &#60;a href=&#34;http://www.oracle.com/technetwork/java/javase/downloads/jre-6u26-download-400751.html&#34; rel=&#34;nofollow&#34;&#62;http://www.oracle.com/technetwork/java/javase/downloads/jre-6u26-download-400751.html&#60;/a&#62;. The .bin file at the end just means that you install it by executing './jre-6u26-*.rpm.bin'&#60;/p&#62;
&#60;p&#62;Can I ask why you are using rpm to install and bypass dependencies instead of using yum? What OS/distribution are you attempting to install on?&#60;/p&#62;
&#60;p&#62;The problem you are likely seeing is that the install process runs as the root user which will have a default $PATH environment variable set. The install process calls the 'keytool' command directly so it will use the first 'keytool' command it finds on the $PATH. If you have java installed through yum all of the java commands will be installed on the PATH using alternatives. The jre from oracle that I linked to will not do this.&#60;/p&#62;
&#60;p&#62;If you do need to install through rpm without dependencies, I would reccommend the following:&#60;/p&#62;
&#60;p&#62;1. remove all other java versions&#60;br /&#62;
2. symlink the java and keytool commands onto the default PATH&#60;br /&#62;
  - ln -s /usr/java/jre1.6.0_26/bin/java /usr/bin/java&#60;br /&#62;
  - ln -s /usr/java/jre1.6.0_26/bin/keytool /usr/bin/keytool
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mohitanchlia on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-388</link>
			<pubDate>Thu, 28 Jul 2011 19:24:02 +0000</pubDate>
			<dc:creator>mohitanchlia</dc:creator>
			<guid isPermaLink="false">388@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I just un-installed 1.4.2 that was installed as rpm. What I have it is 1.6.24 and is installed as self-extracting binary. Can you please point me to RPM JDK? I am unable to find one that will install as rpm package for linux 64 bit OS. It all has .bin in it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-385</link>
			<pubDate>Thu, 28 Jul 2011 18:20:20 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">385@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;To install via yum, openjdk would need to be installed via rpm. Since you are passing &#34;--nodeps&#34; it doesn't matter how its installed. The install process will use whatever the default java on the system is though, which may be different for the root user than for your user. Do you have multiple versions of java installed?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mohitanchlia on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-384</link>
			<pubDate>Thu, 28 Jul 2011 18:07:10 +0000</pubDate>
			<dc:creator>mohitanchlia</dc:creator>
			<guid isPermaLink="false">384@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;However, it's not installed as rpm. Does it need to be installed as rpm? I don't see it in rpm -qa? I used *.bin to install it
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mohitanchlia on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-383</link>
			<pubDate>Thu, 28 Jul 2011 17:56:56 +0000</pubDate>
			<dc:creator>mohitanchlia</dc:creator>
			<guid isPermaLink="false">383@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;[root@dslg1 ~]# java -version&#60;br /&#62;
java version &#34;1.6.0_24&#34;&#60;br /&#62;
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)&#60;br /&#62;
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-363</link>
			<pubDate>Wed, 27 Jul 2011 20:40:36 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">363@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It looks like you are using an outdated version of java. Perhaps gcj? OpsCenter should be used with openjdk or sun-java. The package depends on openjdk because sun java is not available in the default RedHat repositories.&#60;/p&#62;
&#60;p&#62;Can you make sure you have sun-java or openjdk as your default jvm?&#60;/p&#62;
&#60;p&#62;Additionally, I will note that a new version of OpsCenter (1.2.1) was just recently released that addresses a network metrics related bug on centos/rhel machines. You may wish to install that version.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mohitanchlia on "Install Error"</title>
			<link>http://www.datastax.com/support-forums/topic/install-error#post-357</link>
			<pubDate>Wed, 27 Jul 2011 19:33:39 +0000</pubDate>
			<dc:creator>mohitanchlia</dc:creator>
			<guid isPermaLink="false">357@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;rpm -ivh --nodeps opscenter-free-1.2-1.noarch.rpm&#60;br /&#62;
Preparing...                ########################################### [100%]&#60;br /&#62;
   1:opscenter-free         ########################################### [100%]&#60;br /&#62;
Generating a 1024 bit RSA private key&#60;br /&#62;
.......++++++&#60;br /&#62;
..........++++++&#60;br /&#62;
writing new private key to '/var/lib/opscenter/ssl/opscenter.key'&#60;br /&#62;
-----&#60;br /&#62;
keytool error: java.lang.IllegalArgumentException: java.io.IOException: Invalid char:&#60;br /&#62;
Unrecognized command: -importkeystore&#60;br /&#62;
Usage:  keytool [COMMAND] [-- COMMAND]...&#60;br /&#62;
Manage private keys and public certificates.&#60;/p&#62;
&#60;p&#62;Available commands:&#60;br /&#62;
  -genkey         Generate a Key Entry, eventually creating a key store.&#60;br /&#62;
                    [-alias ALIAS] [-keyalg ALGORITHM] [-keysize KEY_SIZE]&#60;br /&#62;
                    [-sigalg ALGORITHM] [-dname NAME] [-keypass PASSWORD]&#60;br /&#62;
                    [-validity DAY_COUNT] [-storetype STORE_TYPE]&#60;br /&#62;
                    [-keystore URL] [-storepass PASSWORD]&#60;br /&#62;
                    [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -import         Add Key Entries and Trusted Certificates.&#60;br /&#62;
                    [-alias ALIAS] [-file FILE] [-keypass PASSWORD]&#60;br /&#62;
                    [-noprompt] [-trustcacerts] [-storetype STORE_TYPE]&#60;br /&#62;
                    [-keystore URL] [-storepass PASSWORD]&#60;br /&#62;
                    [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -selfcert       Generate a self-signed Trusted Certificate.&#60;br /&#62;
                    [-alias ALIAS] [-sigalg ALGORITHM] [-dname NAME]&#60;br /&#62;
                    [-validity DAY_COUNT] [-keypass PASSWORD]&#60;br /&#62;
                    [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -identitydb     NOT IMPLEMENTED YET.  Import JDK1.1 Identity Database.&#60;br /&#62;
                    [-file FILE] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -certreq        Issue a Certificate Signing Request (CSR).&#60;br /&#62;
                    [-alias ALIAS] [-sigalg ALGORITHM] [-file FILE]&#60;br /&#62;
                    [-keypass PASSWORD] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]&#60;br /&#62;
                    [-attributes].&#60;br /&#62;
  -export         Export a Certificate from a key store.&#60;br /&#62;
                    [-alias ALIAS] [-file FILE] [-storetype STORE_TYPE]&#60;br /&#62;
                    [-keystore URL] [-storepass PASSWORD]&#60;br /&#62;
                    [-provider PROVIDER_CLASS_NAME] [-rfc] [-v].&#60;br /&#62;
  -list           Print one or all Certificates in a key store to STDOUT.&#60;br /&#62;
                    [-alias ALIAS] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME]&#60;br /&#62;
                    [-rfc] [-v].&#60;br /&#62;
  -printcert      Print a human-readable form of a Certificate in a FILE.&#60;br /&#62;
                    [-file FILE] [-v].&#60;br /&#62;
  -keyclone       Clone a Key Entry in a key store.&#60;br /&#62;
                    [-alias ALIAS] [-dest ALIAS] [-keypass PASSWORD]&#60;br /&#62;
                    [-new PASSWORD] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -storepasswd    Change the password protecting a key store.&#60;br /&#62;
                    [-new PASSWORD] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -keypasswd      Change the password protecting a Key Entry in a key store.&#60;br /&#62;
                    [-alias ALIAS] [-keypass PASSWORD] [-new PASSWORD]&#60;br /&#62;
                    [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -delete         Delete a Key Entry or a Trusted Certificate from a key store.&#60;br /&#62;
                    [-alias ALIAS] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;br /&#62;
  -cacert         Import a CA's Trusted Certificate.&#60;br /&#62;
                    [-file FILE] [-storetype STORE_TYPE] [-keystore URL]&#60;br /&#62;
                    [-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v].&#60;/p&#62;
&#60;p&#62;Standard options:&#60;br /&#62;
      -help       print this help, then exit&#60;br /&#62;
      -version    print version number, then exit&#60;br /&#62;
  -JOPTION        pass argument to the Java runtime&#60;/p&#62;
&#60;p&#62;Please report bugs at &#60;a href=&#34;http://www.gnu.org/software/classpath/bugs.html&#34; rel=&#34;nofollow&#34;&#62;http://www.gnu.org/software/classpath/bugs.html&#60;/a&#62;&#60;br /&#62;
Error opening input file /var/lib/opscenter/ssl/agentKeyStore.p12&#60;br /&#62;
/var/lib/opscenter/ssl/agentKeyStore.p12: No such file or directory&#60;br /&#62;
Certificate was not added to the key store
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
