Hi All.

Thanks for your replies.

a)
cqlsh <IP-Address of server> does not work either :(


b)
Following are the parameters as asked ::

listen_address: localhost
rpc_address: localhost

broadcast_rpc_address is not set.
According to the yaml file ::

# RPC address to broadcast to drivers and other Cassandra nodes. This cannot
# be set to 0.0.0.0. If left blank, this will be set to the value of
# rpc_address. If rpc_address is set to 0.0.0.0, broadcast_rpc_address must
# be set.
# broadcast_rpc_address: 1.2.3.4


c)
Following is the netstat-output, with process information ::

#######################################################################################################
ajay@comp:~$ sudo netstat -apn | grep 9042
[sudo] password for admin:
tcp6       0      0 127.0.0.1:9042          :::*
LISTEN      10169/java
#######################################################################################################


Kindly let me know what else we can try .. it is really driving us nuttsss :(

On Mon, Sep 14, 2015 at 9:40 PM, Jared Biel
<jared.b...@bolderthinking.com> wrote:
> Whoops, I accidentally pressed a hotkey and sent my message prematurely.
> Here's what netstat should look like with those settings:
>
> sudo netstat -apn | grep 9042
> tcp6       0      0 0.0.0.0:9042            :::*                    LISTEN
> 21248/java
>
> -Jared
>
> On 14 September 2015 at 16:09, Jared Biel <jared.b...@bolderthinking.com>
> wrote:
>>
>> I assume "@ Of node" is ethX's IP address? Has cassandra been restarted
>> since changes were made to cassandra.yaml? The netstat output that you
>> posted doesn't look right; we use settings similar to what you've posted.
>> Here's what it looks like on one of our nodes.
>>
>>
>> -Jared
>>
>> On 14 September 2015 at 10:34, Ahmed Eljami <ahmed.elj...@gmail.com>
>> wrote:
>>>
>>> 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
>>
>>
>



-- 
Regards,
Ajay

Reply via email to