0

我的系统:Windows 7 64 位。在安装 cassandra 的 Datastax 社区版时,

如先决条件中所述: http ://www.datastax.com/documentation/gettingstarted/index.html#getting_started/gettingStartedWindows_t.html

我尝试使用此处给出的说明启用 SSL http://www.datastax.com/docs/opscenter/configure/configure_ssl#config-ssl-win

但以下是我得到的错误。

C:\>python "C:\Program Files\DataStax Community\opscenter\bin\setup.py"
  File "C:\Program Files\DataStax Community\opscenter\bin\setup.py", line 51
    print "Error when creating opscenter SSL files. Error was:\n"
                                                            ^
SyntaxError: invalid syntax

这里有什么问题?

4

2 回答 2

1

你安装的是什么版本的openssl?该错误表明 openssl 命令抱怨语法错误。OpsCenter 特别需要 windows 上的 openssl 0.9.8。

http://www.datastax.com/docs/opscenter/configure/configure_ssl#enabling-ssl-windows

于 2013-07-09T20:15:51.767 回答
0

编辑文件create-file-pair.bat并将变量OPENSSL_EXE设置为您的 OpenSSL 安装路径。

于 2013-12-30T09:16:21.567 回答