无法访问Cassandra的pidfile [英] Could not access pidfile for Cassandra
问题描述
我正在使用cassandra,没有问题,最后一小时,但现在我不能访问cassandra当我运行 cqlsh
它给了我这个:
连接错误:无法连接到localhost:9160
所以我试过:
sudo service cassandra status
它给了我这个:
xss = -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+ UseThreadPriorities -
XX:ThreadPriorityPolicy = 42 -Xms1024M -Xmx1024M -Xmn200M -XX:+ HeapDumpOnOutOfMemoryError -Xss256k
- 无法存取Cassandra的pid档案
我可以如何解决这个问题?
先感谢,
您必须通过
删除cassandra。 / code>命令并重新安装。purge
同样检查你的java版本兼容cassandra的前提条件(像cassandra 2. *需要java oracle 7.0)
I were working with cassandra with no problem last hour ,but now I can't access to cassandra when I ran
cqlsh
it gave me this:Connection error: Could not connect to localhost:9160
So I tried this:
sudo service cassandra status
And it gave me this:
xss = -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities - XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss256k
- could not access pidfile for Cassandra
what can I do to resolve this problem?
Thanks in advance,
解决方案You may forgot stop the cassandra before delete it.
You must remove the cassandra by
purge
command and install it again.Also check your java version that compatible with pre-requirements of the cassandra.(like cassandra 2.* needs java oracle 7.0)
这篇关于无法访问Cassandra的pidfile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文