我尝试为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.
任何线索,这是怎么回事?
最佳答案
看来这只是端口错误的问题。
您是否尝试过不使用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 ;
关于ssl - 通过ssl配置kvstore时无法连接到存储,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/34723883/