Ticket #151 (closed defect: invalid)
Wierd Database Error w/ FastCgi
| Reported by: | archengule | Owned by: | why |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | camping/fastcgi.rb | Version: | |
| Keywords: | Cc: |
Description
Okay, I'm trying to get camping running with FCGI on Lighttpd. Among other problems, I randomly get this when lighttpd restarts (and thus the dispatch.fcgi restarts)
SQLite3::CorruptException: database disk image is malformed: SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
Here is the database connection line in dispatch.fcgi:
Camping::Models::Base.establish_connection :adapter => 'sqlite3', :database => "/tmp/camping.db"
Nothing out of the ordinary... Deleting /tmp/camping.db fixes it until a couple reloads later. What is causing this?
Change History
Note: See
TracTickets for help on using
tickets.
