Project

General

Profile

dispatch.fcgi with passenger and redmine 0.8Rails application failed to start properly

Added by frank guthorel almost 15 years ago

Hello,

I upgraded from 0.7 to 0.8 - currently at rev. 2777, checked out from branches today.

I fired up webbrick - everything runs mighty fast and nice, no problem there. I can access my migrated DB, and access all the content - perfect.

When trying to access redmine over apache, after upgrading gems passenger, rails, etc. - I get an error indicating that Rails application failed to start properly, with the following tail message from apache error log:

[Sun May 31 17:39:02 2009] [warn] FastCGI: (dynamic) server "/srv/redmine/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Sun May 31 17:39:11 2009] [error] [client 10.20.1.106] FastCGI: comm with (dynamic) server "/srv/redmine/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
[Sun May 31 17:39:11 2009] [error] [client 10.20.1.106] FastCGI: incomplete headers (0 bytes) received from server "/srv/redmine/dispatch.fcgi" 
[Sun May 31 17:39:11 2009] [warn] FastCGI: (dynamic) server "/srv/redmine/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

The statement saying that the restart interval is backed off to 600 seconds occurs much more, around ten times for each page hit that Redmine is getting (deleted them from the tail message for readability).

I've been scanning the fora here, and online for general support, but from what I can see - all is setup as defined in various posts and tutorials I found.

Fcgi mod is running in Apache through mods-enabled, and issuing the command line dispatch.fcgi does not really turn up an error:

Content-Type: text/html; charset=utf-8
Set-Cookie: _session_id=314dd241d8c152f17d99f614e73f7b59; path=/
Status: 302 Found
Location: http://:/login?back_url=http%3A%2F%2F%3A%2F
X-Runtime: 0.02649
Content-Length: 109
Cache-Control: no-cache

<html><body>You are being <a href="http://:/login?back_url=http%3A%2F%2F%3A%2F">redirected</a>.</body></html>

Gems seem to be installed properly:

actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.0.2)
actionpack (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.0.2)
activerecord (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.0.2)
activeresource (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.0.2)
activesupport (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.0.2)
coderay (0.8.312, 0.8.273)
fastthread (1.0.7, 1.0.1)
passenger (2.2.2, 2.0.6, 2.0.3)
rack (1.0.0, 0.9.1, 0.4.0)
rails (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.0.2)
rake (0.8.7, 0.8.3, 0.8.2)

I'm on a Debian machine, and have full access over the machine if necessary.

Apache is running smoothly for other requests - so it seems the fcgi in combo with redmine is acting up, somehow.

Any help is much appreciated in this.

Thanks already,
Frank


Replies (2)

RE: dispatch.fcgi with passenger and redmine 0.8Rails application failed to start properly - Added by frank guthorel almost 15 years ago

Hello,

apoligies for replying to my own thread - but the problem has been resolved by actually compiling the Passenger for the new setup.
Come to think of it - it's pretty straight-forward this needed to be done, but it took a colleague to point it out.

I thought - mistakenly - that since I was upgrading only redmine, passenger would just needed to be updated along, and not recompiled and reinstalled.

The how-to can be found here:
http://www.modrails.com/install.html

Hope this helps, if you're having the same trouble I had.

Greetings,
Frank

Spam removed - Added by immimeAstomia immimeAstomia over 14 years ago

Spam removed by Mischa The Evil.

    (1-2/2)