Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
146
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pi@raspberrypi:~ $ pm2 start httpsrv.js
  2. ^[[A^[[A[PM2] Applying action restartProcessId on app [httpsrv](ids: 1)
  3. [PM2] [httpsrv](1) ✓
  4. [PM2] Process successfully started
  5. ┌────────────┬──────┬────────┬────┬─────┬───────────┐
  6. │ Name │ mode │ status │ ↺ │ cpu │ memory │
  7. ├────────────┼──────┼────────┼────┼─────┼───────────┤
  8. │ homebridge │ fork │ online │ 0 │ 0% │ 38.8 MB │
  9. │ httpsrv │ fork │ online │ 30 │ 66% │ 11.6 MB │
  10. └────────────┴──────┴────────┴────┴─────┴───────────┘
  11. Use `pm2 show <id|name>` to get more details about an app
  12. pi@raspberrypi:~ $ pm2 logs httpsrv
  13. [TAILING] Tailing last 10 lines for [httpsrv] process (change the value with --lines option)
  14. /home/pi/.pm2/logs/httpsrv-out-1.log last 10 lines:
  15. /home/pi/.pm2/logs/httpsrv-error-1.log last 10 lines:
  16. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  17. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  18. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  19. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  20. 1|httpsrv | at listen (net.js:1297:10)
  21. 1|httpsrv | at Server.listen (net.js:1375:9)
  22. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  23. 1|httpsrv | at Module._compile (module.js:571:32)
  24. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  25. 1|httpsrv | at Module.load (module.js:488:32)
  26.  
  27. [STREAMING] Now streaming realtime logs for [httpsrv] process
  28. 1|httpsrv | Error: listen EADDRINUSE :::8080
  29. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  30. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  31. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  32. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  33. 1|httpsrv | at listen (net.js:1297:10)
  34. 1|httpsrv | at Server.listen (net.js:1375:9)
  35. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  36. 1|httpsrv | at Module._compile (module.js:571:32)
  37. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  38. 1|httpsrv | at Module.load (module.js:488:32)
  39. 1|httpsrv | Error: listen EADDRINUSE :::8080
  40. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  41. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  42. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  43. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  44. 1|httpsrv | at listen (net.js:1297:10)
  45. 1|httpsrv | at Server.listen (net.js:1375:9)
  46. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  47. 1|httpsrv | at Module._compile (module.js:571:32)
  48. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  49. 1|httpsrv | at Module.load (module.js:488:32)
  50. 1|httpsrv | Error: listen EADDRINUSE :::8080
  51. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  52. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  53. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  54. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  55. 1|httpsrv | at listen (net.js:1297:10)
  56. 1|httpsrv | at Server.listen (net.js:1375:9)
  57. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  58. 1|httpsrv | at Module._compile (module.js:571:32)
  59. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  60. 1|httpsrv | at Module.load (module.js:488:32)
  61. 1|httpsrv | Error: listen EADDRINUSE :::8080
  62. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  63. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  64. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  65. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  66. 1|httpsrv | at listen (net.js:1297:10)
  67. 1|httpsrv | at Server.listen (net.js:1375:9)
  68. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  69. 1|httpsrv | at Module._compile (module.js:571:32)
  70. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  71. 1|httpsrv | at Module.load (module.js:488:32)
  72. 1|httpsrv | Error: listen EADDRINUSE :::8080
  73. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  74. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  75. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  76. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  77. 1|httpsrv | at listen (net.js:1297:10)
  78. 1|httpsrv | at Server.listen (net.js:1375:9)
  79. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  80. 1|httpsrv | at Module._compile (module.js:571:32)
  81. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  82. 1|httpsrv | at Module.load (module.js:488:32)
  83. 1|httpsrv | Error: listen EADDRINUSE :::8080
  84. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  85. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  86. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  87. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  88. 1|httpsrv | at listen (net.js:1297:10)
  89. 1|httpsrv | at Server.listen (net.js:1375:9)
  90. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  91. 1|httpsrv | at Module._compile (module.js:571:32)
  92. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  93. 1|httpsrv | at Module.load (module.js:488:32)
  94. 1|httpsrv | Error: listen EADDRINUSE :::8080
  95. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  96. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  97. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  98. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  99. 1|httpsrv | at listen (net.js:1297:10)
  100. 1|httpsrv | at Server.listen (net.js:1375:9)
  101. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  102. 1|httpsrv | at Module._compile (module.js:571:32)
  103. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  104. 1|httpsrv | at Module.load (module.js:488:32)
  105. 1|httpsrv | Error: listen EADDRINUSE :::8080
  106. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  107. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  108. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  109. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  110. 1|httpsrv | at listen (net.js:1297:10)
  111. 1|httpsrv | at Server.listen (net.js:1375:9)
  112. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  113. 1|httpsrv | at Module._compile (module.js:571:32)
  114. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  115. 1|httpsrv | at Module.load (module.js:488:32)
  116. 1|httpsrv | Error: listen EADDRINUSE :::8080
  117. 1|httpsrv | at Object.exports._errnoException (util.js:1023:11)
  118. 1|httpsrv | at exports._exceptionWithHostPort (util.js:1046:20)
  119. 1|httpsrv | at Server._listen2 (net.js:1261:14)
  120. 1|httpsrv | at Server._listen2 (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:51:23)
  121. 1|httpsrv | at listen (net.js:1297:10)
  122. 1|httpsrv | at Server.listen (net.js:1375:9)
  123. 1|httpsrv | at Object.<anonymous> (/home/pi/httpsrv.js:24:8)
  124. 1|httpsrv | at Module._compile (module.js:571:32)
  125. 1|httpsrv | at Object.Module._extensions..js (module.js:580:10)
  126. 1|httpsrv | at Module.load (module.js:488:32)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement