incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Can not connect to cassandra 0.7 using CLI
Date Sun, 25 Sep 2011 09:06:17 GMT
Make sure that the directory /var/log/cassandra exists and the user running cassandra has permission
to use it. 

There are some instructions here in the readme file 
https://github.com/apache/cassandra/blob/cassandra-0.7.9/README.txt#L27

Good luck. 

A

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 24/09/2011, at 10:01 PM, Julio Julio wrote:

> Eric Evans <eevans <at> rackspace.com> writes:
> 
>> 
>> On Thu, 2010-12-02 at 08:11 +1100, Joshua Partogi wrote:
>>> It is set to localhost I didn't change it and it is the same as
>>> configured
>>> in 0.6.8. Why doesn't it work out of the box?
>>> 
>>> Thanks heaps. 
>> 
>> Try "netstat -nl | grep 9160".  Is the node listening on 9160?  Which
>> interface is it bound to?
>> 
> 
> 
> I've got the same problem :( I've tried "netstat -nl | grep 9160" 
> and received nothing on the console output. In my cassandra.yaml
> file I've got:
> listen_address: localhost
> rpc_address: localhost
> rpc_port: 9160
> rpc_keepalive: true
> 
> (it might be a clue what is wrong) when I type "cassandra" on 
> the terminal I get this:
> 
> julio@julio-System-Product-Name:~$ log4j:ERROR setFile
> (null,true) 
> call failed.
> java.io.FileNotFoundException: /var/log/cassandra/system.log 
> (Permission denied)
> 	at java.io.FileOutputStream.openAppend(Native Method)
> 	at java.io.FileOutputStream.<init>
> (FileOutputStream.java:207)
> 
> and more ... ;/
> 
> what should I do? maybe I make silly mistakes but I'm completely 
> new to noSQL and Cassandra. Please, help me!
> 
> best regards
> Julio
> 
> 


Mime
View raw message