11155
(-- --)
1
I'm trying to get rails running with Nginx. I have Nginx installed using
Macports and I can get it running. But I can't stop it. This will not
work:
alias nginx-stop="sudo launchctl unload
/Library/LaunchDaemons/org.macports.nginx.plist"
I get "launchctl: Error unloading: nginx".
Using "killall nginx" didn't stop it either, before. Now it suddenly
does. Is this a good way to stop it?
DK11
(DK)
2
Not sure if this will help as I am running nginx in Ubuntu, but it took me a bit to find this. These are the commands that work for me:
Stop nginx: sudo /opt/nginx/sbin/nginx -s stop
Start nginx: sudo /opt/nginx/sbin/nginx
DK11
(DK)
3
Ok, first, yes, I am using Passenger/Nginx combination. Maybe this will help —
If you are not planning on using SSL with it then you can
gem install passenger
passenger-install-nginx-module
And this worked great until I tried to get ssl up. As I found out the hard way, if you want ssl you have to compile it from source.
11155
(-- --)
4
Hello together,
in CentOs i have to send a "kill -9 2134". The last number is nginx's
process id.
Maybe that helps someone.
11155
(-- --)
5
Dan Lenz wrote:
Hello together,
in CentOs i have to send a "kill -9 2134". The last number is nginx's
process id.
Maybe that helps someone.
also tried in a ubuntu vm a second ago. also works this way here... so
it should also work in debian.