Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.11 KB | None | 0 0
  1. [andrey@centos1 cli]$ ./membase server-list -c 127.0.0.1:8091 --debug
  2. INFO: running command: server-list
  3. METHOD: GET
  4. PARAMS:  {}
  5. ENCODED_PARAMS:
  6. REST CMD: GET /pools/default
  7. response.status: 200
  8. ERROR: command: server-list: 127.0.0.1:8091, 'otpNode'
  9.  
  10. The reason you got this error is because you did not specify the username and password for you cluster. Below I repeated what you did and got the same result, but in the next example I added the username and password of my cluster and got the correct response. Please post again if this doesn't work for you.
  11.  
  12. [root@mike_1 ~]# /opt/membase/bin/cli/membase server-list -c 127.0.0.1:8091 --debug
  13. INFO: running command: server-list
  14. METHOD: GET
  15. PARAMS:  {}
  16. ENCODED_PARAMS:
  17. REST CMD: GET /pools/default
  18. response.status: 200
  19. ERROR: command: server-list: 127.0.0.1:8091, 'otpNode'
  20.  
  21. [root@mike_1 ~]# /opt/membase/bin/cli/membase server-list -c 127.0.0.1:8091 -u Administrator -p password --debug
  22. INFO: running command: server-list
  23. METHOD: GET
  24. PARAMS:  {}
  25. ENCODED_PARAMS:
  26. REST CMD: GET /pools/default
  27. response.status: 200
  28. ns_1@127.0.0.1 127.0.0.1:8091 healthy active
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement