title: Can't run Cassandra on Ubuntu
body: <p>I have installed Cassandra on ubuntu 12.04 .</p>
  
  <p>But when I start it, the following error occurrs:</p>
  
  <p><code>cassandra -f
  xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1493M -Xmx1493M -Xmn373M -Xss160k
  Segmentation fault (core dumped)</code></p>
  
  <p>I did the following to solve it but nothing happens:
  in <code>/etc/conf/cassandra-env.sh</code> I commented the following lines:</p>
  
  <pre><code>JVM_OPTS="$JVM_OPTS -XX:+HeapDumpOnOutOfMemoryError"
  
  # set jvm HeapDumpPath with CASSANDRA_HEAPDUMP_DIR
  if [ "x$CASSANDRA_HEAPDUMP_DIR" != "x" ]; then
      JVM_OPTS="$JVM_OPTS -XX:HeapDumpPath=$CASSANDRA_HEAPDUMP_DIR/cassandra-`date +%s`-pid$$.hprof"
  fi
  </code></pre>
  
  <p>and ran the following commands on shell as root:</p>
  
  <p><code>unset IBM_HEAPDUMP<br>
  unset  IBM_HEAP_DUMP</code></p>
  
  <p>How should I solve it?</p>