Project

General

Profile

web page fails to show

Added by matt scott over 10 years ago

Hi

I have an interesting situation:

Just installed CentOS 6.5, Ruby (via rvm), Redmine, phpMyAdmin, etc.
When I visit a web test page (phpinfo()), it says "Application error. Rails application failed to start properly". But when I visit the same with https: infront, the page appears as normal.
Why can I not view with http:?
Apache serves phpMyAdmin fine... (not in doc.root) However I use Nginx 2 serve Redmine on port 8005.
I've tried 2 stop nginx service (and also at boot + reboot) and disabling other services, but no fix.
It seems that Redmine (via Rails) is stealing port 80!
I wanna serve Redmine on port 8005 - works fine with nginx; access local html pages both http & https.
Can some1 provide a fix or at least steps 2 troubleshoot this?

If this helps:

Environment:
Redmine version 2.5.1.stable.13103
Ruby version 2.1.0-p0 (2013-12-25) [x86_64-linux]
Rails version 3.2.17
Environment development
Database adapter Mysql2
SCM:
Subversion 1.6.11
Darcs 2.8.0
Mercurial 1.4
Bazaar 2.1.1
Git 1.9.0
Filesystem
Redmine plugins:
redmine_gitosis 0.0.5
redmine_knowledgebase 3.0.4


Replies (2)

RE: web page fails to show - Added by Jan Niggemann (redmine.org team member) about 10 years ago

Why do you use apache and nginx at the same time?

RE: web page fails to show - Added by Martin Denizet (redmine.org team member) about 10 years ago

Jan Niggemann (redmine.org team member) wrote:

Why do you use apache and nginx at the same time?

Agreed, you better choose one of them and use VirtualHosts to handle multiple services on top of the web server.

Cheers,

    (1-2/2)