<?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; Tag: agent - Recent Posts</title>
		<link>http://www.datastax.com/support-forums/tags/agent</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 15:12:50 +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/tags/agent" rel="self" type="application/rss+xml" />

		<item>
			<title>nickmbailey on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1946</link>
			<pubDate>Sun, 20 May 2012 20:25:21 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1946@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Glad you got everything working. I've created an internal bug to investigate SELinux on RHEL 6.0 further. If we need any further information we will update this forum post.&#60;/p&#62;
&#60;p&#62;Thanks for the bug report!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1945</link>
			<pubDate>Sat, 19 May 2012 16:53:31 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1945@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I've been able to resolve the problem, and now all agents are working - thanks for your help.  The situation was that I'd disabled SSL while working on an earlier agent connection problem.  Uninstalling and reinstalling the agent restored the default SSL settings, leaving the agent trying to use SSL to connect to an opscenter that was not using it.&#60;/p&#62;
&#60;p&#62;I appreciate very much your prompt and helpful responses.  Your suggested workaround of disabling SELinux during the agent install was the key to resolution.  I'm a little concerned that this was necessary, and if you need anything more to diagnose it, I'll be happy to provide it.  However, my original issue is resolved.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1943</link>
			<pubDate>Sat, 19 May 2012 01:05:32 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1943@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks for the additional information. &#60;/p&#62;
&#60;p&#62;Regarding the install from the UI not working, do you know if the agent process managed to start? There are two places I would look for errors. '/var/log/opscenter-agent/installer.log' will contain the log of the installation process. If that appears normal then the normal agent log '/var/log/opscenter-agent/agent.log' should hopefully indicate any communication problems if the install succeeded and the process started.&#60;/p&#62;
&#60;p&#62;Any errors from those logs will help us debug, but obviously if the manual installation is working for you, you can continue to use that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1942</link>
			<pubDate>Sat, 19 May 2012 00:57:17 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1942@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I had already installed the agent manually, but uninstalled it with &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;yum opscenter-agent erase&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;and cycled opscenter.&#60;/p&#62;
&#60;p&#62;This restored the problem.  Here is additional context from the failed install:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
2012-05-18 17:42:47-0700 [CA_APM]  INFO: Beginning install of OpsCenter agent to 138.42.81.221&#60;br /&#62;
2012-05-18 17:42:47-0700 [] couldn't get fingerprint for SSH key ('ssh-rsa', 'AAAAB3NzaC1yc2EAAAABIwAAAQEA3TgMr2NFv5HI5m++1ycFrJE75h6NPRW/Bg+RoMTF68jhgbr8TBRpO43gntPc5WA+CyTEV3Jj9P+xfMVccP2q/+uqHYqZU3fYxFn3Dm2WpuZh0Q8E3v7yNOolsOUarc0pZ6iFeQnaOcIv7lc9xNFURsDkcJgACejnPN9YRvozCdWw0HyzkDDLuO2HAlpySSeSk1y1mj5PEctyvMQ7o+3SIIueykiUcqelCMDFEFMvZENtWkb6TbsytTFjLg6GoWFUgImUFrrT390svSx0inz1OVl9LNpx6C0SZAuCD+FD8y7Yw6puE3TCneaP2hh3N4W6c6XTlkICqnLWZ7wTNbkxrw=='):&#60;/p&#62;
&#60;p&#62;                /usr/share/opscenter/tmp/tmp0tSgtF: Permission denied&#60;br /&#62;
        Traceback (most recent call last):&#60;br /&#62;
        Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I then tried your suggested workaround, and it appeared to work - the agent install finished successfully.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
2012-05-18 17:47:01-0700 [CA_APM]  INFO: Beginning install of OpsCenter agent to 138.42.81.221&#60;br /&#62;
2012-05-18 17:47:32-0700 [CA_APM]  INFO: Install of OpsCenter agent to 138.42.81.221 complete
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;However, opscenter didn't detect the agent, even after a recycle.  I tried - and succeeded - in installing it a second time, and also recycled opscenter.  It still cannot detect the agent (the opscenter console still states &#34;1 of 2 agents connected&#34; and shows a &#34;Fix&#34; link.  The missing agent is on the opscenter server box itself.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1941</link>
			<pubDate>Fri, 18 May 2012 17:59:27 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1941@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Have you tried installing the agents again since running the chcon command? Assuming it is still failing, attaching more context from the failure in the log may help.&#60;/p&#62;
&#60;p&#62;As a temporary workaround I believe you can disable selinux temporarily in order to install the agents. 'setenforce 0' should accomplish this. You may also need to restart the OpsCenter process.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1932</link>
			<pubDate>Fri, 18 May 2012 00:18:28 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1932@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;SELinux is enabled.  The chcon command you suggested gave no response, so I added the -v argument:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
[root@bvdl-vm-01 cassandra]# sestatus&#60;br /&#62;
SELinux status:                 enabled&#60;br /&#62;
SELinuxfs mount:                /selinux&#60;br /&#62;
Current mode:                   enforcing&#60;br /&#62;
Mode from config file:          enforcing&#60;br /&#62;
Policy version:                 24&#60;br /&#62;
Policy from config file:        targeted&#60;br /&#62;
[root@bvdl-vm-01 cassandra]# which chcon&#60;br /&#62;
/usr/bin/chcon&#60;br /&#62;
[root@bvdl-vm-01 cassandra]# which setenforce&#60;br /&#62;
/usr/sbin/setenforce&#60;br /&#62;
[root@bvdl-vm-01 cassandra]# chcon -vt ssh_home_t /usr/share/opscenter/tmp&#60;br /&#62;
changing security context of `/usr/share/opscenter/tmp'
&#60;/p&#62;&#60;/blockquote&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1930</link>
			<pubDate>Thu, 17 May 2012 01:30:47 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1930@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;This also sounds like a problem with SELinux in RHEL 6.0. Can you confirm if SELinux is enabled or not?&#60;/p&#62;
&#60;p&#62;Assuming it is running can you run the following commands and post the output:&#60;/p&#62;
&#60;p&#62;which chcon&#60;br /&#62;
which setenforce&#60;br /&#62;
chcon -t ssh_home_t /usr/share/opscenter/tmp&#60;/p&#62;
&#60;p&#62;That last command is the command that should have been run during install to enable the correct SELinux permissions on the directory. The first two commands will help us debug why it may not have worked.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Unable to install remote agent ( couldn&#039;t get fingerprint for SSH key )"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-install-remote-agent-couldnt-get-fingerprint-for-ssh-key#post-1927</link>
			<pubDate>Wed, 16 May 2012 23:29:50 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1927@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am having the same problem on RHEL 6.0.  An attempt to install an agent with opscenter fails with the cryptic message:&#60;/p&#62;
&#60;p&#62;Error during agent install (c(d, f) is null).&#60;/p&#62;
&#60;p&#62;/var/log/opscenter/opscenterd.log contains:&#60;/p&#62;
&#60;p&#62;/usr/share/opscenter/tmp/tmpVtC6da: permission denied&#60;/p&#62;
&#60;p&#62;However, directory permissions are wide open:&#60;/p&#62;
&#60;p&#62;[root@bvdl-vm-01 opscenter]# ls -lt /usr/share/opscenter&#60;br /&#62;
total 28&#60;br /&#62;
drwxrwxrwx. 2 opscenter opscenter 4096 May 16 15:53 tmp&#60;/p&#62;
&#60;p&#62;and if I su to opscenter, I can update the directory without any problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbulman on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1814</link>
			<pubDate>Tue, 01 May 2012 20:01:59 +0000</pubDate>
			<dc:creator>mbulman</dc:creator>
			<guid isPermaLink="false">1814@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks for the feedback.  I assume you were upgrading from a previous installation?  It sounds like there is a bug with not cleaning up if so.  We'll look into it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1812</link>
			<pubDate>Tue, 01 May 2012 18:13:01 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1812@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Related to this, it looks like opscenter-agent-2.6-standalone.jar is coming in the opscenter-agent.tar.gz file that is suppose to be installed on all of the nodes:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[root@server share]# tar tvzf opscenter-agent.tar.gz
drwxr-xr-x opscenter/opscenter 0 2012-04-19 11:28 opscenter-agent/
-rwxr-xr-x opscenter/opscenter 11569316 2012-02-24 13:12 opscenter-agent/opscenter-agent-2.6-standalone.jar
drwxr-xr-x opscenter/opscenter        0 2012-04-19 11:28 opscenter-agent/conf/
-rwxr-xr-x opscenter/opscenter      684 2012-04-17 11:27 opscenter-agent/conf/log4j.properties
-rwxr-xr-x opscenter/opscenter 14567887 2012-04-17 11:53 opscenter-agent/opscenter-agent.rpm
-rwxr-xr-x opscenter/opscenter 15864785 2012-04-17 12:00 opscenter-agent/opscenter-agent-2.7-standalone.jar
drwxr-xr-x opscenter/opscenter        0 2012-04-19 11:28 opscenter-agent/bin/
-rwxr-xr-x opscenter/opscenter     2198 2012-04-17 11:27 opscenter-agent/bin/opscenter-agent
-rwxr-xr-x opscenter/opscenter     2127 2012-04-17 11:27 opscenter-agent/bin/install_agent.sh
-rw-r--r-- root/root               1925 2012-04-19 11:28 opscenter-agent/bin/agentKeyStore
-rwxr-xr-x opscenter/opscenter      377 2012-04-17 11:27 opscenter-agent/bin/setup
-rwxr-xr-x opscenter/opscenter    18563 2012-04-17 11:48 opscenter-agent/LICENSE&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;as you suggested, if you remove opscenter-agent-2.6-standalone.jar, the agent starts up fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1716</link>
			<pubDate>Thu, 19 Apr 2012 18:34:45 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1716@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;That did it.  Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1715</link>
			<pubDate>Thu, 19 Apr 2012 18:27:30 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1715@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Yes I believe that caused the problem. The jar file from the old installation is still there. You need to delete 'opscenter-agent-2.6-standalone.jar'&#60;/p&#62;
&#60;p&#62;'rm /usr/share/opscenter-agent/opscenter-agent-2.6-standalone.jar'
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1714</link>
			<pubDate>Thu, 19 Apr 2012 18:25:18 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1714@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;So what should be in /usr/share/opscenter-agent?  Right now I'm seeing:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[root@test opscenter-agent]# pwd
/usr/share/opscenter-agent
[root@test opscenter-agent]# ll
total 41108
drwxr-xr-x 2 opscenter-agent opscenter-agent     4096 Apr 19 12:56 bin
drwxr-xr-x 2 opscenter       opscenter           4096 Apr 19 11:28 conf
-rwxr-xr-x 1 opscenter       opscenter          18563 Apr 17 11:48 LICENSE
-rwxr-xr-x 1 opscenter       opscenter       11569316 Feb 24 13:12 opscenter-agent-2.6-standalone.jar
-rwxr-xr-x 1 opscenter-agent opscenter-agent 15864771 Apr 17 11:53 opscenter-agent-2.7-standalone.jar
-rwxr-xr-x 1 opscenter       opscenter       14567887 Apr 17 11:53 opscenter-agent.rpm&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I installed it like:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;cd /usr/share
tar zxf opscenter-agent.tar.gz
cd opscenter-agent
./bin/install_agent.sh opscenter-agent.rpm &#38;lt;opscenterd_host&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I may have had an earlier version installed in the same location though, which might have been the problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1713</link>
			<pubDate>Thu, 19 Apr 2012 17:32:44 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1713@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;That is indicating that the agent is trying to load a jar file as a configuration file. The old agent jar file did not get cleared out of '/usr/share/opscenter-agent/'. If you delete the jar file in that directory with the older version number it should resolve the problem.&#60;/p&#62;
&#60;p&#62;How did you install the agents in this case? Using the OpsCenter UI? Manually with the agent rpms? Manually with the agent tarball?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Opscenter Agent BindExceptions"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-agent-bindexceptions#post-1712</link>
			<pubDate>Thu, 19 Apr 2012 17:30:12 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1712@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I'm not sure if it's related, but I've been trying to get the opscenter agents upgraded from 1.4 to 2.0 and they keep throwing Java exceptions:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;INFO [main] 2012-04-19 13:27:43,385 Loading conf files: /usr/share/opscenter-agent/opscenter-agent-2.7-standalone.jar, /var/lib/opscenter-agent/conf/address.yaml
Exception in thread &#38;quot;main&#38;quot; java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry
	at clojure.lang.LazySeq.sval(LazySeq.java:47)
	at clojure.lang.LazySeq.seq(LazySeq.java:56)
	at clojure.lang.RT.seq(RT.java:450)
	at clojure.core$seq.invoke(core.clj:122)
	at clojure.core$r.invoke(core.clj:793)
	at clojure.core$into.invoke(core.clj:2614)
	at opsagent.conf$load_conf.invoke(conf.clj:89)
	at opsagent.opsagent$_main.doInvoke(opsagent.clj:169)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at opsagent.opsagent.main(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry
	at clojure.lang.LazySeq.sval(LazySeq.java:47)
	at clojure.lang.LazySeq.seq(LazySeq.java:56)
	at clojure.lang.RT.seq(RT.java:450)
	at clojure.core$seq.invoke(core.clj:122)
	at clojure.core$r.invoke(core.clj:793)
	at clojure.core$into.invoke(core.clj:2614)
	at opsagent.conf$load_conf_file.invoke(conf.clj:85)
	at clojure.core$map$fn__425.invoke(core.clj:2096)
	at clojure.lang.LazySeq.sval(LazySeq.java:42)
	... 9 more
Caused by: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry
	at opsagent.conf$load_conf_file$fn__313.invoke(conf.clj:84)
	at clojure.core$map$fn__425.invoke(core.clj:2096)
	at clojure.lang.LazySeq.sval(LazySeq.java:42)
	... 17 more&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;My /var/lib/opscenter-agent/conf/address.yaml file only contains these two lines:&#60;/p&#62;
&#60;p&#62;stomp_interface: &#34;&#38;lt;ip of opscenterd&#38;gt;&#34;&#60;br /&#62;
agent_rpc_interface:  &#34;&#38;lt;ip of local machine&#38;gt;&#34;&#60;/p&#62;
&#60;p&#62;with obviously the IP addresses filled out.&#60;/p&#62;
&#60;p&#62;any ideas?  This is on a CentOS 5 machine.  Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
