Skip to content
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 unable to stop process on raspberry pi. #625

Closed
sanket-mindstix opened this issue Oct 30, 2014 · 6 comments
Closed

Forever unable to stop process on raspberry pi. #625

sanket-mindstix opened this issue Oct 30, 2014 · 6 comments

Comments

@sanket-mindstix
Copy link

I am starting node.js code as daemon using forever but unable to stop it by its name.
E.g sudo service service-name stop
above line is giving error message as forever unable to find process with index 'main.js'. Same code is working on my laptop on Ubuntu environment.

@marcoamorales
Copy link

@sanket-mindstix can you please tell us which version of forever are you running on your laptop and on your raspberry pi?

@sanket-mindstix
Copy link
Author

@marcoamorales forever version no - v0.11.1
And also I have store node binary at /opt/node/ and if I fire command /opt/node/bin/forever then giving error message as "/usr/bin/env: node: No such file or directory"
I installed forever model globally.

@indexzero
Copy link
Member

@sanket-mindstix can you please include the exact forever commands you're running?

@sanket-mindstix
Copy link
Author

@indexzero "exec forever start main.js" from /etc/init.d/FileName.sh

@indexzero
Copy link
Member

This is likely a duplicate of #544. Check which user the two service commands are running as.

@indexzero
Copy link
Member

Closing due to age.

@foreversd foreversd locked and limited conversation to collaborators May 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants