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? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 2010/7/16 Pål Bergström <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> 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? > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
David Kahn wrote:> Not sure if this will help as I am running nginx in Ubuntu, but it tookI run it on my mac but I plan to install it on a VPS with Debian 5 so it''s good to know. Did you install it using Passenger or apt? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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. 2010/7/16 Pål Bergström <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> David Kahn wrote: > > Not sure if this will help as I am running nginx in Ubuntu, but it took > > I run it on my mac but I plan to install it on a VPS with Debian 5 so > it''s good to know. Did you install it using Passenger or apt? > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello together, in CentOs i have to send a "kill -9 2134". The last number is nginx''s process id. Maybe that helps someone. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.