In cassanrda.yaml:
listen_address:@ Of node
rpc_address:0.0.0.0

brodcast_rpc_address:@ Of node

2015-09-14 11:31 GMT+01:00 Neha Dave <nehajtriv...@gmail.com>:

> Try
> >cqlsh <IP Address of you Server>
>
> regards
> Neha
>
> On Mon, Sep 14, 2015 at 3:53 PM, Ajay Garg <ajaygargn...@gmail.com> wrote:
>
>> Hi All.
>>
>> We have setup a Ubuntu-14.04 server, and followed the steps exactly as
>> per http://wiki.apache.org/cassandra/DebianPackaging
>>
>> Installation completes fine, Cassandra starts fine, however cqlsh does
>> not work.
>> We get the error ::
>>
>>
>> #######################################################################################################
>> ajay@comp:~$ cqlsh
>> Connection error: ('Unable to connect to any servers', {'127.0.0.1':
>> error(None, "Tried connecting to [('127.0.0.1', 9042)]. Last error:
>> None")})
>>
>> #######################################################################################################
>>
>>
>>
>> Version-Info ::
>>
>>
>> #######################################################################################################
>> ajay@comp:~$ dpkg -l | grep cassandra
>> ii  cassandra                           2.1.9
>>      all          distributed storage system for structured data
>>
>> #######################################################################################################
>>
>>
>>
>> The port "seems" to be opened fine.
>>
>>
>> #######################################################################################################
>> ajay@comp:~$ netstat -an | grep 9042
>> tcp6       0      0 127.0.0.1:9042          :::*
>> LISTEN
>>
>> #######################################################################################################
>>
>>
>>
>> Firewall-filters ::
>>
>>
>> #######################################################################################################
>> ajay@comp:~$ sudo iptables -L
>> [sudo] password for ajay:
>> Chain INPUT (policy ACCEPT)
>> target     prot opt source               destination
>> ACCEPT     all  --  anywhere             anywhere             state
>> RELATED,ESTABLISHED
>> ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh
>> DROP       all  --  anywhere             anywhere
>>
>> Chain FORWARD (policy ACCEPT)
>> target     prot opt source               destination
>>
>> Chain OUTPUT (policy ACCEPT)
>> target     prot opt source               destination
>>
>> #######################################################################################################
>>
>>
>>
>> Even telnet fails :(
>>
>>
>> #######################################################################################################
>> ajay@comp:~$ telnet localhost 9042
>> Trying 127.0.0.1...
>>
>> #######################################################################################################
>>
>>
>>
>> Any ideas please?? We have been stuck on this for a good 3 hours now :(
>>
>>
>>
>> Thanks and Regards,
>> Ajay
>>
>
>


-- 
Cordialement;

Ahmed ELJAMI

Reply via email to