unable to run redmine with fcgi
Added by Pieter Van der Meersch over 11 years ago
Hi
I've been trying to get redmine running for a couple of days now, but after getting passed quite some errors, I'm stuck at this one.
After following http://www.redmine.org/projects/redmine/wiki/RedmineInstall I eventually managed to get redmine working when using 'ruby script/rails server webrick -e production'.
I then continued with trying to follow the instructions here : http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Apache_to_run_Redmine
and went trough them without all to many issues, but when I go to the url which is supposed to be running redmine: 'http://redmine.fs.local/dispatch.fcgi' I get a error 500 page.
the apache errorlog says the following:
[Thu Aug 08 21:31:42 2013] [warn] FastCGI: (dynamic) server "/var/www/html/redmine-2.3.2/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Aug 08 21:31:42 2013] [warn] FastCGI: (dynamic) server "/var/www/html/redmine-2.3.2/public/dispatch.fcgi" restarted (pid 3601)
FastCGI: can't start server "/var/www/html/redmine-2.3.2/public/dispatch.fcgi" (pid 3601), execle() failed: Permission denied
[Thu Aug 08 21:31:42 2013] [warn] FastCGI: (dynamic) server "/var/www/html/redmine-2.3.2/public/dispatch.fcgi" (pid 3601) terminated by calling exit with status '255'
[Thu Aug 08 21:31:42 2013] [warn] FastCGI: (dynamic) server "/var/www/html/redmine-2.3.2/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
I've already tried giving the whole /var/www/html folder 777 permissions and changed the ownership to use 'apache'
I am using fedora 17
the output of script/about is:
Your FCGI gem does not contain the FCGI shared library, running pure ruby instead
Environment:
Redmine version 2.3.2.stable
Ruby version 1.9.3-p448 (2013-06-27) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed
thanks in advance for helping me
Replies (3)
RE: unable to run redmine with fcgi - Added by Jan Niggemann (redmine.org team member) over 11 years ago
How about using thin or passenger? Perhaps this guide can help.
RE: unable to run redmine with fcgi - Added by Pieter Van der Meersch over 11 years ago
I can try that, but I still wonder what the issue may be though
Could you please tell me what the difference is between passenger and fcgi, and if there is a reason, that you know, why it is not mentioned in the redmine with apache how-to?
thanks for the help already :)
RE: unable to run redmine with fcgi - Added by Pieter Van der Meersch over 11 years ago
thank you, I managed to get it working with passenger