Advertisement
esoptron

Untitled

Apr 12th, 2019
606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. [centos@ip-10-145-80-184 /]$ memsql-admin create-node --host 10.145.80.184 --password <secure-password> --datadir /data -vvv
  2. 2019/04/12 20:28:05 main.go:54 Running command `/usr/bin/ssh -oControlMaster=yes -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket -N -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oServerAliveInterval=60 -oServerAliveCountMax=5 -oBatchMode=no -oIdentityFile=/home/centos/ops-syseng.pem 10.145.80.184`
  3. 2019/04/12 20:28:05 connection_manager.go:127 Testing SSH configuration for 10.145.80.184
  4. 2019/04/12 20:28:05 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'echo' 'ping'`
  5. 2019/04/12 20:28:06 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'echo' 'ping'` took 257.333474ms
  6. 2019/04/12 20:28:06 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'id' '-u' '-n'`
  7. 2019/04/12 20:28:06 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'id' '-u' '-n'` took 25.648069ms
  8. 2019/04/12 20:28:06 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'memsqlctl' '--json' '--yes' 'env'`
  9. 2019/04/12 20:28:06 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'memsqlctl' '--json' '--yes' 'env'` took 29.992743ms
  10. 2019/04/12 20:28:06 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'which' 'sudo'`
  11. 2019/04/12 20:28:06 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'which' 'sudo'` took 23.813952ms
  12. 2019/04/12 20:28:06 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'sudo' '-n' '-k' '-l'`
  13. 2019/04/12 20:28:06 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'sudo' '-n' '-k' '-l'` took 39.276996ms
  14. Toolbox is about to perform the following actions on host 10.145.80.184:
  15. · Run 'memsqlctl create-node --datadir /data --password ●●●●●●'
  16.  
  17. Would you like to continue? [y/N]: y
  18. 2019/04/12 20:28:07 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'sudo' '-S' '-k' '--' '/bin/sh' '-c' ''\''printf'\'' '\''d620f893-a4e2-4a18-a19f-a2fb598f9f96'\'' && '\''exec'\'' '\''memsqlctl'\'' '\''--json'\'' '\''--yes'\'' '\''upsert-secure-key'\'''`
  19. 2019/04/12 20:28:07 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'sudo' '-S' '-k' '--' '/bin/sh' '-c' ''\''printf'\'' '\''d620f893-a4e2-4a18-a19f-a2fb598f9f96'\'' && '\''exec'\'' '\''memsqlctl'\'' '\''--json'\'' '\''--yes'\'' '\''upsert-secure-key'\'''` took 52.315103ms
  20. 2019/04/12 20:28:07 main.go:54 Running command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'sudo' '-S' '-k' '--' '/bin/sh' '-c' ''\''printf'\'' '\''d620f893-a4e2-4a18-a19f-a2fb598f9f96'\'' && '\''exec'\'' '\''memsqlctl'\'' '\''--json'\'' '\''--yes'\'' '\''create-node'\'' '\''--datadir'\'' '\''/data'\'' '\''--secure-password'\'' '\''0x62+FO377wsmYe1eopx7azu0IvnfCmOUmwwEa8sgml+KmG/APpH'\'''`
  21. 2019/04/12 20:28:08 main.go:54 Command `/usr/bin/ssh -oBatchMode=yes -q -tt -oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket 10.145.80.184 'sudo' '-S' '-k' '--' '/bin/sh' '-c' ''\''printf'\'' '\''d620f893-a4e2-4a18-a19f-a2fb598f9f96'\'' && '\''exec'\'' '\''memsqlctl'\'' '\''--json'\'' '\''--yes'\'' '\''create-node'\'' '\''--datadir'\'' '\''/data'\'' '\''--secure-password'\'' '\''0x62+FO377wsmYe1eopx7azu0IvnfCmOUmwwEa8sgml+KmG/APpH'\'''` failed with exit code 1 in 44.835419ms
  22. error running memsqlctl: error running command: `"/usr/bin/ssh" "-oBatchMode=yes" "-q" "-tt" "-oControlPath=/run/user/1000/memsql-toolbox143944273/1.socket" "10.145.80.184" "'sudo'" "'-S'" "'-k'" "'--'" "'/bin/sh'" "'-c'" "''\\''printf'\\'' '\\''d620f893-a4e2-4a18-a19f-a2fb598f9f96'\\'' && '\\''exec'\\'' '\\''memsqlctl'\\'' '\\''--json'\\'' '\\''--yes'\\'' '\\''create-node'\\'' '\\''--datadir'\\'' '\\''/data'\\'' '\\''--secure-password'\\'' '\\''0x62+FO377wsmYe1eopx7azu0IvnfCmOUmwwEa8sgml+KmG/APpH'\\'''"`: exit status 1
  23. stderr: the specified datadir at /data must be owned by user memsql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement