Advertisement
Guest User

Untitled

a guest
Jan 26th, 2018
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. зайчик:~/dev/unixchange_repo $ rake deploy:restart
  2. DEBUG [7787a1ef] Running echo -n $HOME as xchange@d.xchange.universa.io
  3. DEBUG [7787a1ef] Command: echo -n $HOME
  4. DEBUG [7787a1ef] /home/xchange
  5. DEBUG [7787a1ef] Finished in 2.653 seconds with exit status 0 (successful).
  6. INFO [88a1e581] Running test -d /home/xchange/.tmp || mkdir /home/xchange/.tmp && chmod 700 /home/xchange/.tmp as xchange@d.xchange.universa.io
  7. DEBUG [88a1e581] Command: test -d /home/xchange/.tmp || mkdir /home/xchange/.tmp && chmod 700 /home/xchange/.tmp
  8. INFO [88a1e581] Finished in 3.568 seconds with exit status 0 (successful).
  9. INFO [ec300e5c] Running test -d /home/xchange/srv || mkdir /home/xchange/srv as xchange@d.xchange.universa.io
  10. DEBUG [ec300e5c] Command: test -d /home/xchange/srv || mkdir /home/xchange/srv
  11. INFO [ec300e5c] Finished in 3.541 seconds with exit status 0 (successful).
  12. DEBUG [790d3558] Running [ -d /home/xchange/.config/systemd/user ] as xchange@d.xchange.universa.io
  13. DEBUG [790d3558] Command: [ -d /home/xchange/.config/systemd/user ]
  14. DEBUG [790d3558] Finished in 6.684 seconds with exit status 0 (successful).
  15. DEBUG Uploading /home/xchange/.config/systemd/user/xchange-scala-9000.service 0.0%
  16. INFO Uploading /home/xchange/.config/systemd/user/xchange-scala-9000.service 100.0%
  17. DEBUG Uploading /home/xchange/srv/conf/prod-9000.conf 0.0%
  18. INFO Uploading /home/xchange/srv/conf/prod-9000.conf 100.0%
  19. DEBUG Uploading /home/xchange/srv/conf/logback-9000.xml 0.0%
  20. INFO Uploading /home/xchange/srv/conf/logback-9000.xml 100.0%
  21. DEBUG [ec061c58] Running /usr/bin/env systemctl --user is-active xchange-scala-9000.service as xchange@d.xchange.universa.io
  22. DEBUG [ec061c58] Command: /usr/bin/env systemctl --user is-active xchange-scala-9000.service
  23. DEBUG [ec061c58] active
  24. DEBUG [ec061c58] Finished in 2.802 seconds with exit status 0 (successful).
  25. DEBUG [fe47da48] Running [ -d /home/xchange/.config/systemd/user ] as xchange@d.xchange.universa.io
  26. DEBUG [fe47da48] Command: [ -d /home/xchange/.config/systemd/user ]
  27. DEBUG [fe47da48] Finished in 4.635 seconds with exit status 0 (successful).
  28. DEBUG Uploading /home/xchange/.config/systemd/user/xchange-scala-9001.service 0.0%
  29. INFO Uploading /home/xchange/.config/systemd/user/xchange-scala-9001.service 100.0%
  30. DEBUG Uploading /home/xchange/srv/conf/prod-9001.conf 0.0%
  31. INFO Uploading /home/xchange/srv/conf/prod-9001.conf 100.0%
  32. DEBUG Uploading /home/xchange/srv/conf/logback-9001.xml 0.0%
  33. INFO Uploading /home/xchange/srv/conf/logback-9001.xml 100.0%
  34. DEBUG [fd587d5e] Running /usr/bin/env systemctl --user is-active xchange-scala-9001.service as xchange@d.xchange.universa.io
  35. DEBUG [fd587d5e] Command: /usr/bin/env systemctl --user is-active xchange-scala-9001.service
  36. DEBUG [fd587d5e] failed
  37. DEBUG [fd587d5e] Finished in 4.237 seconds with exit status 3 (failed).
  38. INFO [479d74e4] Running /usr/bin/env systemctl --user daemon-reload as xchange@d.xchange.universa.io
  39. DEBUG [479d74e4] Command: /usr/bin/env systemctl --user daemon-reload
  40. INFO [479d74e4] Finished in 3.290 seconds with exit status 0 (successful).
  41. INFO active: [{:name=>"xchange-scala-9000.service", :port=>9000}] all: [{:name=>"xchange-scala-9000.service", :port=>9000}, {:name=>"xchange-scala-9001.service", :port=>9001}]
  42. INFO new active: {:name=>"xchange-scala-9001.service", :port=>9001}
  43. INFO [e76faa09] Running /usr/bin/env systemctl --user enable --now xchange-scala-9001.service as xchange@d.xchange.universa.io
  44. DEBUG [e76faa09] Command: /usr/bin/env systemctl --user enable --now xchange-scala-9001.service
  45. DEBUG [e76faa09] Created symlink /home/xchange/.config/systemd/user/default.target.wants/xchange-scala-9001.service → /home/xchange/.config/systemd/user/xchange-scala-9001.service.
  46. INFO [e76faa09] Finished in 2.444 seconds with exit status 0 (successful).
  47. DEBUG [f30c2e9f] Running /usr/bin/env curl localhost:9001/version; true as xchange@d.xchange.universa.io
  48. DEBUG [f30c2e9f] Command: /usr/bin/env curl localhost:9001/version; true
  49. DEBUG [f30c2e9f] % Total % Received % Xferd Average Speed Time Time
  50. DEBUG [f30c2e9f] Time Current
  51. Dload Upload Total Spent Left Speed
  52. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  53. DEBUG [f30c2e9f] curl: (7) Failed to connect to
  54. DEBUG [f30c2e9f] localhost port 9001: Connection refused
  55. DEBUG [f30c2e9f] Finished in 3.694 seconds with exit status 0 (successful).
  56. WARN port 9001 is not ready
  57. DEBUG [d871763a] Running /usr/bin/env curl localhost:9001/version; true as xchange@d.xchange.universa.io
  58. DEBUG [d871763a] Command: /usr/bin/env curl localhost:9001/version; true
  59. DEBUG [d871763a] % Total % Received % Xferd Average Speed Time Time Time Current
  60.  
  61. DEBUG [d871763a] Dload Upload Total Spent Left Speed
  62. 0 0 0 0 0 0 0 0 --:--:-- --:-
  63. DEBUG [d871763a] -:-- --:--:-- 0
  64. 100 19 100 19 0 0 33 0 --:--:-- --:--:-- --:--:-- 33
  65. DEBUG [d871763a] server-0.1-SNAPSHOT
  66. DEBUG [d871763a] Finished in 4.003 seconds with exit status 0 (successful).
  67. #<Thread:0x00007fdd5ca41de8@/Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
  68. Traceback (most recent call last):
  69. 1: from /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
  70. /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout (SSHKit::Runner::ExecuteError)
  71. #<Thread:0x00007fdd5ca0c1e8@/Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
  72. Traceback (most recent call last):
  73. 1: from /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
  74. /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as xchange@d.xchange.universa.io: Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout (SSHKit::Runner::ExecuteError)
  75. rake aborted!
  76. SSHKit::Runner::ExecuteError: Exception while executing as xchange@d.xchange.universa.io: Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout
  77.  
  78.  
  79. Caused by:
  80. SSHKit::Runner::ExecuteError: Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout
  81.  
  82.  
  83. Caused by:
  84. Net::SSH::ConnectionTimeout: Net::SSH::ConnectionTimeout
  85. /Users/sergeych/dev/unixchange_repo/deploy/tasks/deploy.rake:105:in `block (4 levels) in <top (required)>'
  86.  
  87. Caused by:
  88. Errno::ETIMEDOUT: Operation timed out - connect(2) for 67.231.242.130:22
  89. /Users/sergeych/dev/unixchange_repo/deploy/tasks/deploy.rake:105:in `block (4 levels) in <top (required)>'
  90. Tasks: TOP => deploy:restart
  91. (See full trace by running task with --trace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement