Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

"forever list" says "No forever process running" but it is running an app

"forever list" says "No forever process running" but it is running an app

Problem

I have started an app with

forever start app.js

After that I typed,

forever list

and it shows that

The "sys" module is now called "util". It should have a similar interface.
info:   No forever processes running

But I checked my processes with

ps aux | grep node

and it shows that

root      1184  0.1  1.5 642916  9672 ?        Ss   05:37   0:00 node     
/usr/local/bin/forever start app.js
root      1185  0.1  2.1 641408 13200 ?        Sl   05:37   0:00 node 
/var/www/app.js
ubuntu    1217  0.0  0.1   7928  1060 pts/0    S+   05:41   0:00 grep --color=auto node

I cannot control over the process, since I cannot list the process in "forever list"

How can I let "Forever" knowing its Running processes and let having control over its running processes.

Problem courtesy of: InspiredJW

Solution

i had the same problem today.

in my case: i'm using NVM and forgot that it doesn't set/modify the global Node path, so i had to set it manually

export NODE_PATH="/root/.nvm/v0.6.0/bin/node"
Solution courtesy of: jyoungblood

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

"forever list" says "No forever process running" but it is running an app

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×