[phusion-passenger] Several Issues

3 views
Skip to first unread message

badnaam

unread,
Apr 23, 2010, 5:55:04 PM4/23/10
to Phusion Passenger Discussions
OK, I was very excited to try passenger, but I don't know why I have
been running into constant problems.

I installed passenger with the nginx module and I am essentially
trying to run my rails app on port 80 and phpmyadmin on 8888.

I first configured phpmyadmin and it runs just fine on 8888 with
nginx.

Then i tried configuring my rails app at port 80 and even after
multiple reload and restart of nginx, the rails app never load, I just
see a "it works...etc" page.

Interstingly enough, as soon as I changed the nginx.conf file to
include my rails app, phpmyadmin which was running fine on 8888 broke
and just wont load.

I am sure this has been done before, and i have no idea why this isn't
working in my case.

Here is my conf file.

http://pastie.org/932277

No relevant errors in the error log or phpmyadmin error log, the error
log for the rails app doesn't
even get created.

Help much appreciated.

--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To post to this group, send email to phusion-...@googlegroups.com.
To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.

Hongli Lai

unread,
Apr 23, 2010, 6:08:07 PM4/23/10
to phusion-...@googlegroups.com
On Fri, Apr 23, 2010 at 11:55 PM, badnaam <asitk...@gmail.com> wrote:
> OK, I was very excited to try passenger, but I don't know why I have
> been running into constant problems.
>
> I installed passenger with the nginx module and I am essentially
> trying to run my rails app on port 80 and phpmyadmin on 8888.
>
> I first configured phpmyadmin and it runs just fine on 8888 with
> nginx.
>
> Then i tried configuring my rails app at port 80 and even after
> multiple reload and restart of nginx, the rails app never load, I just
> see a "it works...etc" page.
>
> Interstingly enough, as soon as I changed the nginx.conf file to
> include my rails app, phpmyadmin which was running fine on 8888 broke
> and just wont load.
>
> I am sure this has been done before, and i have no idea why this isn't
> working in my case.
>
> Here is my conf file.
>
> http://pastie.org/932277
>
> No relevant errors in the error log or phpmyadmin error log, the error
> log for the rails app doesn't
> even get created.
>
> Help much appreciated.

Maybe the server_name has got something to do with it? Try changing
one of them to something other than 'localhost'.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

badnaam

unread,
Apr 23, 2010, 9:29:46 PM4/23/10
to Phusion Passenger Discussions
I added an entry for 127.0.0.1 as mydomain.com

and changed the server_name to mydomain.com

I get a 404 error, nothing else has been changed in the server
directive


On Apr 23, 3:08 pm, Hongli Lai <hon...@phusion.nl> wrote:
> E-mail: i...@phusion.nl

badnaam

unread,
Apr 23, 2010, 9:31:21 PM4/23/10
to Phusion Passenger Discussions
and I see this error in the myapp.error.log file

http://pastie.org/932483

Hongli Lai

unread,
Apr 24, 2010, 4:05:18 AM4/24/10
to phusion-...@googlegroups.com
On Sat, Apr 24, 2010 at 3:31 AM, badnaam <asitk...@gmail.com> wrote:
> and I see this error in the myapp.error.log file
>
> http://pastie.org/932483

Do you see any errors in the global Nginx error log?


--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Reply all
Reply to author
Forward
0 new messages