通过ssl配置kvstore时无法连接到商店

时间:2016-01-11 14:27:06

标签: ssl oracle-nosql

我尝试为我的kvstore创建ssl配置,我配置商店并创建用户root,但每当我尝试连接到商店时,我都会收到以下错误:

- kv-> connect store -name OracleNoSqlSecurityTests -security /home/impadmin/oracle/client.txt
Error handling command connect store -name OracleNoSqlSecurityTests -security /home/impadmin/oracle/client.txt: Cannot connect to OracleNoSqlSecurityTests at localhost:5000 

当我重新启动kvstore服务器并再次创建用户root时,我得到以下内容:

kv-> plan create-user -name root -admin -wait
Enter the new password: 
Re-enter the new password: 
This command can't be used until the Admin is configured.

有什么想法在这里发生了什么?

1 个答案:

答案 0 :(得分:1)

这似乎只是一个错误的端口问题。

您是否尝试过没有SSL?如果有帮助,这就是我用来连接kvstore的方式:

java -jar $KVHOME/lib/kvstore.jar kvlite -root $KVROOT -host localhost &
java -jar $KVHOME/lib/kvstore.jar runadmin -port 5000 -host localhost
kv-> connect store -host localhost -port 5000 -name kvstore ;