<?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: Clients get connection refused when DataStax Enterprise run as a service</title>
		<link>http://www.datastax.com/support-forums/topic/clients-get-connection-refused-when-datastax-enterprise-run-as-a-service</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 02:55:18 +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/clients-get-connection-refused-when-datastax-enterprise-run-as-a-service" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Clients get connection refused when DataStax Enterprise run as a service"</title>
			<link>http://www.datastax.com/support-forums/topic/clients-get-connection-refused-when-datastax-enterprise-run-as-a-service#post-1929</link>
			<pubDate>Wed, 16 May 2012 23:52:54 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1929@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Solved my own problem: I examined /var/log/cassandra/system.log and noticed a &#34;permission denied&#34; error on a file in the /var/lib/data directory.  Issuing the commands:&#60;/p&#62;
&#60;p&#62;cd /var/lib/cassandra&#60;br /&#62;
chmod -R a+w *&#60;/p&#62;
&#60;p&#62;resolved the problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Clients get connection refused when DataStax Enterprise run as a service"</title>
			<link>http://www.datastax.com/support-forums/topic/clients-get-connection-refused-when-datastax-enterprise-run-as-a-service#post-1928</link>
			<pubDate>Wed, 16 May 2012 23:39:05 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1928@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I've installed DataStax Enterprise on RHEL 6.0 using the package install.   If I start dse with the command:&#60;/p&#62;
&#60;p&#62;service dse start&#60;/p&#62;
&#60;p&#62;It starts correctly:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
[root@bvdl-vm-01 opscenter]# service dse start&#60;br /&#62;
Starting DSE daemon dse&#60;br /&#62;
DSE daemon starting with Hadoop and Solr enabled (edit /etc/default/dse to disable)
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;However, if I attempt to connect to it, I get Connection Refused:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Starting Cassandra Client&#60;br /&#62;
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect&#60;br /&#62;
        at org.apache.thrift.transport.TSocket.open(TSocket.java:183)&#60;br /&#62;
        at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)&#60;br /&#62;
        at org.apache.cassandra.cli.CliMain.connect(CliMain.java:79)&#60;br /&#62;
        at org.apache.cassandra.cli.CliMain.main(CliMain.java:255)&#60;br /&#62;
Caused by: java.net.ConnectException: Connection refused: connect&#60;br /&#62;
        at java.net.PlainSocketImpl.socketConnect(Native Method)&#60;br /&#62;
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)&#60;br /&#62;
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)&#60;br /&#62;
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)&#60;br /&#62;
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)&#60;br /&#62;
        at java.net.Socket.connect(Socket.java:529)&#60;br /&#62;
        at org.apache.thrift.transport.TSocket.open(TSocket.java:178)&#60;br /&#62;
        ... 3 more&#60;br /&#62;
Exception connecting to 138.42.81.221/9160. Reason: Connection refused: connect.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;If I shut down the service and start dsn manually:&#60;/p&#62;
&#60;p&#62;dse cassandra&#60;/p&#62;
&#60;p&#62;then clients connect without any problem.   Is there some additional configuration required to run as a service?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
