# Locomotive 500 - Internal Server Error

**URL:** <https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687>\
**Category:** Rails\
**Created:** [December 20, 2005, 12:04am UTC](https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687 "2005-12-20T00:04:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [December 20, 2005, 12:04am UTC](https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687/1 "2005-12-20T00:04:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [December 20, 2005, 12:16am UTC](https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687/2 "2005-12-20T00:16:56Z")

</div>

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](mailto: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](http://lists.rubyonrails.org/mailman/listinfo/rails)

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

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [December 20, 2005, 12:53am UTC](https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687/3 "2005-12-20T00:53:01Z")

</div>

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.:

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [December 20, 2005, 10:21pm UTC](https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687/4 "2005-12-20T22:21:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [December 20, 2005, 9:24pm UTC](https://www.ruby-forum.com/t/locomotive-500-internal-server-error/50687/5 "2005-12-20T21:24:11Z")

</div>

On 12/19/05, Timo H. [removed\_email\_address@domain.invalid](mailto: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
