Hi,
my tip is, don't use cgi/fcgi with redmine. I spend hours to figure
out and in the end it just don't work*
Just use pessenger mod for apache. Follow the guide** in the section
Ubuntu Server. All you need is:
aptitude install libapache2-mod-passenger
RailsEnv production
RailsBaseURI /redmine
* http://www.redmine.org/issues/4610
**
http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Apache_to_run_Redmine
On Friday, October 07, 2011 10:52:33 PM Ashley Maher wrote:
> Hopefully somebody in here has some hints on this.
>
> Google has just got me going in circles.
>
> apt-get install redmine
>
> then copied the example file to use fcgid
>
> restarted apache then I get this error in the logs:
>
> [Fri Oct 07 16:48:38 2011] [notice] Apache/2.2.17 (Ubuntu)
> mod_fcgid/2.3.6 configured -- resuming normal operations
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- fcgi (MissingSourceFile)
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /usr/lib/ruby/1.8/active_support/dependencies.rb:158:in `require'
> from /usr/share/redmine/vendor/rails/railties/lib/fcgi_handler.rb:1
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /usr/lib/ruby/1.8/active_support/dependencies.rb:158:in `require'
> from /usr/share/redmine/public/dispatch.fcgi:22
> [Fri Oct 07 16:49:03 2011] [warn] [client 61.9.197.223] (104)Connection
> reset by peer: mod_fcgid: error reading data from FastCGI server
> [Fri Oct 07 16:49:03 2011] [error] [client 61.9.197.223] Premature end
> of script headers: dispatch.fcgi
>
> >From what I can see all the source files are there??
>
> Any ideas or help appreciated.
>
> Regards,
>
> Ashley
--
Erwin Mueller
http://www.anr-institute.com/
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html