Some relevant reading if you're interested: http://dslab.epfl.ch/pubs/crashonly/ http://web.archive.org/web/20060426230247/http://crash.stanford.edu/
On Wed, Oct 6, 2010 at 1:46 PM, Scott Mann <sdm...@gmail.com> wrote: > Yes. ctrl-C if running in the foreground. Use kill <pid>, if running > in the background (see the man page for kill if you are unfamiliar > with it). Killing Cassandra is the only way to terminate it. > > On Wed, Oct 6, 2010 at 11:03 AM, Alberto Velandia <b...@yogadigital.net> > wrote: > > So, is ctrl + C how you stop cassandra? or I'm i better doing it another > > way? > > Thanks > > On Oct 6, 2010, at 11:59 AM, Norman Maurer wrote: > > > > CTRL + Z does not stop a programm it just suspend it. You will need to > > resume it with "fg" and then hit CTRL + C to stop it. > > > > For some basic background: > > > > http://linuxreviews.org/beginner/jobs/ > > > > Bye, > > Norman > > > > > > 2010/10/6 Alberto Velandia <b...@yogadigital.net>: > > > > Hi I've stopped cassandra hitting Ctrl + Z and tried to restart it and > got > > > > this message: > > > > INFO 11:46:16,039 JNA not found. Native methods will be disabled. > > > > INFO 11:46:16,159 DiskAccessMode 'auto' determined to be mmap, > > > > indexAccessMode is mmap > > > > ERROR 11:46:16,449 Fatal exception during initialization > > > > java.io.IOException: Failed to delete > > > > /var/lib/cassandra/data/system/LocationInfo-9-Data.db > > > > at > > > > > org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:47) > > > > at > > > > org.apache.cassandra.io.SSTable.deleteIfCompacted(SSTable.java:108) > > > > at > > > > > org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:172) > > > > at > > > > > org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248) > > > > at org.apache.cassandra.db.Table.<init>(Table.java:338) > > > > at org.apache.cassandra.db.Table.open(Table.java:199) > > > > at > > > > org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:124) > > > > at > > > > > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:97) > > > > at > > > > > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:214) > > > > 1. How I'm I supposed to stop Cassandra? > > > > 2. Is there a way for me to restart Cassandra without losing the data > I've > > > > stored? > > > > Thanks > > > > Alberto Velandia > > > > Director de proyectos > > > > Calle 74 # 15-80 - Int 2. Oficina 202 > > > > Osaka Trade Center > > > > Bogotá, Colombia, Latam. > > > > Tel: +571-345-1070 > > > > Cel: +57301-466-3902 > > > > Site en desarrollo: http://www.staging.yoga-digital.net/works > > > > Messenger: b...@yogadigital.net > > > > SkypeID: beto_velandia > > > > > > La pureza de lo simple > > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > > > > información privilegiada o confidencial. Si no es usted el destinatario > > > > indicado, queda notificado de que la lectura, utilización, divulgación > y/o > > > > copia sin autorización está prohibida en virtud de la legislación > vigente. > > > > Si ha recibido este mensaje por error, le rogamos que nos lo comunique > > > > inmediatamente por esta misma vía y proceda a su destrucción. El correo > > > > electrónico vía Internet no permite asegurar la confidencialidad de los > > > > mensajes que se transmiten ni su integridad o correcta recepción. Yoga > > > > Digital S.A.S. no asume ninguna responsabilidad por estas circunstancias. > > > > This message is intended exclusively for its addressee and may contain > > > > information that is CONFIDENTIAL and protected by a professional > privilege > > > > or whose disclosure is prohibited by law. If you are not the intended > > > > recipient you are hereby notified that any read, dissemination, copy or > > > > disclosure of this communication is strictly prohibited by law. If this > > > > message has been received in error, please immediately notify us via > e-mail > > > > and delete it. Internet e-mail neither guarantees the confidentiality > nor > > > > the integrity or proper receipt of the messages sent. Yoga Digital S.A.S. > > > > does not assume any liability for those circumstances. > > > > > > > > > > Alberto Velandia > > Director de proyectos > > Calle 74 # 15-80 - Int 2. Oficina 202 > > Osaka Trade Center > > Bogotá, Colombia, Latam. > > Tel: +571-345-1070 > > Cel: +57301-466-3902 > > Site en desarrollo: http://www.staging.yoga-digital.net/works > > Messenger: b...@yogadigital.net > > SkypeID: beto_velandia > > > > > > La pureza de lo simple > > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > > información privilegiada o confidencial. Si no es usted el destinatario > > indicado, queda notificado de que la lectura, utilización, divulgación > y/o > > copia sin autorización está prohibida en virtud de la legislación > vigente. > > Si ha recibido este mensaje por error, le rogamos que nos lo comunique > > inmediatamente por esta misma vía y proceda a su destrucción. El correo > > electrónico vía Internet no permite asegurar la confidencialidad de los > > mensajes que se transmiten ni su integridad o correcta recepción. Yoga > > Digital S.A.S. no asume ninguna responsabilidad por estas circunstancias. > > > > This message is intended exclusively for its addressee and may contain > > information that is CONFIDENTIAL and protected by a professional > privilege > > or whose disclosure is prohibited by law. If you are not the intended > > recipient you are hereby notified that any read, dissemination, copy or > > disclosure of this communication is strictly prohibited by law. If this > > message has been received in error, please immediately notify us via > e-mail > > and delete it. Internet e-mail neither guarantees the confidentiality > nor > > the integrity or proper receipt of the messages sent. Yoga Digital S.A.S. > > does not assume any liability for those circumstances. > > > > > > -- > -Scott > -- Riptano Software and Support for Apache Cassandra http://www.riptano.com/ mden...@riptano.com m: 512.587.0900 f: 866.583.2068