strongloop / strong-pm

deployer for node applications
http://strong-pm.io
Other
1k stars 71 forks source link

strong-pm stop/waiting on CentOS 6.6 #267

Closed danielrvt closed 9 years ago

danielrvt commented 9 years ago

I'm deploying an API so I installed node and strong-pm in my server. I installed node using nvm, and then I installed strong-pm.

I added strong-pm to upstart like this:

$ sudo sl-pm-install --upstart=0.6 $ sudo /sbin/initctl start strong-pm

but the strong-pm service is always "stop/waiting" Why is this happening?

sam-github commented 9 years ago

nvm installs node for only the current user, but strong-pm runs as the strong-pm user.

nvm is a user-tool, it installs node in your personal ~/.nvm director, its not recommended to use it to install node for system services.

rmg commented 9 years ago

@crandmck here's another example of nvm causing problems. You've added a warning about it in the docs now, correct?

crandmck commented 9 years ago

Yes, there's a prominent warning here: https://docs.strongloop.com/display/SLC/Setting+up+a+production+host#Settingupaproductionhost-InstallusingnpmandrunPMservice

Let me know if you think it needs to be added elsewhere of if that is somehow not clear.

rmg commented 9 years ago

@crandmck thanks, looks pretty prominent to me.