help w/ redmine + apache

Added by Richard Langly almost 11 years ago

I'm trying to get Redmine running on Gentoo w/ apache 2.2.14-r1. I've changed the file /etc/apache2/vhost.d/00_default_vhost.conf to the following to the best I can match up w/ the instructions.

<IfDefine DEFAULT_VHOST>
<VirtualHost 192.168.1.11:80>
    ServerName 192.168.1.11
    # localhost
    Include /etc/apache2/vhosts.d/default_vhost.include
    DocumentRoot /home/winky/Tools/redmine-0.8
    ErrorLog logs/redmine_error_log

    <IfModule mpm_peruser_module>
        ServerEnvironment apache apache
    </IfModule>

    <Directory "/home/winky/Tools/redmine-0.8">
        Options Indexes ExecCGI FollowSymLinks
        Order allow,deny
        Allow from all
        AllowOverride all
    </Directory>
</VirtualHost>
</IfDefine>

When I try to start apache, I get the following errors and I can't browse to localhost:3000.

$ sudo /etc/init.d/apache2 start
 * Starting apache2 ...
apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.11 for ServerName
[Mon Dec 21 20:03:41 2009] [warn] NameVirtualHost *:80 has no VirtualHos  [ ok ]

$ sudo /etc/init.d/apache2 status
 * status:  started

$ sudo /etc/init.d/apache2 stop  
 * Stopping apache2 ...
apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.11 for ServerName
[Mon Dec 21 20:06:15 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
httpd (no pid file) not running      

My environment.

$ RAILS_ENV=production script/about
About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.5
Rails version             2.1.2
Active Record version     2.1.2
Action Pack version       2.1.2
Active Resource version   2.1.2
Action Mailer version     2.1.2
Active Support version    2.1.2
Application root          /home/winky/Tools/redmine-0.8
Environment               production
Database adapter          mysql
Database schema version   101