Hi, Can you pass the parametrs listen_adress, rpc_adress and brodcast_rpc_adress from cassandra.yaml.
2015-09-14 11:23 GMT+01:00 Ajay Garg <ajaygargn...@gmail.com>: > 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