I get the feeling that, upon installing Passenger, you ended up with
multiple Nginx installations on your system. And that you were
expecting to start a specific Nginx installation, but actually started
the other (which uses a whole different configuration file) and got
confused. Can you check whether that is the case? This wiki page has
more information:
https://github.com/phusion/passenger/wiki/Why-can't-Phusion-Passenger-extend-my-existing-Nginx%3F
On Tue, May 26, 2015 at 1:01 AM, Birimblongas <
bianca....@gmail.com> wrote:
> Hi, i don't know if you can, by any chance, help me.
> But i'm trying to config my app from unicorn + nginx to passenger 5.0
> (raptor) + nginx.
>
> I've changed my .conf files from nginx to have the lines below but, i'm
> still getting error and the passenger wont start and wont start my app.
> (nginx start tho)
>
> passenger_enabled on;
> passenger_root [my path]/.rvm/gems/ruby-2.1.0/gems/passenger-5.0.8;
> passenger_ruby [my path]/.rvm/gems/ruby-2.1.0/wrappers/ruby;
>
> which passenger_root and passenger_ruby paths are the one indicated after
> installing nginx with passenger command.
>
> my server doesn't recognizes passenger_ruby command and every time i try to
> access my app, i get the error: [error] ... connect() to unix:/tmp/.app.sock
> failed (111: Connection refused) while connecting to upstream,
>
> My .conf files from nginx are basically following the default + some
> necessary info from my app.
>
> If i force to initiate my app with rails s, for example, i get the error of
> already using the port i mention on .conf file. So i'm supossing that the
> server is started at the location and port. But it's not finding my app.
> With unicorn it was working normally, so it's not a problem in the nginx
> conf about the app. I beleave that it's something about passenger that's
> missing, but don't know what.
>
>
> Can you help me at all?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
phusion-passen...@googlegroups.com.
> To post to this group, send email to
phusion-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/phusion-passenger/8aa2b611-d557-4eb5-a679-2d45457d7e95%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Phusion | Web Application deployment, scaling, and monitoring solutions
Web:
http://www.phusion.nl/
E-mail:
in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)