New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forever list says "No forever processes running" #483
Comments
Interestingly I was able to get it working by adding the It seems there is a difference in running |
I am having the same problem. I can even see the process id under node -v v0.10.22 |
@chance-an Did you run |
I have the same issue with the root user's own I am calling a bash script which then runs the forever command using full paths: |
I ran as |
You should probably try to run the If it still does not work try to do a |
I can confirm, that you have to be extra curious for your HOME environment variable at the moment (during the script) you start forever. |
I've tried running |
I replied in #544, in summary: try to use the |
Same issue on a vagrant image: Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
+1 |
Same problem here, I start a daemon from a script generated with initdforever. |
As said early:
I would consider this isssue as solved. |
The same issue for me. Server is up, but
Contents of bootLog.txt: Hope to hear any suggestions. Thanks. |
Just a wild guess: You also have to use the |
In my case I had changed my $HOME variable for GIT. If this is the issue in your case, try
Hope this helps! |
This is probably related to #544. |
In the case this helps anybody, I was having the same problem when starting forever in an init script ... and paying careful attention to For my distro (openwrt), the root's My hackish/workaround was to temporarily set |
This is happening to me as well, even with the -p flag set correctly. I am using Vagrant and Puppet to exec I have to This post about using systemd to daemonize processes was useful for me: http://stackoverflow.com/a/28542093/1162865 |
👍 |
If using init.d scripts, pass in HOME:
|
Duplicate of #415. |
I'm starting a forever instance on server boot via root's crontab.
But although the script is running (I can hit the server via port 80) I can't get its logs or restart it or anything because forever doesn't recognize that it's running.
It works properly if I run it directly using
sudo forever...
(I can see the process withsudo forever list
) but when it runs from root's crontab on boot it gets lost somewhere.The text was updated successfully, but these errors were encountered: