Datastax Cassandra OpsCenter服务未在Windows 7上启动 [英] Datastax Cassandra OpsCenter service not starting on Windows 7

查看:537
本文介绍了Datastax Cassandra OpsCenter服务未在Windows 7上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Cassandra的新人。我在Windows 7 64位上安装DataStax Cassandra社区版,遵循 DataStax社区版。我遵循完全相同的指示,但由于某种原因,我不能连接到OpsCenter。然后我去尝试手动启动OpsCenter服务。我得到以下错误。

I am new to Cassandra. I installed DataStax Cassandra community edition on Windows 7 64 bit by following the instructions mentioned in DataStax Community Edition. I following exactly same instructions, but for some reason I could not about connect to OpsCenter. Then I went and trying to start OpsCenter service manually. I am getting the following error.


Windows无法在
本地计算机上启动DataStax OpsCenter社区2.0.6。有关更多信息,请查看系统事件日志。如果
这是非Microsoft服务,请联系服务提供商,
引用服务特定的错误代码1。

Windows could not start the DataStax OpsCenter Community 2.0.6 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code1.

任何帮助都将非常感激。

Any help would be highly appreciated.

INFO [main] 2014-03-14 11:01:53,329启动Jetty服务器:{:port 61621,:host nil, false,:join? false}
INFO [初始化] 2014-03-14 11:01:53,356新JMX连接(127.0.0.1:7199)
INFO [初始化] 2014-03-14 11:01:53,374新JMX连接(127.0.0.1:7199)
INFO [Jetty] 2014-03-14 11:01:53,393 Jetty服务器启动
错误[初始化] 2014-03-14 11:01:53,416线程异常初始化
错误[初始化] 2014-03-14 11:01:53,418 clojure.lang.ExceptionInfo:throw +:{:type:bad-permissions,:message无法找到cassandra.yaml配置文件。如果您的配置文件不在Cassandra安装中,请在OpsCenter群集配置文件的Cassandra部分中设置'conf_location'选项并重新启动opscenterd。检查以​​下目录:[\/ etc / dse / cassandra / cassandra .yaml \\/etc/cassandra/conf/cassandra.yaml\\/etc/cassandra/cassandra.yaml\\C:\\Program Files\\ DataStax Community \\utils\\conf\\cassandra.yaml\]} {:object {:type:bad-permissions,:message无法找到cassandra.yaml配置文件。如果您的配置文件不在Cassandra安装中,请在OpsCenter群集配置文件的Cassandra部分中设置conf_location选项,然后重新启动opscenterd。已检查以下目录:[\/etc/dse/cassandra/cassandra.yaml\\/etc/cassandra/conf/cassandra.yaml\\/etc/cassandra/cassandra.yaml\\ \\\C:\\Program Files\\DataStax Community\\utils\\conf\\cassandra.yaml\},:environment {tar-location C:\Program Files \DataStax Community \utils\conf\cassandra.yaml,conf nil,checked-files [/etc/dse/cassandra/cassandra.yaml/ etc / cassandra / conf / cassandra.yaml/etc/cassandra/cassandra.yamlC:\Program Files\DataStax Community\utils\conf\cassandra.yaml]}}
错误[初始化] 2014- 03-14 11:01:53,418 at opsagent.util.cassandra_util $ cassandra_conf_location.invoke(cassandra_util.clj:118)
错误[初始化] 2014-03-14 11:01:53,418 at opsagent.util.cassandra_util $ get_cassandra_conf.invoke(cassandra_util.clj:130)
错误[初始化] 2014-03-14 11:01:53,418在opsagent.opsagent $ create_thrift_conf_vars.invoke(opsagent.clj:52)
错误[初始化] 2014-03-14 11:01:53,418 at opsagent.opsagent $ setup_thrift.invoke(opsagent.clj:138)
错误[初始化] 2014-03-14 11:01:53,418 at opsagent.jmx $ determine_ip .invoke(jmx.clj:341)
错误[初始化] 2014-03-14 11:01:53,418在opsagent.jmx $ setup_jmx $ fn__1359.invoke(jmx.clj:358)
错误[初始化] 2014-03-14 11:01:53,419在clojure.lang.AFn.run(AFn.java:24)
错误[初始化] 2014-03-14 11:01:53,419在java.lang。 Thread.run(未知来源)
错误[StompConnection接收器] 2014-03-14 11:01:54,309连接到127.0.0.1:61620:失败:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection receiver] 2014-03-14 11:01:54,569在2秒内重新连接。

INFO [main] 2014-03-14 11:01:53,329 Starting Jetty server: {:port 61621, :host nil, :ssl? false, :join? false} INFO [Initialization] 2014-03-14 11:01:53,356 New JMX connection (127.0.0.1:7199) INFO [Initialization] 2014-03-14 11:01:53,374 New JMX connection (127.0.0.1:7199) INFO [Jetty] 2014-03-14 11:01:53,393 Jetty server started ERROR [Initialization] 2014-03-14 11:01:53,416 Exception in thread "Initialization" ERROR [Initialization] 2014-03-14 11:01:53,418 clojure.lang.ExceptionInfo: throw+: {:type :bad-permissions, :message "Unable to locate the cassandra.yaml configuration file. If your configuration file is not located with the Cassandra install, please set the 'conf_location' option in the Cassandra section of the OpsCenter cluster configuration file and restart opscenterd. Checked the following directories: [\"/etc/dse/cassandra/cassandra.yaml\" \"/etc/cassandra/conf/cassandra.yaml\" \"/etc/cassandra/cassandra.yaml\" \"C:\\Program Files\\DataStax Community\\utils\\conf\\cassandra.yaml\"]"} {:object {:type :bad-permissions, :message "Unable to locate the cassandra.yaml configuration file. If your configuration file is not located with the Cassandra install, please set the 'conf_location' option in the Cassandra section of the OpsCenter cluster configuration file and restart opscenterd. Checked the following directories: [\"/etc/dse/cassandra/cassandra.yaml\" \"/etc/cassandra/conf/cassandra.yaml\" \"/etc/cassandra/cassandra.yaml\" \"C:\\Program Files\\DataStax Community\\utils\\conf\\cassandra.yaml\"]"}, :environment {tar-location "C:\Program Files\DataStax Community\utils\conf\cassandra.yaml", conf nil, checked-files ["/etc/dse/cassandra/cassandra.yaml" "/etc/cassandra/conf/cassandra.yaml" "/etc/cassandra/cassandra.yaml" "C:\Program Files\DataStax Community\utils\conf\cassandra.yaml"]}} ERROR [Initialization] 2014-03-14 11:01:53,418 at opsagent.util.cassandra_util$cassandra_conf_location.invoke(cassandra_util.clj:118) ERROR [Initialization] 2014-03-14 11:01:53,418 at opsagent.util.cassandra_util$get_cassandra_conf.invoke(cassandra_util.clj:130) ERROR [Initialization] 2014-03-14 11:01:53,418 at opsagent.opsagent$create_thrift_conf_vars.invoke(opsagent.clj:52) ERROR [Initialization] 2014-03-14 11:01:53,418 at opsagent.opsagent$setup_thrift.invoke(opsagent.clj:138) ERROR [Initialization] 2014-03-14 11:01:53,418 at opsagent.jmx$determine_ip.invoke(jmx.clj:341) ERROR [Initialization] 2014-03-14 11:01:53,418 at opsagent.jmx$setup_jmx$fn__1359.invoke(jmx.clj:358) ERROR [Initialization] 2014-03-14 11:01:53,419 at clojure.lang.AFn.run(AFn.java:24) ERROR [Initialization] 2014-03-14 11:01:53,419 at java.lang.Thread.run(Unknown Source) ERROR [StompConnection receiver] 2014-03-14 11:01:54,309 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-14 11:01:54,569 Reconnecting in 2s.

复制并添加cassandra。 yaml文件导入utils \conf,现在日志文件中出现以下错误

copied and added the cassandra.yaml file into the utils\conf and now getting the following errors in the log file

新建日志

INFO [conf-requester] 2014-03-17 12:10:16,209从opscenterd请求最新conf
WARN [clojure-agent-send-off-pool-44] 2014-03- 17 12:10:16,209尝试在未连接时发送消息:/ conf-request [[fe80:0:0:0:f905:968a:ba35:a65f%19,fe80:0:0:0:20​​c3 :67db:49f9:631d%15,fe80:0:0:0:c0e8:7cb:589d:e349%17,0:0:0:0:0:0:0:1,192.168 .16.214,fe80:0:0:0:901d:eb95:fb56:2fa8%13,fe80:0:0:0:0:100:7f:fffe%14,192.168.152.1 192.168.168.1,fe80:0:0:0:c52b:50f7:e159:d639%12,127.0.0.1],[4.1.1,/ 1895607593 / conf]]
ERROR [StompConnection receiver] 2014-03-17 12:11:15,128连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection receiver] 2014-03-17 12:11:15,128在60s重新连接。
错误[StompConnection receiver] 2014-03-17 12:12:16,130连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection receiver] 2014-03 -17 12:12:16,130在60s重新连接。
错误[StompConnection接收器] 2014-03-17 12:13:17,137连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection接收器] 2014-03 -17 12:13:17,137在60s重新连接。
错误[StompConnection接收器] 2014-03-17 12:14:18,140连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection接收器] 2014-03 -17 12:14:18,140在60s重新连接。
错误[StompConnection接收器] 2014-03-17 12:15:19,152连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection接收器] 2014-03 -17 12:15:19,152在60s重新连接。
错误[StompConnection receiver] 2014-03-17 12:16:20,156连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection receiver] 2014-03 -17 12:16:20,156在60s重新连接。
错误[StompConnection接收器] 2014-03-17 12:17:21,159连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection receiver] 2014-03 -17 12:17:21,159在60s重新连接。
错误[StompConnection receiver] 2014-03-17 12:18:22,162连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection receiver] 2014-03 -17 12:18:22,162在60s重新连接。
错误[StompConnection接收器] 2014-03-17 12:19:23,175连接失败127.0.0.1:61620:java.net.ConnectException:连接拒绝:连接
INFO [StompConnection接收器] 2014-03 -17 12:19:23,175在60年代重新连接。

INFO [conf-requester] 2014-03-17 12:10:16,209 Requesting latest conf from opscenterd WARN [clojure-agent-send-off-pool-44] 2014-03-17 12:10:16,209 Tried to send message while not connected: /conf-request [["fe80:0:0:0:f905:968a:ba35:a65f%19","fe80:0:0:0:20c3:67db:49f9:631d%15","fe80:0:0:0:c0e8:7cb:589d:e349%17","0:0:0:0:0:0:0:1","192.168.16.214","fe80:0:0:0:901d:eb95:fb56:2fa8%13","fe80:0:0:0:0:100:7f:fffe%14","192.168.152.1","192.168.168.1","fe80:0:0:0:c52b:50f7:e159:d639%12","127.0.0.1"],["4.1.1","/1895607593/conf"]] ERROR [StompConnection receiver] 2014-03-17 12:11:15,128 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:11:15,128 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:12:16,130 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:12:16,130 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:13:17,137 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:13:17,137 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:14:18,140 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:14:18,140 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:15:19,152 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:15:19,152 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:16:20,156 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:16:20,156 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:17:21,159 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:17:21,159 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:18:22,162 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:18:22,162 Reconnecting in 60s. ERROR [StompConnection receiver] 2014-03-17 12:19:23,175 failed connecting to 127.0.0.1:61620:java.net.ConnectException: Connection refused: connect INFO [StompConnection receiver] 2014-03-17 12:19:23,175 Reconnecting in 60s.

推荐答案

现在有一个新版本可以下载, 。请试试。问题是,opscenter定义下载代码无条件地使用ssl,这在Windows上不受支持。此外address.yaml和local.conf现在指定了cassandra配置文件的正确位置。

There is now a new version ready for download that has this issue fixed. Pleas give it a try. The issue is that the opscenter definition download code was unconditionally using ssl, which is not supported on Windows. Also address.yaml and local.conf now specify the proper location for the cassandra configuration file.

谢谢,
Sven

Thanks, Sven

这篇关于Datastax Cassandra OpsCenter服务未在Windows 7上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆