rupipal

Untitled

Apr 13th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.95 KB | None | 0 0
  1.  
  2.  
  3. D:\ProgramFiles\brooklyn>brooklyn launch
  4. Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support wa
  5. s removed in 8.0
  6. _ _ _
  7. | |__ _ __ ___ ___ | | _| |_ _ _ __ (R)
  8. | '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \
  9. | |_) | | | (_) | (_) | <| | |_| | | | |
  10. |_.__/|_| \___/ \___/|_|\_\_|\__, |_| |_|
  11. |___/ 0.10.0
  12.  
  13. 2017-04-13 14:48:24,797 INFO Starting Brooklyn web-console with no security opt
  14. ions (defaulting to no authentication), on bind address <any>
  15. 2017-04-13 14:48:43,851 INFO Started Brooklyn console at http://127.0.0.1:8081/
  16. , running classpath://brooklyn.war@
  17. 2017-04-13 14:48:43,934 INFO Persistence disabled
  18. 2017-04-13 14:48:43,935 INFO High availability disabled
  19. 2017-04-13 14:49:05,197 INFO Launched Brooklyn; will now block until shutdown c
  20. ommand received via GUI/API (recommended) or process interrupt.
  21. 2017-04-13 14:52:05,036 INFO Launched from YAML: name: Tomcat
  22. services:
  23. - type: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
  24. name: tomcatServer
  25. location: localhost -> BasicApplicationImpl{id=a2vf156atp} (Task[start]@ozdBrBAi
  26. )
  27. 2017-04-13 14:52:05,317 INFO Geo info lookup for 127.0.0.1/127.0.0.1 returned:
  28. HostGeoInfo[BHARTI Airtel, Chandigarh (IN): 127.0.0.1 at (30.734300613403,76.793
  29. 296813965)]
  30. 2017-04-13 14:52:05,687 INFO Starting TomcatServerImpl{id=r49bm1igb2} on machin
  31. e SshMachineLocation[localhost:null@127.0.0.1/127.0.0.1:22(id=scq77p8s79)]
  32. 2017-04-13 14:52:12,237 WARN Error invoking start at TomcatServerImpl{id=r49bm1
  33. igb2}: Cannot establish ssh connection to nwe @ SshMachineLocation[localhost:nwe
  34. @127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connection refused: connect).
  35. Ensure that passwordless and passphraseless ssh access is enabled using standard
  36. keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
  37. host is accessible, that credentials are correct (location and permissions if u
  38. sing a key), that the SFTP subsystem is available on the remote side, and that t
  39. here is sufficient random noise in /dev/random on both ends. To debug less commo
  40. n causes, see the original error in the trace or log, and/or enable 'net.schmizz
  41. ' (sshj) logging.: SshException: (nwe@127.0.0.1:22) failed to connect: (nwe@127.
  42. 0.0.1:22) (nwe@127.0.0.1:22) error acquiring {hostAndPort=127.0.0.1:22, user=nwe
  43. , ssh=13504935, password=null, privateKeyFile=null, privateKey=null, connectTime
  44. out=0, sessionTimeout=0} (attempt 4/4, in time 5.61s/2m); out of retries: Connec
  45. tion refused: connect
  46. 2017-04-13 14:52:12,471 WARN Service is not up when setting running on BasicApp
  47. licationImpl{id=a2vf156atp}; delayed 209ms but Sensor: service.isUp (java.lang.B
  48. oolean) did not recover from false; not-up-indicators={service-lifecycle-indicat
  49. ors-from-children-and-members=TomcatServerImpl{id=r49bm1igb2} is not up}
  50. 2017-04-13 14:52:12,480 WARN Setting BasicApplicationImpl{id=a2vf156atp} on-fir
  51. e due to problems when expected running, up=false, problems: {service-lifecycle-
  52. indicators-from-children-and-members=Required entity not healthy: TomcatServerIm
  53. pl{id=r49bm1igb2}}
  54. 2017-04-13 14:52:12,481 WARN Setting BasicApplicationImpl{id=a2vf156atp} on-fir
  55. e due to problems when expected running, up=false, problems: {service-lifecycle-
  56. indicators-from-children-and-members=Required entity not healthy: TomcatServerIm
  57. pl{id=r49bm1igb2}}
  58. 2017-04-13 14:52:12,498 WARN Error invoking start at BasicApplicationImpl{id=a2
  59. vf156atp}: Error invoking start at TomcatServerImpl{id=r49bm1igb2}: Cannot estab
  60. lish ssh connection to nwe @ SshMachineLocation[localhost:nwe@127.0.0.1/127.0.0.
  61. 1:22(id=scq77p8s79)] (Connection refused: connect).
  62. Ensure that passwordless and passphraseless ssh access is enabled using standard
  63. keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
  64. host is accessible, that credentials are correct (location and permissions if u
  65. sing a key), that the SFTP subsystem is available on the remote side, and that t
  66. here is sufficient random noise in /dev/random on both ends. To debug less commo
  67. n causes, see the original error in the trace or log, and/or enable 'net.schmizz
  68. ' (sshj) logging.: SshException: (nwe@127.0.0.1:22) failed to connect: (nwe@127.
  69. 0.0.1:22) (nwe@127.0.0.1:22) error acquiring {hostAndPort=127.0.0.1:22, user=nwe
  70. , ssh=13504935, password=null, privateKeyFile=null, privateKey=null, connectTime
  71. out=0, sessionTimeout=0} (attempt 4/4, in time 5.61s/2m); out of retries: Connec
  72. tion refused: connect
  73. 2017-04-13 14:52:13,299 INFO Creating PortForwardManager(scope=global)
  74. 2017-04-13 14:52:14,363 WARN Execution failed, invocation error for check-runni
  75. ng TomcatServerImpl{id=r49bm1igb2}: Cannot establish ssh connection to nwe @ Ssh
  76. MachineLocation[localhost:nwe@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connection
  77. refused: connect).
  78. Ensure that passwordless and passphraseless ssh access is enabled using standard
  79. keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
  80. host is accessible, that credentials are correct (location and permissions if u
  81. sing a key), that the SFTP subsystem is available on the remote side, and that t
  82. here is sufficient random noise in /dev/random on both ends. To debug less commo
  83. n causes, see the original error in the trace or log, and/or enable 'net.schmizz
  84. ' (sshj) logging. (throwing)
  85. 2017-04-13 14:52:14,397 INFO STDIN of problem in Task[LSM.publish(TomcatServerI
  86. mpl{id=r49bm1igb2}.Sensor: service.state (org.apache.brooklyn.core.entity.lifecy
  87. cle.Lifecycle)=on-fire @ 1492075332232);[Stream[stderr/0 B], subscription-delive
  88. ry-entity-r49bm1igb2[TomcatServerImpl{id=r49bm1igb2}], Wrapped[contextEntity:Tom
  89. catServerImpl{id=r49bm1igb2}], Stream[stdin/227 B], Stream[env/568 B], Stream[st
  90. dout/0 B]]]@XVd7ScBi:
  91. export INSTALL_DIR="/tmp/brooklyn-nwe/installs/TomcatServer_7.0.65"
  92. export RUN_DIR="/tmp/brooklyn-nwe/apps/a2vf156atp/entities/TomcatServer_r49bm1ig
  93. b2"
  94. mkdir -p $RUN_DIR
  95. cd $RUN_DIR
  96. test -f pid.txt || exit 1
  97. ps -p `cat pid.txt`
  98. 2017-04-13 14:52:14,438 WARN Error processing subscriptions to LSM.publish(Tomc
  99. atServerImpl{id=r49bm1igb2}.Sensor: service.state (org.apache.brooklyn.core.enti
  100. ty.lifecycle.Lifecycle)=on-fire @ 1492075332232): java.lang.IllegalStateExceptio
  101. n: Execution failed, invocation error for check-running TomcatServerImpl{id=r49b
  102. m1igb2}: Cannot establish ssh connection to nwe @ SshMachineLocation[localhost:n
  103. we@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connection refused: connect).
  104. Ensure that passwordless and passphraseless ssh access is enabled using standard
  105. keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
  106. host is accessible, that credentials are correct (location and permissions if u
  107. sing a key), that the SFTP subsystem is available on the remote side, and that t
  108. here is sufficient random noise in /dev/random on both ends. To debug less commo
  109. n causes, see the original error in the trace or log, and/or enable 'net.schmizz
  110. ' (sshj) logging.
  111. java.lang.IllegalStateException: Execution failed, invocation error for check-ru
  112. nning TomcatServerImpl{id=r49bm1igb2}: Cannot establish ssh connection to nwe @
  113. SshMachineLocation[localhost:nwe@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connect
  114. ion refused: connect).
  115. Ensure that passwordless and passphraseless ssh access is enabled using standard
  116. keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
  117. host is accessible, that credentials are correct (location and permissions if u
  118. sing a key), that the SFTP subsystem is available on the remote side, and that t
  119. here is sufficient random noise in /dev/random on both ends. To debug less commo
  120. n causes, see the original error in the trace or log, and/or enable 'net.schmizz
  121. ' (sshj) logging.
  122. at org.apache.brooklyn.entity.software.base.lifecycle.ScriptHelper.logWi
  123. thDetailsAndThrow(ScriptHelper.java:387) ~[org.apache.brooklyn-brooklyn-software
  124. -base-0.10.0.jar:0.10.0]
  125. Caused by: java.lang.IllegalStateException: Cannot establish ssh connection to n
  126. we @ SshMachineLocation[localhost:nwe@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Co
  127. nnection refused: connect).
  128. Ensure that passwordless and passphraseless ssh access is enabled using standard
  129. keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
  130. host is accessible, that credentials are correct (location and permissions if u
  131. sing a key), that the SFTP subsystem is available on the remote side, and that t
  132. here is sufficient random noise in /dev/random on both ends. To debug less commo
  133. n causes, see the original error in the trace or log, and/or enable 'net.schmizz
  134. ' (sshj) logging.
  135. at org.apache.brooklyn.location.ssh.SshMachineLocation.connectSsh(SshMac
  136. hineLocation.java:705) ~[org.apache.brooklyn-brooklyn-core-0.10.0.jar:0.10.0]
  137. Caused by: org.apache.brooklyn.util.core.internal.ssh.SshException: (nwe@127.0.0
  138. .1:22) failed to connect: (nwe@127.0.0.1:22) (nwe@127.0.0.1:22) error acquiring
  139. {hostAndPort=127.0.0.1:22, user=nwe, ssh=24050258, password=null, privateKeyFile
  140. =null, privateKey=null, connectTimeout=10000, sessionTimeout=30000} (attempt 1/1
  141. , in time 1.01s/2m); out of retries: Connection refused: connect
  142. at org.apache.brooklyn.util.core.internal.ssh.SshAbstractTool.propagate(
  143. SshAbstractTool.java:171) ~[org.apache.brooklyn-brooklyn-core-0.10.0.jar:0.10.0]
  144.  
  145. Caused by: org.apache.brooklyn.util.core.internal.ssh.SshException: (nwe@127.0.0
  146. .1:22) (nwe@127.0.0.1:22) error acquiring {hostAndPort=127.0.0.1:22, user=nwe, s
  147. sh=24050258, password=null, privateKeyFile=null, privateKey=null, connectTimeout
  148. =10000, sessionTimeout=30000} (attempt 1/1, in time 1.01s/2m); out of retries: C
  149. onnection refused: connect
  150. at org.apache.brooklyn.util.core.internal.ssh.SshAbstractTool.propagate(
  151. SshAbstractTool.java:171) ~[org.apache.brooklyn-brooklyn-core-0.10.0.jar:0.10.0]
  152.  
  153. Caused by: java.net.ConnectException: Connection refused: connect
  154. at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:
  155. 1.8.0_121]
Add Comment
Please, Sign In to add comment