Error on logs for appname "Salammessenger"
root@vps457803:~# pm2 start /var/www/html/api/node_app/app.js -n "SalamMessenger" | |
[PM2] Applying action restartProcessId on app [SalamMessenger](ids: 1) | |
[PM2] [SalamMessenger](1) ✓ | |
[PM2] Process successfully started | |
┌────────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────┬───────────┬──────┬──────────┐ | |
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │ | |
├────────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────┼───────────┼──────┼──────────┤ | |
│ SalamMessenger │ 1 │ fork │ 15959 │ online │ 15 │ 0s │ 0% │ 3.5 MB │ root │ disabled │ | |
│ WhatsClone │ 0 │ fork │ 10499 │ online │ 0 │ 96m │ 0% │ 35.4 MB │ root │ disabled │ | |
└────────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────┴───────────┴──────┴──────────┘ | |
Use `pm2 show <id|name>` to get more details about an app | |
root@vps457803:~# pm2 logs | |
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) | |
/root/.pm2/pm2.log last 15 lines: | |
PM2 | [2018-07-08T06:55:37.852Z] PM2 log: App name:SalamMessenger id:1 online | |
PM2 | [2018-07-08T06:55:38.156Z] PM2 log: App [SalamMessenger] with id [1] and pid [16071], exited with code [1] via signal [SIGINT] | |
PM2 | [2018-07-08T06:55:38.159Z] PM2 log: Starting execution sequence in -fork mode- for app name:SalamMessenger id:1 | |
PM2 | [2018-07-08T06:55:38.164Z] PM2 log: App name:SalamMessenger id:1 online | |
PM2 | [2018-07-08T06:55:38.463Z] PM2 log: App [SalamMessenger] with id [1] and pid [16081], exited with code [1] via signal [SIGINT] | |
PM2 | [2018-07-08T06:55:38.465Z] PM2 log: Starting execution sequence in -fork mode- for app name:SalamMessenger id:1 | |
PM2 | [2018-07-08T06:55:38.469Z] PM2 log: App name:SalamMessenger id:1 online | |
PM2 | [2018-07-08T06:55:38.767Z] PM2 log: App [SalamMessenger] with id [1] and pid [16093], exited with code [1] via signal [SIGINT] | |
PM2 | [2018-07-08T06:55:38.769Z] PM2 log: Starting execution sequence in -fork mode- for app name:SalamMessenger id:1 | |
PM2 | [2018-07-08T06:55:38.774Z] PM2 log: App name:SalamMessenger id:1 online | |
PM2 | [2018-07-08T06:55:39.078Z] PM2 log: App [SalamMessenger] with id [1] and pid [16103], exited with code [1] via signal [SIGINT] | |
PM2 | [2018-07-08T06:55:39.079Z] PM2 log: Starting execution sequence in -fork mode- for app name:SalamMessenger id:1 | |
PM2 | [2018-07-08T06:55:39.082Z] PM2 log: App name:SalamMessenger id:1 online | |
PM2 | [2018-07-08T06:55:39.395Z] PM2 log: App [SalamMessenger] with id [1] and pid [16113], exited with code [1] via signal [SIGINT] | |
PM2 | [2018-07-08T06:55:39.395Z] PM2 log: Script /var/www/html/api/node_app/app.js had too many unstable restarts (16). Stopped. "errored" | |
/root/.pm2/logs/WhatsClone-error.log last 15 lines: | |
/root/.pm2/logs/WhatsClone-out.log last 15 lines: | |
0|WhatsClo | the user with id 2 connected 1 token 30c7cfcf8b4be16a616a00153f3a6e01socket.id weuDt-XmS7ToLSM8AAAj | |
0|WhatsClo | the user with id 2 is disconnect 1 | |
0|WhatsClo | the users list size disconnect 0 | |
0|WhatsClo | token valid authorized 7d3d3b6c2d3683bf25bbb51533ec6dab | |
0|WhatsClo | the user with id 2 connected 1 token 30c7cfcf8b4be16a616a00153f3a6e01socket.id -vzTTHCqb7Bw7ZSDAAAk | |
0|WhatsClo | the user with id 2 is disconnect 1 | |
0|WhatsClo | the users list size disconnect 0 | |
0|WhatsClo | token valid authorized 7d3d3b6c2d3683bf25bbb51533ec6dab | |
0|WhatsClo | the user with id 2 connected 1 token 30c7cfcf8b4be16a616a00153f3a6e01socket.id -rL5rSY85HdPWM_OAAAl | |
0|WhatsClo | the user with id 2 is disconnect 1 | |
0|WhatsClo | the users list size disconnect 0 | |
0|WhatsClo | token valid authorized 7d3d3b6c2d3683bf25bbb51533ec6dab | |
0|WhatsClo | token valid authorized 7d3d3b6c2d3683bf25bbb51533ec6dab | |
0|WhatsClo | token valid authorized 7d3d3b6c2d3683bf25bbb51533ec6dab | |
0|WhatsClo | token valid authorized 7d3d3b6c2d3683bf25bbb51533ec6dab | |
/root/.pm2/logs/SalamMessenger-out.log last 15 lines: | |
/root/.pm2/logs/SalamMessenger-error.log last 15 lines: | |
1|SalamMes | at Module._compile (module.js:577:32) | |
1|SalamMes | at Object.Module._extensions..js (module.js:586:10) | |
1|SalamMes | at Module.load (module.js:494:32) | |
1|SalamMes | at tryModuleLoad (module.js:453:12) | |
1|SalamMes | Error: listen EADDRINUSE :::9001 | |
1|SalamMes | at Object.exports._errnoException (util.js:1020:11) | |
1|SalamMes | at exports._exceptionWithHostPort (util.js:1043:20) | |
1|SalamMes | at Server._listen2 (net.js:1271:14) | |
1|SalamMes | at listen (net.js:1307:10) | |
1|SalamMes | at Server.listen (net.js:1403:5) | |
1|SalamMes | at Object.<anonymous> (/var/www/html/api/node_app/app.js:28:8) | |
1|SalamMes | at Module._compile (module.js:577:32) | |
1|SalamMes | at Object.Module._extensions..js (module.js:586:10) | |
1|SalamMes | at Module.load (module.js:494:32) | |
1|SalamMes | at tryModuleLoad (module.js:453:12) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment