Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running apache2/passenger2.0.3 (ubuntu 9.10 packages).

I can start up Webrick in the rails folder and run the app perfectly as I do on my development box with


Why then does apache/passenger fail to open the database, throwing a 500 and putting the following in the log?

Status: 500 Internal Server Error could not open database: unable to open database file /usr/lib/ruby/1.8/sqlite3/errors.rb:62:in `check'...

share|improve this question

I didn't set the RailsEnv to development in the apache conf, as this is how I intended to run it. There was no production database to open!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.