Restarted my server and started getting this error: Forever detected script exited with code: 8
Restarted my server and started getting this error: Forever detected script exited with code: 8
我调整了我的 Digital ocean droplet 的大小(永久)这需要我关闭我的 droplet 然后再打开。当我访问该网页时,我得到一个典型的 NGINX 页面,说我已成功安装 NGINX,无法再看到 Web 应用程序
我执行了 mup logs -f 以查看发生了什么,但我不断收到此错误。
我不确定出了什么问题,看起来我的 cron 作业出了点问题,但我不确定是什么。任何想法:
error: Forever detected script exited with code: 8
[xxx.xxx.xxx.xx] error: Script restart attempt #75[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] {"line":"63","file":"synced-cron-server.js","message":"SyncedCron: Scheduled \"Email Weekly Todos for Mentors\" next run @Mon Nov 30 2015 07:00:00 GMT-0500 (EST)","time":{"$date":1448741207434},"level":"info"}[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] {"line":"63","file":"synced-cron-server.js","message":"SyncedCron: Scheduled \"Weekly Push Notifications to students\" next run @Sun Nov 29 2015 10:00:00 GMT-0500 (EST)","time":{"$date":1448741207437},"level":"info"}[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] events.js:72[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] throw er; // Unhandled 'error' event
[xxx.xxx.xxx.xx] [xxx.xxx.xxx.xx] ^
Error: listen EADDRINUSE
at errnoException (net.js:905:11)
at Server._listen2 (net.js:1043:14)
at listen (net.js:1065:10)
at net.js:1147:9
at dns.js:72:18
at process._tickCallback (node.js:442:13)
error: Forever detected script exited with code: 8[xxx.xxx.xxx.xx]
任何想法都会有很大帮助
我通过将 sites-enabled 文件夹中的应用程序文件设置为侦听端口 3000 来解决问题。我认为它默认侦听 80 并且与 nginx 冲突
我调整了我的 Digital ocean droplet 的大小(永久)这需要我关闭我的 droplet 然后再打开。当我访问该网页时,我得到一个典型的 NGINX 页面,说我已成功安装 NGINX,无法再看到 Web 应用程序
我执行了 mup logs -f 以查看发生了什么,但我不断收到此错误。
我不确定出了什么问题,看起来我的 cron 作业出了点问题,但我不确定是什么。任何想法:
error: Forever detected script exited with code: 8
[xxx.xxx.xxx.xx] error: Script restart attempt #75[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] {"line":"63","file":"synced-cron-server.js","message":"SyncedCron: Scheduled \"Email Weekly Todos for Mentors\" next run @Mon Nov 30 2015 07:00:00 GMT-0500 (EST)","time":{"$date":1448741207434},"level":"info"}[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] {"line":"63","file":"synced-cron-server.js","message":"SyncedCron: Scheduled \"Weekly Push Notifications to students\" next run @Sun Nov 29 2015 10:00:00 GMT-0500 (EST)","time":{"$date":1448741207437},"level":"info"}[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] events.js:72[xxx.xxx.xxx.xx]
[xxx.xxx.xxx.xx] throw er; // Unhandled 'error' event
[xxx.xxx.xxx.xx] [xxx.xxx.xxx.xx] ^
Error: listen EADDRINUSE
at errnoException (net.js:905:11)
at Server._listen2 (net.js:1043:14)
at listen (net.js:1065:10)
at net.js:1147:9
at dns.js:72:18
at process._tickCallback (node.js:442:13)
error: Forever detected script exited with code: 8[xxx.xxx.xxx.xx]
任何想法都会有很大帮助
我通过将 sites-enabled 文件夹中的应用程序文件设置为侦听端口 3000 来解决问题。我认为它默认侦听 80 并且与 nginx 冲突