Project

General

Profile

Problem accessing Redmine after installation

Added by Brahim Haddar about 12 years ago

Hello,

First of all I should tell I'm very new to Redmine and the stuff that is necessary to its installation.

I followed the instructions found on http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5 to install Redmine and I successfully tested it using webrick.

I then completed the installation steps in order to have Apache run redmine. But once the installation was complete, I tried to test it by typing http://redmine.<MY_DOMAIN>.com and I got (oh surprise!) the JBoss AS home page. I should say that JBoss AS is also installed on this server and serves for code testing and it is listening on port 8009 for requests forwarded by AJP.

When I comment out all Apache JK Connector directives in httpd.conf and restart apache, I get an error page about "no such file to load -- bundler" but this may be another story.

I googled for three days now and read many articles and forums but no one seems to have experienced such issue. I have to admit that I'm still trying to figure out why requests to port 80 in order to access redmine are forwarded to port 8009. When I shutdown JBoss, I get the usual "down or under maintenance" error page. Which proves that http requests to redmine are really forwarded to port 8009. It may be phusion passenger but I'm not sure (I'm really new to redmine and ruby and passenger stuff).

RAILS_ENV=production script/about
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.4.2
Rack version 1.1
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Edge Rails revision unknown
Application root /var/www/html/redmine
Environment production
Database adapter mysql
Database schema version 20110902000000

passenger.conf
LoadModule passenger_module modules/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11
PassengerRuby /usr/bin/ruby
PassengerTempDir /var/run/rubygem-passenger
</IfModule>

httpd.conf
<VirtualHost *:80>
ServerName redmine.<MY_DOMAIN>.com
ServerAdmin admin@<MY_DOMAIN>.com
DocumentRoot /var/www/html/redmine/public/
ErrorLog logs/redmine_error_log

#MaxRequestLen 2097151

<Directory "/var/www/html/redmine/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>

Can someone help please? If my request for help should be posted elsewhere, can you point me to the right direction?

Thank you very much in advance.