Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8370183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:51:11+00:00 2026-06-09T13:51:11+00:00

Ok, I got my CentOS6 VPS and Lighttpd work like a charm. I installed

  • 0

Ok, I got my CentOS6 VPS and Lighttpd work like a charm. I installed Redmine, got it working on Webrick. When I killed Webrick and tried to host Redmine on Lighttpd using fastcgi the only message I got was a 500. My PHP applications work fine.

Every time I try to access my redmine I get these two messages on my log files:

(mod_fastcgi.c.2543) unexpected end-of-file (perhaps the fastcgi process died): pid: 8490 socket: unix:/tmp/redmine.socket-0

(mod_fastcgi.c.3329) response not received, request sent: 597 on socket: unix:/tmp/redmine.socket-0 for /dispatch.fcgi?, closing connection

/tmp/ is writable, lighttpd user owns all redmine files and my lighttpd.conf file is as follows:

 $HTTP["host"] =~ "redmine.domain.com" {
        server.document-root = "/path/to/redmine/public"
        server.errorlog = "/path/to/redmine/log/lighttpd.log"
                accesslog.filename = "/path/to/redmine/log/access.log"
        magnet.attract-physical-path-to = ( "/path/to/redmine/tmp/cleanurl.lua" )
        fastcgi.server    = ( "dispatch.fcgi" =>
                ((
                        "socket" => "/tmp/lighttpd/redmine.socket",
                        "bin-path" => "/usr/bin/ruby /path/to/redmine/public/dispatch.fcgi",
                        "max-procs" => 1,
                        "idle-timeout" => 20,
                        "kill-signal" => 9,
                        "bin-environment" => (
                               "RAILS_ENV" => "production",
                                "TARGET" => "/path/to/redmine/public/dispatch.fcgi"
                        )
                ))
        )
}

Lighttpd restart fine, no errors there.

Of course, /path/to/redmine points to my actual redmine folder.

Software versions:

CentOS 6 x64
Lighttpd 1.4.31
Ruby 1.8.7
Rails 3.2.6

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:51:12+00:00Added an answer on June 9, 2026 at 1:51 pm

    Got it working afterall. I just needed to add two requires to my dispatch.fcgi file, like below:

    require ‘rubygems’
    require ‘fcgi’

    Tip: They have to go to the top of the file, right before the other requires there.

    /topic closed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am running a vps with apache. just installed nginx. got the address already
I got 1 emulator error from the latest Andriod SDK(on both Ubuntu11.10 and CentOS6.2):
I've got my GlassFish 3.1.2 web server working fine with Java SE 1.6 for
I've got a LAMP dev server at something like dev.example.com. Eventually this will be
I have got mongo db using only one collection and consuming average cpu usage
I've got a situation where I'm contemplating using subversion/svn as the repository/version control system
I have got Mac on work, Ubuntu on my notebook, CentOS on my server,
A strange one to be honest. I have got this working completely fine on
For the problem below, I got the query working. But when I am running
Got this error when parsing my html page using XPATH.. i am also using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.