S
S
Stanislav2016-12-16 01:16:23
Node.js
Stanislav, 2016-12-16 01:16:23

Broke PM2, why doesn't it write to the logs?

Tell me what could be the problem.
Installed PM2, created a config file, by default, only the paths and names were registered.
I started the projects and everything works, I looked at the pm2 logs all log and it also displays everything and streams the log.
Then I decided to add another project and forgot to cut it, pm2 started swearing at the busy port, in the errors I got 10-15 lines that the port was already busy.
Killed the project forever and rebooted pm2, after that it stopped streaming and writing to the log.
What could be the problem and how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2016-12-16
@ms-dred

$ ps aux | grep pm2
$ sudo kill $PID

And then try restarting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question