Be careful w/ that script if you're looking to upgrade, it nukes your data directory.
sudo rm -rf /var/lib/cassandra/data/system/* On Mon, Mar 16, 2015 at 1:41 PM, Ali Akhtar <ali.rac...@gmail.com> wrote: > https://gist.github.com/aliakhtar/3649e412787034156cbb > > Best run from a fresh ubuntu server. > > On Tue, Mar 17, 2015 at 12:50 AM, jean paul <researche...@gmail.com> > wrote: > >> i find this solution: >> >> http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/ >> >> but i haven't this file at all !! >> /etc/cassandra/default.conf/cassandra-env.sh >> >> please, i have a dought about how to install cassandra.. i have only >> downloaded the paquet et used the command inside the bin directory! that's >> it ? >> >> i can't find a file install.sh for example... >> >> >> >> >> 2015-03-16 20:11 GMT+01:00 jean paul <researche...@gmail.com>: >> >>> i can test './cqlsh' command but not with nodetool ! >>> >>> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh >>> Connected to Test Cluster at localhost:9160. >>> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol >>> 19.39.0] >>> Use HELP for help. >>> cqlsh> >>> cqlsh> >>> cqlsh> exit >>> /Bureau/apache-cassandra-2.0.13/bin# . >>> >>> >>> */nodetool infoFailed to connect to '127.0.0.1:7199 >>> <http://127.0.0.1:7199>': Connexion refusée* >>> >>> 2015-03-16 19:50 GMT+01:00 jean paul <researche...@gmail.com>: >>> >>>> ./nodetool help gossipinfo >>>> NAME >>>> nodetool gossipinfo - Shows the gossip information for the >>>> cluster >>>> >>>> SYNOPSIS >>>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port >>>> <port>)] >>>> [(-pw <password> | --password <password>)] >>>> [(-pwf <passwordFilePath> | --password-file >>>> <passwordFilePath>)] >>>> [(-u <username> | --username <username>)] gossipinfo >>>> >>>> OPTIONS >>>> -h <host>, --host <host> >>>> Node hostname or ip address >>>> >>>> -p <port>, --port <port> >>>> Remote jmx agent port number >>>> >>>> -pw <password>, --password <password> >>>> Remote jmx agent password >>>> >>>> -pwf <passwordFilePath>, --password-file <passwordFilePath> >>>> Path to the JMX password file >>>> >>>> -u <username>, --username <username> >>>> Remote jmx agent username >>>> >>> >>> >> > -- Jon Haddad http://www.rustyrazorblade.com twitter: rustyrazorblade