Locomotive 500 - Internal Server Error


#1

I’m getting this in my Lighttp.error.log file when trying to run typo
in Locomotive. What does this mean?

2005-12-19 16:56:57: (mod_fastcgi.c.1532) connect failed: 9
Connection refused 61 0 /tmp/ruby-fastcgi.A5364CB4-70E2-11DA-
AC3C-000A95BA28D0-5471-00000DCDBD6C54E6.socket-1
2005-12-19 16:57:01: (mod_fastcgi.c.2196) unexpected end-of-file
(perhaps the fastcgi process died): pid: 6361 fcgi-fd: 9 remote-fd: 8
2005-12-19 16:57:01: (mod_fastcgi.c.2958) child exited, pid: 6361
status: 1
2005-12-19 16:57:01: (mod_fastcgi.c.3005) response not sent, request
sent: 888 connection-fd: 8 fcgi-fd: 9

Thanks,
Doug


#2

Hi Doug,

Not sure this is the issue … but … try cleaning out all existing
session and socket files in /tmp

-r

On 12/19/05, Doug H. removed_email_address@domain.invalid wrote:

status: 1
2005-12-19 16:57:01: (mod_fastcgi.c.3005) response not sent, request
sent: 888 connection-fd: 8 fcgi-fd: 9

Thanks,
Doug


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Ryan R.
http://www.rockefeller.edu – Bacterial Pathogenesis and Immunology
http://www.worldmartial.com – Black Belt Instructor
http://locomotive.sourceforge.net – Self contained one-click Rails for
Mac OS X


#3

Hi,

Open a Terminal window and run “ruby script/console” and see if that
gives more meaningful output.

I had something similar recently. Couldn’t find any useful info in
any log file… The reason for me was that I changed the Locomotive
Rails Bundle and some gem was missing in the new bundle…

Timo

Am 20.12.2005 um 00:03 schrieb Doug H.:


#4

Hi:

I just had the same problem. The error message is most uninformative.
I had an error in my code (a missing ‘end’ tag) and that was the
cause. Once I fixed that, Locomotive ran perfectly.

bruce


#5

On 12/19/05, Timo H. removed_email_address@domain.invalid wrote:

Hi,

Open a Terminal window and run “ruby script/console” and see if that
gives more meaningful output.

Loading development environment.

articles = Article.find(:all)
=> []

Is this what I should expect? It recognizes the Article class, so I
assume
it loaded the development environment properly. Is this proof that it
was
able to access the database though?

I had something similar recently. Couldn’t find any useful info in

any log file… The reason for me was that I changed the Locomotive
Rails Bundle and some gem was missing in the new bundle…

I’m using the new Locomotive Rails 1.0 Max bundle. (Min is also
installed.)
I’m a newbie, so it must be something simple.

Here’s my database.yml:

login: &login
adapter: postgresql
host: localhost
username: postgres
password: @@@@@

development:
database: typo_dev
<<: *login

test:
database: typo_tests
<<: *login

production:
database: typo
<<: *login

Thanks,
Doug